|
N64FlashcartMenu
|
Utility macros and functions. More...
Go to the source code of this file.
Macros | |
| #define | ALIGN(x, a) |
| Aligns a value to the specified alignment. | |
| #define | MAX(a, b) |
| Returns the maximum of two values. | |
| #define | MIN(a, b) |
| Returns the minimum of two values. | |
| #define | KiB(x) |
| Converts a value to kibibytes. | |
| #define | MiB(x) |
| Converts a value to mebibytes. | |
Utility macros and functions.
| #define ALIGN | ( | x, | |
| a ) |
Aligns a value to the specified alignment.
This macro aligns the given value x to the specified alignment a.
| x | The value to align. |
| a | The alignment boundary. |
| #define MAX | ( | a, | |
| b ) |
Returns the maximum of two values.
This macro returns the maximum of the two provided values a and b.
| a | The first value. |
| b | The second value. |
a and b. | #define MIN | ( | a, | |
| b ) |
Returns the minimum of two values.
This macro returns the minimum of the two provided values a and b.
| a | The first value. |
| b | The second value. |
a and b. | #define KiB | ( | x | ) |
Converts a value to kibibytes.
This macro converts the given value x to kibibytes.
| x | The value to convert. |
| #define MiB | ( | x | ) |
Converts a value to mebibytes.
This macro converts the given value x to mebibytes.
| x | The value to convert. |