Add new HTTP(anda) commands
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user