Update PifRam.cpp

This commit is contained in:
Nekokabu 2016-05-14 10:56:18 +09:00
parent 21920f984b
commit da1410b0d8
1 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ void CPifRam::PifRamRead()
} }
else else
{ {
if (bShowPifRamErrors()) if (CurPos != 0x27 && bShowPifRamErrors())
{ {
g_Notify->DisplayError(stdstr_f("Unknown Command in PifRamRead(%X)", m_PifRam[CurPos]).c_str()); g_Notify->DisplayError(stdstr_f("Unknown Command in PifRamRead(%X)", m_PifRam[CurPos]).c_str());
} }
@ -263,7 +263,7 @@ void CPifRam::PifRamWrite()
} }
else else
{ {
if (bShowPifRamErrors()) if (CurPos != 0x27 && bShowPifRamErrors())
{ {
g_Notify->DisplayError(stdstr_f("Unknown Command in PifRamWrite(%X)", m_PifRam[CurPos]).c_str()); g_Notify->DisplayError(stdstr_f("Unknown Command in PifRamWrite(%X)", m_PifRam[CurPos]).c_str());
} }
@ -678,4 +678,4 @@ void CPifRam::LogControllerPakData(const char * Description)
} }
} }
LogMessage(""); LogMessage("");
} }