summaryrefslogtreecommitdiff
path: root/xband.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-06-24 13:55:54 -0700
committerMichael Pavone <pavone@retrodev.com>2017-06-24 13:55:54 -0700
commitc21c73853ca656be57011cdb0c2e7b9da1dac5df (patch)
tree7166ac77cecb7a046803eaa3d89d1c9f9815e493 /xband.c
parent9619ce0a27ca9509a9c86f156f411258a17e085f (diff)
Support a couple of bootleg X-in-1 carts
Diffstat (limited to 'xband.c')
-rw-r--r--xband.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xband.c b/xband.c
index c5b1fc9..29d1498 100644
--- a/xband.c
+++ b/xband.c
@@ -313,6 +313,9 @@ rom_info xband_configure_rom(tern_node *rom_db, void *rom, uint32_t rom_size, vo
info.port2_override = strdup("xband keyboard");
info.eeprom_map = NULL;
info.num_eeprom = 0;
+ info.rom = rom;
+ info.rom_size = rom_size;
+ info.is_save_lock_on = 0;
xband *x = calloc(sizeof(xband), 1);
rom_size = nearest_pow2(rom_size);
for (int i = 0; (i + rom_size) <= sizeof(x->cart_space) / 2; i += rom_size)