mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 22:29:47 -06:00
move TCM shit to CP15.cpp. closer to the real thing (for example now DMA can't access TCM, etc).
the code is shit. I would use templates if only it fucking worked without requiring the function body to be included in a .h.
This commit is contained in:
9
CP15.h
9
CP15.h
@ -30,6 +30,15 @@ void UpdateITCMSetting();
|
||||
void Write(u32 id, u32 val);
|
||||
u32 Read(u32 id);
|
||||
|
||||
bool HandleCodeRead16(u32 addr, u16* val);
|
||||
bool HandleCodeRead32(u32 addr, u32* val);
|
||||
bool HandleDataRead8(u32 addr, u8* val, u32 forceuser=0);
|
||||
bool HandleDataRead16(u32 addr, u16* val, u32 forceuser=0);
|
||||
bool HandleDataRead32(u32 addr, u32* val, u32 forceuser=0);
|
||||
bool HandleDataWrite8(u32 addr, u8 val, u32 forceuser=0);
|
||||
bool HandleDataWrite16(u32 addr, u16 val, u32 forceuser=0);
|
||||
bool HandleDataWrite32(u32 addr, u32 val, u32 forceuser=0);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user