mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Update exp.cpp
Fix the coleco_cart:rom so that it doesn't crash MAME when used in the debugger:- eg. print coleco_cart:rom.m@0
This commit is contained in:
parent
2e3670efba
commit
b48dc77e59
@ -38,7 +38,7 @@ void device_colecovision_cartridge_interface::rom_alloc(size_t size)
|
||||
{
|
||||
if (m_rom == nullptr)
|
||||
{
|
||||
m_rom = device().machine().memory().region_alloc("coleco_cart:rom", size, 1, ENDIANNESS_LITTLE)->base();
|
||||
m_rom = device().machine().memory().region_alloc(":coleco_cart:rom", size, 1, ENDIANNESS_LITTLE)->base();
|
||||
m_rom_size = size;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user