save_param(&tmp32, 4);
save_param(&gfx.y_step, sizeof(gfx.y_step));
+ save_param(&gfx.stampMask, sizeof(gfx.stampMask));
return bufferptr;
}
gfx.mapPtr = (uint16 *)(Pico_mcd->word_ram2M + tmp32);
load_param(&gfx.y_step, sizeof(gfx.y_step));
+ load_param(&gfx.stampMask, sizeof(gfx.stampMask));
return bufferptr;
}
lprintf("detected SMS ROM\n");
}
+ if (PicoCartInsert(rom_data, rom_size, carthw_cfg_fname)) {
+ media_type = PM_ERROR;
+ goto out;
+ }
+ rom_data = NULL; // now belongs to PicoCart
+
// insert CD if it was detected
Pico.m.ncart_in = 0;
if (cd_img_type != CT_UNKNOWN) {
Pico.m.ncart_in = 1;
}
- if (PicoCartInsert(rom_data, rom_size, carthw_cfg_fname)) {
- media_type = PM_ERROR;
- goto out;
- }
- rom_data = NULL; // now belongs to PicoCart
-
if (PicoIn.quirks & PQUIRK_FORCE_6BTN)
PicoSetInputDevice(0, PICO_INPUT_PAD_6BTN);