mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-13 10:48:29 +12:00
Don't start audio device on resume if audio is disabled
This commit is contained in:
parent
d459cb1d6c
commit
9d8868cffd
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ void Emulator::render() {}
|
||||||
void Emulator::resume() {
|
void Emulator::resume() {
|
||||||
running = (romType != ROMType::None);
|
running = (romType != ROMType::None);
|
||||||
|
|
||||||
if (running) {
|
if (running && config.audioEnabled) {
|
||||||
audioDevice.start();
|
audioDevice.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue