mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-28 00:35:34 +00:00
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:
parent
f610f7e197
commit
6ecbc237db
@ -241,7 +241,9 @@ bool RunCode(const ARCode &arcode) {
|
|||||||
if (count == -1 || count < -2 || count > (int)code.ops.size())
|
if (count == -1 || count < -2 || count > (int)code.ops.size())
|
||||||
{
|
{
|
||||||
LogInfo("Bad Count: %i", count);
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user