mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 10:21:55 +01:00
0a703894e7
*removed source for wad installation to real nand completely *apply of title rename to cached titles *add listing of 00010004 titles on real nand *add rename of internal used id of all HBC versions to JODI for GameTDB to find it *converted all ogg sounds from 44.1 khz to 48 khz *some source cleanup/movement
24 lines
322 B
C
24 lines
322 B
C
#ifndef _UTILS_H_
|
|
#define _UTILS_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
/* Constants */
|
|
#define KB_SIZE 1024.0
|
|
#define MB_SIZE 1048576.0
|
|
#define GB_SIZE 1073741824.0
|
|
|
|
/* Macros */
|
|
#define round_up(x,n) (-(-(x) & -(n)))
|
|
|
|
/* Prototypes */
|
|
unsigned int swap32(unsigned int);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|