ActionReplay: Made the BadCount message appear only in the debug builds

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2140 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-02-08 10:10:47 +00:00
parent f610f7e197
commit 6ecbc237db

View File

@ -241,7 +241,9 @@ bool RunCode(const ARCode &arcode) {
if (count == -1 || count < -2 || count > (int)code.ops.size())
{
LogInfo("Bad Count: %i", count);
PanicAlert("Action Replay: Bad Count: %i (%s)", count, code.name.c_str());
#if defined(_DEBUG) || defined(DEBUGFAST)
PanicAlert("Action Replay: Bad Count: %i (%s)", count, code.name.c_str());
#endif
return false;
}