mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sh2 timer optimization
This commit is contained in:
parent
7c1c9c7742
commit
74cc7aebf6
5 changed files with 40 additions and 32 deletions
|
@ -48,6 +48,7 @@ typedef struct SH2_
|
|||
#define SH2_STATE_CPOLL (1 << 2) // polling comm regs
|
||||
#define SH2_STATE_VPOLL (1 << 3) // polling VDP
|
||||
#define SH2_STATE_RPOLL (1 << 4) // polling address in SDRAM
|
||||
#define SH2_TIMER_RUN (1 << 8) // SOC WDT timer is running
|
||||
unsigned int state;
|
||||
uint32_t poll_addr;
|
||||
int poll_cycles;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue