X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fssp16.c;h=b2de4596ae20b1cb38cb79f6cfb23b4046c3515b;hb=892b1dd258c41e6ffa9555a172db1394b07e322d;hp=bd03563d05fcfdca2b4dadb9ff78e28a9beb265d;hpb=df143b366c256555ba4b458787f6cc2041e71d6c;p=picodrive.git diff --git a/Pico/carthw/svp/ssp16.c b/Pico/carthw/svp/ssp16.c index bd03563..b2de459 100644 --- a/Pico/carthw/svp/ssp16.c +++ b/Pico/carthw/svp/ssp16.c @@ -447,9 +447,6 @@ static u32 pm_io(int reg, int write, u32 d) elprintf(EL_SVP, "ssp IRAM copy from %06x", (ssp->RAM1[0]-1)<<1); #ifdef USE_DEBUGGER last_iram = (ssp->RAM1[0]-1)<<1; -#endif -#ifdef EMBED_INTERPRETER - iram_dirty = 1; #endif } return 0; @@ -499,6 +496,9 @@ static u32 pm_io(int reg, int write, u32 d) elprintf(EL_SVP, "ssp IRAM w [%06x] %04x (inc %i)", (addr<<1)&0x7ff, d, inc); ((unsigned short *)svp->iram_rom)[addr&0x3ff] = d; ssp->pmac_write[reg] += inc; +#ifdef EMBED_INTERPRETER + iram_dirty = 1; +#endif } else { @@ -987,9 +987,6 @@ static void debug(unsigned int pc, unsigned int op) #endif // USE_DEBUGGER -#ifdef EMBED_INTERPRETER -static -#endif void ssp1601_reset(ssp1601_t *l_ssp) { ssp = l_ssp; @@ -1001,9 +998,6 @@ void ssp1601_reset(ssp1601_t *l_ssp) } -#ifdef EMBED_INTERPRETER -static -#endif void ssp1601_run(int cycles) { #ifndef EMBED_INTERPRETER