From 81b6e2c68d1edde916d3704ecf552b6d9a17bcee Mon Sep 17 00:00:00 2001 From: Nekokabu Date: Sat, 25 Jul 2015 23:20:36 +0900 Subject: [PATCH] Heiwa Pachinko World 64 (J) freeze fix Heiwa Pachinko World 64 (J) freeze fix #537 --- Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp index b5feb9b2f..b1f2c1be3 100644 --- a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp +++ b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp @@ -3411,7 +3411,7 @@ void CMipsMemoryVM::UpdateHalfLine() g_SystemTimer->UpdateTimers(); NextViTimer = g_SystemTimer->GetTimer(CSystemTimer::ViTimer); } - m_HalfLine = (DWORD)(NextViTimer / g_System->ViRefreshRate()); + m_HalfLine = (DWORD)(*g_NextTimer / g_System->ViRefreshRate()); m_HalfLine &= ~1; m_HalfLine |= m_FieldSerration; m_HalfLineCheck = NextViTimer;