mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-08 12:35:08 +01:00
052c6d4591
*update of ehcmodules for Hermes IOS supporting now more drives (thanks rodries again) *added ignore case sensitivity on NTFS (hopefully it works as good as it sounds) *fixed homebrew receiving in homebrew launcher via network *changed video switching code to the one from Wiiflow *allow ',' as floating point '.' *Fix of reloading titles after wiitdb update *reset all other button clicks on carousel when two or more buttons are clicked at once *a few code optimizations *fixed compile bug on OSX (Issue 1844 and Issue 1132) *language files updated
9 lines
198 B
C
9 lines
198 B
C
#ifndef TOOLS_H_
|
|
#define TOOLS_H_
|
|
|
|
#define LIMIT(x, min, max) ( ((x) < (min)) ? (min) : ((x) > (max)) ? (max) : (x) )
|
|
#define ALIGN(x) (((x) + 3) & ~3)
|
|
#define ALIGN32(x) (((x) + 31) & ~31)
|
|
|
|
#endif
|