mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: drc: new smc handling, write handlers adjusted.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@820 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2b2b46b05d
commit
f4bb5d6b2c
9 changed files with 389 additions and 150 deletions
|
@ -1766,7 +1766,7 @@ void *ssp_translate_block(int pc)
|
|||
tr_flush_dirty_pmcrs();
|
||||
emit_block_epilogue(ccount, end_cond, jump_pc, pc);
|
||||
|
||||
if (tcache_ptr - tcache > DRC_TCACHE_SIZE/4) {
|
||||
if (tcache_ptr - (u32 *)tcache > DRC_TCACHE_SIZE/4) {
|
||||
elprintf(EL_ANOMALY|EL_STATUS|EL_SVP, "tcache overflow!\n");
|
||||
fflush(stdout);
|
||||
exit(1);
|
||||
|
@ -1825,7 +1825,7 @@ int ssp1601_dyn_startup(void)
|
|||
}
|
||||
|
||||
memset(tcache, 0, DRC_TCACHE_SIZE);
|
||||
tcache_ptr = tcache;
|
||||
tcache_ptr = (void *)tcache;
|
||||
|
||||
PicoLoadStateHook = ssp1601_state_load;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue