mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-03 18:15:06 +01:00
2543c555a4
* Added MEM2 support by Hibern * Better partition support (by oggzee) * Support for subdirectories in FAT32 (by oggzee) * Added support for cios 223 and 250 * Added BCA support (go to Settings->Custom Paths) to change the path of the BCA files (by Hermes) * Fixed issue with hairless mode * Fixed issue with IOS_ReloadIOSsafe (by giantpune) * Added setting to save games in a subdirectory * Fixed slow startup when loading from FAT (WiiTDB required!) * Changed handling of new titles a bit (speed improvement) Known issue: * FAT rename and re-id broken again due to subdirectory support (yes, I'm lazy)
27 lines
534 B
C
27 lines
534 B
C
// 2 MEM2 allocators, one for general purpose, one for covers
|
|
// Aligned and padded to 32 bytes, as required by many functions
|
|
|
|
#ifndef __MEM2_HPP
|
|
#define __MEM2_HPP
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void *MEM2_alloc(unsigned int s);
|
|
void *MEM2_realloc(void *p, unsigned int s);
|
|
void MEM2_free(void *p);
|
|
unsigned int MEM2_usableSize(void *p);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
|
|
void MEM2_init(unsigned int mem2Size);
|
|
void MEM2_cleanup(void);
|
|
void MEM2_takeBigOnes(bool b);
|
|
|
|
#endif
|
|
|
|
#endif // !defined(__MEM2_HPP)
|