]> git.sesse.net Git - pistorm/blobdiff - platforms/amiga/rtg/rtg.c
Update rtg.c
[pistorm] / platforms / amiga / rtg / rtg.c
index fd80be86f6505de065c0dc389815da1a6a2d6ae2..a3fe168262528fefc4aa9a397e63d096078704b3 100644 (file)
@@ -60,7 +60,7 @@ int init_rtg_data() {
     }
 
     m68k_add_ram_range(PIGFX_RTG_BASE + PIGFX_REG_SIZE, PIGFX_RTG_SIZE - PIGFX_REG_SIZE, rtg_mem);
-    add_mapping(cfg, MAPTYPE_RAM_NOALLOC, PIGFX_RTG_BASE + PIGFX_REG_SIZE, PIGFX_RTG_SIZE - PIGFX_REG_SIZE, -1, NULL, "rtg_mem");
+    add_mapping(cfg, MAPTYPE_RAM_NOALLOC, PIGFX_RTG_BASE + PIGFX_REG_SIZE, PIGFX_RTG_SIZE - PIGFX_REG_SIZE, -1, rtg_mem, "rtg_mem");
     return 1;
 }