diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2022-04-10 15:23:10 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2022-04-10 15:23:10 +1000 |
commit | a16a35c5aa16d6fae1af3acf71480f67f506e9e8 (patch) | |
tree | 0bd2823a0f7284b4c781cb60807a59ebfcc27c03 /src/mame/machine | |
parent | b2a289ecb41f405644b3649fcbf55b3cf19c5432 (diff) |
mbee: coverity 333015
Diffstat (limited to 'src/mame/machine')
-rw-r--r-- | src/mame/machine/mbee.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/mbee.cpp b/src/mame/machine/mbee.cpp index 851fbd4fc08..e59d8e22a48 100644 --- a/src/mame/machine/mbee.cpp +++ b/src/mame/machine/mbee.cpp @@ -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 |