summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k054156_k054157_k056832.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k054156_k054157_k056832.cpp')
-rw-r--r--src/mame/video/k054156_k054157_k056832.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/k054156_k054157_k056832.cpp b/src/mame/video/k054156_k054157_k056832.cpp
index 2d0cb0d5724..f530599da4d 100644
--- a/src/mame/video/k054156_k054157_k056832.cpp
+++ b/src/mame/video/k054156_k054157_k056832.cpp
@@ -676,7 +676,7 @@ u32 k056832_device::k_6bpp_rom_long_r(offs_t offset, u32 mem_mask)
u8 k056832_device::konmedal_rom_r(offs_t offset)
{
- uint32_t addr = ((m_regs[0x1b] << 7) | ((m_regs[0x1a] & 0xc) * 0x800)) + offset;
+ uint32_t addr = (((m_regs[0x1a] << 9) & 0x60000) | ((m_regs[0x1b] << 15) & 0x18000) | ((m_regs[0x1a] << 3) & 0x06000)) + offset;
return m_rombase[addr];
}