separate IO read/write handlers from the rest before it's too late.
remove some useless cruft.
This commit is contained in:
parent
45bceecc19
commit
8ea2aaad5a
2
CP15.cpp
2
CP15.cpp
|
@ -103,7 +103,7 @@ void Write(u32 id, u32 val)
|
|||
return;
|
||||
|
||||
case 0x7A1:
|
||||
printf("flush data cache %08X\n", val);
|
||||
//printf("flush data cache %08X\n", val);
|
||||
return;
|
||||
case 0x7A2:
|
||||
printf("flush data cache SI\n");
|
||||
|
|
14
NDS.h
14
NDS.h
|
@ -117,6 +117,20 @@ void ARM7Write8(u32 addr, u8 val);
|
|||
void ARM7Write16(u32 addr, u16 val);
|
||||
void ARM7Write32(u32 addr, u32 val);
|
||||
|
||||
u8 ARM9IORead8(u32 addr);
|
||||
u16 ARM9IORead16(u32 addr);
|
||||
u32 ARM9IORead32(u32 addr);
|
||||
void ARM9IOWrite8(u32 addr, u8 val);
|
||||
void ARM9IOWrite16(u32 addr, u16 val);
|
||||
void ARM9IOWrite32(u32 addr, u32 val);
|
||||
|
||||
u8 ARM7IORead8(u32 addr);
|
||||
u16 ARM7IORead16(u32 addr);
|
||||
u32 ARM7IORead32(u32 addr);
|
||||
void ARM7IOWrite8(u32 addr, u8 val);
|
||||
void ARM7IOWrite16(u32 addr, u16 val);
|
||||
void ARM7IOWrite32(u32 addr, u32 val);
|
||||
|
||||
}
|
||||
|
||||
#endif // NDS_H
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
"NDS.h"
|
||||
"GPU2D.h"
|
||||
|
||||
1481167101 c:\documents\sources\melonds\nds.h
|
||||
1484615598 c:\documents\sources\melonds\nds.h
|
||||
"types.h"
|
||||
|
||||
1481161027 c:\documents\sources\melonds\types.h
|
||||
|
||||
1484614470 source:c:\documents\sources\melonds\nds.cpp
|
||||
1484616465 source:c:\documents\sources\melonds\nds.cpp
|
||||
<stdio.h>
|
||||
<string.h>
|
||||
"NDS.h"
|
||||
|
|
Loading…
Reference in New Issue