mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Make really sure we're not using the IRBlock copy constructor other than on Symbian.
Turns out it ended up being used on Mac, and our asserts just debugprint and don't actually assert...
This commit is contained in:
parent
3fc255b429
commit
c6d4966067
2 changed files with 3 additions and 4 deletions
|
@ -51,15 +51,13 @@ public:
|
|||
b.const_ = nullptr;
|
||||
}
|
||||
|
||||
#ifdef __SYMBIAN32__
|
||||
IRBlock(const IRBlock &b) {
|
||||
*this = b;
|
||||
}
|
||||
|
||||
IRBlock &operator=(const IRBlock &b) {
|
||||
// No std::move on Symbian... But let's try not to use elsewhere.
|
||||
#ifndef __SYMBIAN32__
|
||||
_assert_(false);
|
||||
#endif
|
||||
numInstructions_ = b.numInstructions_;
|
||||
numConstants_ = b.numConstants_;
|
||||
instr_ = new IRInst[numInstructions_];
|
||||
|
@ -76,6 +74,7 @@ public:
|
|||
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
~IRBlock() {
|
||||
delete[] instr_;
|
||||
|
|
|
@ -59,7 +59,7 @@ void CwCheatScreen::CreateCodeList() {
|
|||
for (int i = 0; i < extension.size(); i++) {
|
||||
extension[i] = tolower(extension[i]);
|
||||
}
|
||||
if (extension != "iso" && extension != "cso" && extension != "pbp" || gameTitle == "") {
|
||||
if ((extension != "iso" && extension != "cso" && extension != "pbp") || gameTitle == "") {
|
||||
if (extension == "elf") {
|
||||
gameTitle = "ELF000000";
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue