Merge pull request #1088 from Nekokabu/master

Update PifRam.cpp
This commit is contained in:
zilmar 2016-05-14 14:45:55 +10:00
commit a95b35ec2e
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());
} }