mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-30 11:50:32 +00: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
@ -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…
Reference in New Issue
Block a user