summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2021-01-09 15:20:33 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2021-01-09 15:20:33 +0100
commitf7971d562454d5ffa5f7cdaa2d1c87ab187cca06 (patch)
tree2aee3258c64c14e1b5ad89199161ba159f06fe6e
parent95a4cf9e1a1b961be7f81ba3728a94e9d53cb88b (diff)
itech32.cpp: fixed MT07846
-rw-r--r--src/mame/drivers/itech32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/itech32.cpp b/src/mame/drivers/itech32.cpp
index 6154a8775b8..225cf0bf99e 100644
--- a/src/mame/drivers/itech32.cpp
+++ b/src/mame/drivers/itech32.cpp
@@ -638,7 +638,7 @@ u16 itech32_state::wcbowl_prot_result_r()
u8 itech32_state::itech020_prot_result_r()
{
- u32 result = ((u32 *)m_nvram32.target())[m_itech020_prot_address >> 2];
+ u32 result = m_main_ram32[m_itech020_prot_address >> 2];
result >>= (~m_itech020_prot_address & 3) * 8;
return result & 0xff;
}