remove some stuff from Platform

This commit is contained in:
Arisotura
2024-05-27 00:41:13 +02:00
parent 5fb8836440
commit 41e9715f7f
9 changed files with 29 additions and 62 deletions

View File

@ -420,7 +420,7 @@ void EmuThread::run()
if (winUpdateFreq < 1)
winUpdateFreq = 1;
int inst = Platform::InstanceID();
int inst = emuInstance->instanceID;
if (inst == 0)
sprintf(melontitle, "[%d/%.0f] melonDS " MELONDS_VERSION, fps, fpstarget);
else
@ -439,7 +439,7 @@ void EmuThread::run()
EmuStatus = EmuRunning;
int inst = Platform::InstanceID();
int inst = emuInstance->instanceID;
if (inst == 0)
sprintf(melontitle, "melonDS " MELONDS_VERSION);
else
@ -483,7 +483,6 @@ void EmuThread::run()
EmuStatus = emuStatus_Exit;
NDS::Current = nullptr;
// nds is out of scope, so unique_ptr cleans it up for us
}
void EmuThread::changeWindowTitle(char* title)