mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
start refactoring shit: more accurate timing and way of counting cycles.
This commit is contained in:
18
NDS.h
18
NDS.h
@ -36,6 +36,22 @@ typedef struct _SchedEvent
|
||||
|
||||
} SchedEvent;
|
||||
|
||||
enum
|
||||
{
|
||||
Event_ScanlineStart = 0,
|
||||
|
||||
Event_Timer9_0,
|
||||
Event_Timer9_1,
|
||||
Event_Timer9_2,
|
||||
Event_Timer9_3,
|
||||
Event_Timer7_0,
|
||||
Event_Timer7_1,
|
||||
Event_Timer7_2,
|
||||
Event_Timer7_3,
|
||||
|
||||
Event_MAX
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
IRQ_VBlank = 0,
|
||||
@ -105,6 +121,8 @@ void RunEvents(s32 cycles);
|
||||
// DO NOT CALL FROM ARM7!!
|
||||
void CompensateARM7();
|
||||
|
||||
void debug(u32 p);
|
||||
|
||||
void Halt();
|
||||
|
||||
void MapSharedWRAM(u8 val);
|
||||
|
Reference in New Issue
Block a user