X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FMemoryCmn.c;h=90b9e2de6a4bec3364d9bce048f7ae851866c642;hb=1dceadaee482ad3ca6f5ccbef57ea93893f45e82;hp=33bad700e48a1df32ab0a1b6eb6bd5fcb217ff8c;hpb=32826a1a22fd3e6203310bba855d8c2b6f3c403a;p=picodrive.git diff --git a/Pico/MemoryCmn.c b/Pico/MemoryCmn.c index 33bad70..90b9e2d 100644 --- a/Pico/MemoryCmn.c +++ b/Pico/MemoryCmn.c @@ -221,6 +221,7 @@ void OtherWrite16(u32 a,u32 d) #ifndef _CD_MEMORY_C if (a >= SRam.start && a <= SRam.end) { + elprintf(EL_SRAMIO, "sram w16 [%06x] %04x @ %06x", a, d, SekPc); if ((a&0x16)==0x10) { // detected, not EEPROM, write not disabled u8 *pm=(u8 *)(SRam.data-SRam.start+a); *pm++=d>>8; @@ -228,7 +229,7 @@ void OtherWrite16(u32 a,u32 d) SRam.changed = 1; } else - SRAMWrite(a, d); // ?? + SRAMWrite(a, d); return; } #else