From e541998629c4df446b61fffcfb1d372c0ece1dcd Mon Sep 17 00:00:00 2001 From: zilmar Date: Sat, 1 Jul 2017 06:56:34 +1000 Subject: [PATCH] [Android] Fix cheat changes for android --- Source/Project64-core/N64System/CheatClass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Project64-core/N64System/CheatClass.cpp b/Source/Project64-core/N64System/CheatClass.cpp index e1f5b1634..038aeb66d 100644 --- a/Source/Project64-core/N64System/CheatClass.cpp +++ b/Source/Project64-core/N64System/CheatClass.cpp @@ -350,7 +350,7 @@ void CCheats::ModifyMemory8(uint32_t Address, uint8_t Value) return; } OriginalValue.Changed = Value; - ORIGINAL_VALUES8::_Pairib itr = m_OriginalValues8.insert(ORIGINAL_VALUES8::value_type(Address, OriginalValue)); + std::pair itr = m_OriginalValues8.insert(ORIGINAL_VALUES8::value_type(Address, OriginalValue)); m_MMU.SB_VAddr(Address, OriginalValue.Changed); if (g_Recompiler) { @@ -370,7 +370,7 @@ void CCheats::ModifyMemory16(uint32_t Address, uint16_t Value) return; } OriginalValue.Changed = Value; - ORIGINAL_VALUES16::_Pairib itr = m_OriginalValues16.insert(ORIGINAL_VALUES16::value_type(Address, OriginalValue)); + std::pair itr = m_OriginalValues16.insert(ORIGINAL_VALUES16::value_type(Address, OriginalValue)); m_MMU.SH_VAddr(Address, OriginalValue.Changed); if (g_Recompiler) {