mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 12:31:40 +12:00
Add new HTTP(anda) commands
This commit is contained in:
parent
8fb3096331
commit
fa6ce2a7f2
4 changed files with 31 additions and 2 deletions
|
@ -175,7 +175,7 @@ void Emulator::run() {
|
|||
// Use the F4 button as a hot-key to pause or resume the emulator
|
||||
// We can't use the audio play/pause buttons because it's annoying
|
||||
case SDLK_F4: {
|
||||
running ? pause() : resume();
|
||||
togglePause();
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -364,6 +364,7 @@ void Emulator::run() {
|
|||
// Only resume if a ROM is properly loaded
|
||||
void Emulator::resume() { running = (romType != ROMType::None); }
|
||||
void Emulator::pause() { running = false; }
|
||||
void Emulator::togglePause() { running ? pause() : resume(); }
|
||||
|
||||
void Emulator::runFrame() {
|
||||
if (running) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue