mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
3bc03871fe
-set wiiflow version to beta 4.2.2 -added another memory manager just for wii games and banners -changed THP file playback, for sound you now need to have a ogg file with the same name, that fixes all audio shutters and crashes -optimized THP file playback and JPG extraction alot, it should now work fine with 640x480 30fps without any crash or freeze anymore
36 lines
786 B
C++
36 lines
786 B
C++
|
|
#ifndef __MEM2_HPP
|
|
#define __MEM2_HPP
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void MEM_init();
|
|
|
|
void *MEM1_lo_alloc(unsigned int s);
|
|
void MEM1_lo_free(void *p);
|
|
unsigned int MEM1_lo_freesize();
|
|
|
|
void *MEM1_alloc(unsigned int s);
|
|
void *MEM1_memalign(unsigned int a, unsigned int s);
|
|
void *MEM1_realloc(void *p, unsigned int s);
|
|
void MEM1_free(void *p);
|
|
unsigned int MEM1_freesize();
|
|
|
|
void MEM2_lo_free(void *p);
|
|
void *MEM2_lo_alloc(unsigned int s);
|
|
|
|
void MEM2_free(void *p);
|
|
void *MEM2_alloc(unsigned int s);
|
|
void *MEM2_memalign(unsigned int /* alignment */, unsigned int s);
|
|
void *MEM2_realloc(void *p, unsigned int s);
|
|
unsigned int MEM2_usableSize(void *p);
|
|
unsigned int MEM2_freesize();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !defined(__MEM2_HPP)
|