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:
PugsyMAME 2016-03-27 21:58:48 +01:00
parent 2e3670efba
commit b48dc77e59

View File

@ -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;
}
}