mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 12:39:13 +12:00
Update emulator.cpp
This commit is contained in:
parent
844525ebdd
commit
d614fe93e2
1 changed files with 5 additions and 1 deletions
|
@ -201,6 +201,10 @@ std::filesystem::path Emulator::getAppDataRoot() {
|
||||||
return appDataPath;
|
return appDataPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __ANDROID
|
||||||
|
, // I'm tired of supporting android, we shouldn't allow compilation to happen for it anymore
|
||||||
|
#endif
|
||||||
|
|
||||||
bool Emulator::loadROM(const std::filesystem::path& path) {
|
bool Emulator::loadROM(const std::filesystem::path& path) {
|
||||||
|
|
||||||
bool hasTriedBrowser = false;
|
bool hasTriedBrowser = false;
|
||||||
|
@ -281,7 +285,7 @@ bool Emulator::loadROM(const std::filesystem::path& path) {
|
||||||
|
|
||||||
// We don't need the emulator anymore, safely exit
|
// We don't need the emulator anymore, safely exit
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
volatile __asm__("hlt");
|
volatile __asm__("mov [0], rax");
|
||||||
#else
|
#else
|
||||||
Helpers::panic("Your architecture sucks :(");
|
Helpers::panic("Your architecture sucks :(");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue