mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
mbee: coverity 333015
This commit is contained in:
parent
b2a289ecb4
commit
a16a35c5aa
@ -757,7 +757,7 @@ image_init_result mbee_state::load_cart(device_image_interface &image, generic_s
|
||||
}
|
||||
m_pak_extended[pak_index] = (size > 0x1000) ? true : false;
|
||||
|
||||
slot->rom_alloc(m_pak_extended ? 0x2000 : 0x1000, GENERIC_ROM8_WIDTH, ENDIANNESS_LITTLE);
|
||||
slot->rom_alloc(m_pak_extended[pak_index] ? 0x2000 : 0x1000, GENERIC_ROM8_WIDTH, ENDIANNESS_LITTLE);
|
||||
slot->common_load_rom(slot->get_rom_base(), size, "rom");
|
||||
|
||||
// Validate the rom
|
||||
|
Loading…
Reference in New Issue
Block a user