add a missing cache flush, fixing some crashes on real 68040s

This commit is contained in:
Wolfgang Thaller 2017-10-28 01:34:24 +02:00
parent 8563f68461
commit 2536e4ff65
1 changed files with 3 additions and 1 deletions

View File

@ -192,7 +192,9 @@ void Retro68InitMultisegApp()
jtEntry->jmp.addr = addr;
++jtEntry;
}
if(relocState.hasFlushCodeCache)
FlushCodeCache();
// Zero-initialize bss
for(uint32_t *p = (uint32_t*) &_sbss;
p < (uint32_t*) &_ebss; ++p)