Merge pull request #751 from PugsyMAME/master

Tiny fix for coleco_cart region so it doesn't crash MAME when used in the debugger
This commit is contained in:
Scott Stone 2016-03-27 17:59:54 -04:00
commit c2bb8e7aad
2 changed files with 2 additions and 2 deletions

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

View File

@ -88,7 +88,7 @@ protected:
virtual bool is_creatable() const override { return 0; }
virtual bool must_be_loaded() const override { return 0; }
virtual bool is_reset_on_load() const override { return 1; }
virtual const char *image_interface() const override { return "coleco_cart"; }
virtual const char *image_interface() const override { return ":coleco_cart"; }
virtual const char *file_extensions() const override { return "rom,col,bin"; }
virtual const option_guide *create_option_guide() const override { return nullptr; }