diff --git a/hash/vboy.xml b/hash/vboy.xml index 08c6a3d21ed..eac202c66ca 100644 --- a/hash/vboy.xml +++ b/hash/vboy.xml @@ -453,7 +453,7 @@ According to Planet Virtual Boy, the following undumped protos exist - + diff --git a/src/devices/bus/vboy/rom.cpp b/src/devices/bus/vboy/rom.cpp index 991206bd1c6..14fac38ca1f 100644 --- a/src/devices/bus/vboy/rom.cpp +++ b/src/devices/bus/vboy/rom.cpp @@ -132,6 +132,9 @@ image_init_result vboy_flat_rom_sram_device::load() chip_space()->install_readwrite_handler( begin, end, + 0, + mirror, + 0, read8sm_delegate(*this, NAME([base] (offs_t offset) { return base[offset]; })), write8sm_delegate(*this, NAME([base] (offs_t offset, u8 data) { base[offset] = data; })), 0x00ff'00ff); @@ -162,6 +165,9 @@ image_init_result vboy_flat_rom_sram_device::load() chip_space()->install_readwrite_handler( begin, end, + 0, + mirror, + 0, read16s_delegate(*this, NAME([base] (offs_t offset, u16 mem_mask) { return base[offset]; })), write16s_delegate(*this, NAME([base] (offs_t offset, u16 data, u16 mem_mask) { COMBINE_DATA(base + offset); })), 0xffff'ffff);