mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, add detection for in-memory polling
This commit is contained in:
parent
213b7f42c1
commit
397ccdc6cf
9 changed files with 224 additions and 113 deletions
|
@ -42,9 +42,10 @@ typedef struct SH2_
|
|||
unsigned int pdb_io_csum[2];
|
||||
|
||||
#define SH2_STATE_RUN (1 << 0) // to prevent recursion
|
||||
#define SH2_STATE_SLEEP (1 << 1)
|
||||
#define SH2_STATE_SLEEP (1 << 1) // temporarily stopped (DMA, IO, ...)
|
||||
#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
|
||||
unsigned int state;
|
||||
unsigned int poll_addr;
|
||||
int poll_cycles;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue