random minor fixes
[picodrive.git] / pico / memory.c
index 00e5016..ac4b31f 100644 (file)
@@ -166,7 +166,7 @@ void log_io(unsigned int addr, int bits, int rw);
 #if defined(EMU_C68K)\r
 void cyclone_crashed(u32 pc, struct Cyclone *context)\r
 {\r
-    elprintf(EL_STATUS|EL_ANOMALY, "%c68k crash detected @ %06x\n",\r
+    elprintf(EL_STATUS|EL_ANOMALY, "%c68k crash detected @ %06x",\r
       context == &PicoCpuCM68k ? 'm' : 's', pc);\r
     context->membase = (u32)Pico.rom;\r
     context->pc = (u32)Pico.rom + Pico.romsize;\r
@@ -1058,6 +1058,14 @@ void ym2612_unpack_state(void)
   elprintf(EL_YMTIMER, "load: %i/%i, timer_b_next_oflow %i", tbt>>16, tbc>>16, timer_b_next_oflow >> 8);\r
 }\r
 \r
+#if defined(NO_32X) && defined(_ASM_MEMORY_C)\r
+// referenced by asm code\r
+u32 PicoRead8_32x(u32 a) { return 0; }\r
+u32 PicoRead16_32x(u32 a) { return 0; }\r
+void PicoWrite8_32x(u32 a, u32 d) {}\r
+void PicoWrite16_32x(u32 a, u32 d) {}\r
+#endif\r
+\r
 // -----------------------------------------------------------------\r
 //                        z80 memhandlers\r
 \r