summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/itech32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/itech32.cpp')
-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;
}