mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-25 20:56:53 +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
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
#ifndef __MEMORY_H_
|
|
#define __MEMORY_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#define Disc_ID ((vu32*) 0x80000000)
|
|
#define Disc_Region ((vu32*) 0x80000003)
|
|
#define Disc_Magic ((vu32*) 0x80000018)
|
|
#define Sys_Magic ((vu32*) 0x80000020)
|
|
#define Version ((vu32*) 0x80000024)
|
|
#define Mem_Size ((vu32*) 0x80000028)
|
|
#define Board_Model ((vu32*) 0x8000002C)
|
|
#define Arena_L ((vu32*) 0x80000030)
|
|
#define Arena_H ((vu32*) 0x80000034)
|
|
#define FST ((vu32*) 0x80000038)
|
|
#define Max_FST ((vu32*) 0x8000003C)
|
|
#define Assembler ((vu32*) 0x80000060)
|
|
#define Video_Mode ((vu32*) 0x800000CC)
|
|
#define Dev_Debugger ((vu32*) 0x800000EC)
|
|
#define Simulated_Mem ((vu32*) 0x800000F0)
|
|
#define BI2 ((vu32*) 0x800000F4)
|
|
#define Bus_Speed ((vu32*) 0x800000F8)
|
|
#define CPU_Speed ((vu32*) 0x800000FC)
|
|
#define Online_Check ((vu32*) 0x80003180)
|
|
#define GameID_Address ((vu32*) 0x80003184)
|
|
|
|
#define allocate_memory(size) memalign(32, (size+31)&(~31))
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|