X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2F32x%2Fmemory.c;h=2ec75639fa4ea683a5b26a133cc6c1a86ee2c15a;hb=51d86e55f61c9bd989afcde1edc6272842f08d78;hp=b0f70070e18e1e208fe94bb8f91e3ed7d6d9bad1;hpb=f2dde8713ea92a4ef16b6ff5fd00e0a9286e0499;p=picodrive.git diff --git a/pico/32x/memory.c b/pico/32x/memory.c index b0f7007..2ec7563 100644 --- a/pico/32x/memory.c +++ b/pico/32x/memory.c @@ -40,9 +40,7 @@ */ #include "../pico_int.h" #include "../memory.h" -#ifdef DRC_SH2 #include "../../cpu/sh2/compiler.h" -#endif #if 0 #undef ash2_end_run @@ -1606,10 +1604,8 @@ void PicoMemSetup32x(void) sh2_poll[1].flag = P32XF_SSH2POLL; sh2_poll[1].cyc_max = 16; -#ifdef DRC_SH2 sh2_drc_mem_setup(&msh2); sh2_drc_mem_setup(&ssh2); -#endif } void Pico32xMemStateLoaded(void) @@ -1618,9 +1614,8 @@ void Pico32xMemStateLoaded(void) Pico32xSwapDRAM((Pico32x.vdp_regs[0x0a / 2] & P32XV_FS) ^ P32XV_FS); memset(Pico32xMem->pwm, 0, sizeof(Pico32xMem->pwm)); Pico32x.dirty_pal = 1; -#ifdef DRC_SH2 + sh2_drc_flush_all(); -#endif } // vim:shiftwidth=2:ts=2:expandtab