mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Switch to PPSSPP's assert functions (don't use the system's)
This commit is contained in:
1 parent
c5147c01a0
commit
5d64fc5ff1
49 files changed
+142
-180
No files matched your search
+3
-4
@@ -1,5 +1,4 @@
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <cstdint>
|
||||
#include "i18n/i18n.h"
|
||||
@@ -777,7 +776,7 @@ CheatOperation CWCheatEngine::InterpretNextCwCheat(const CheatCode &cheat, size_
|
||||
|
||||
CheatOperation CWCheatEngine::InterpretNextTempAR(const CheatCode &cheat, size_t &i) {
|
||||
// TODO
|
||||
assert(false);
|
||||
_assert_(false);
|
||||
return { CheatOp::Invalid };
|
||||
}
|
||||
|
||||
@@ -787,7 +786,7 @@ CheatOperation CWCheatEngine::InterpretNextOp(const CheatCode &cheat, size_t &i)
|
||||
else if (cheat.fmt == CheatCodeFormat::TEMPAR)
|
||||
return InterpretNextTempAR(cheat, i);
|
||||
else
|
||||
assert(false);
|
||||
_assert_(false);
|
||||
return { CheatOp::Invalid };
|
||||
}
|
||||
|
||||
@@ -1178,7 +1177,7 @@ void CWCheatEngine::ExecuteOp(const CheatOperation &op, const CheatCode &cheat,
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(false);
|
||||
_assert_(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user