mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
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;
|
return;
|
||||||
|
|
||||||
case 0x7A1:
|
case 0x7A1:
|
||||||
printf("flush data cache %08X\n", val);
|
//printf("flush data cache %08X\n", val);
|
||||||
return;
|
return;
|
||||||
case 0x7A2:
|
case 0x7A2:
|
||||||
printf("flush data cache SI\n");
|
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 ARM7Write16(u32 addr, u16 val);
|
||||||
void ARM7Write32(u32 addr, u32 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
|
#endif // NDS_H
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
"NDS.h"
|
"NDS.h"
|
||||||
"GPU2D.h"
|
"GPU2D.h"
|
||||||
|
|
||||||
1481167101 c:\documents\sources\melonds\nds.h
|
1484615598 c:\documents\sources\melonds\nds.h
|
||||||
"types.h"
|
"types.h"
|
||||||
|
|
||||||
1481161027 c:\documents\sources\melonds\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>
|
<stdio.h>
|
||||||
<string.h>
|
<string.h>
|
||||||
"NDS.h"
|
"NDS.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user