mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
hint-less mode updated for SVP, state load callback, etc
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@384 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
71bb1b7bd0
commit
fad248933b
11 changed files with 86 additions and 19 deletions
|
@ -1629,6 +1629,12 @@ void *ssp_translate_block(int pc)
|
|||
|
||||
// -----------------------------------------------------
|
||||
|
||||
static void ssp1601_state_load(void)
|
||||
{
|
||||
ssp->drc.iram_dirty = 1;
|
||||
ssp->drc.iram_context = 0;
|
||||
}
|
||||
|
||||
int ssp1601_dyn_startup(void)
|
||||
{
|
||||
memset(tcache, 0, TCACHE_SIZE);
|
||||
|
@ -1637,6 +1643,8 @@ int ssp1601_dyn_startup(void)
|
|||
tcache_ptr = tcache;
|
||||
*tcache_ptr++ = 0xffffffff;
|
||||
|
||||
PicoLoadStateHook = ssp1601_state_load;
|
||||
|
||||
#ifdef ARM
|
||||
// hle'd blocks
|
||||
block_table[0x400] = (void *) ssp_hle_800;
|
||||
|
@ -1664,6 +1672,11 @@ void ssp1601_dyn_run(int cycles)
|
|||
{
|
||||
if (ssp->emu_status & SSP_WAIT_MASK) return;
|
||||
|
||||
#ifdef DUMP_BLOCK
|
||||
ssp_translate_block(DUMP_BLOCK >> 1);
|
||||
#endif
|
||||
#ifdef ARM
|
||||
ssp_drc_entry(cycles);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue