Qt: Re-enable sync for multiplayer windows that aren't connected (fixes #2974)

This commit is contained in:
Vicki Pfau 2023-08-04 23:19:29 -07:00
parent fcb2f11464
commit cda008eef5
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Emulation fixes:
- GBA SIO: Fix normal mode SI/SO semantics (fixes mgba.io/i/2925)
Other fixes:
- mGUI: Fix cases where an older save state screenshot would be shown (fixes mgba.io/i/2183)
- Qt: Re-enable sync for multiplayer windows that aren't connected (fixes mgba.io/i/2974)
Misc:
- Qt: Add exporting of SAV + RTC saves from Save Converter to strip RTC data

View File

@ -102,6 +102,10 @@ MultiplayerController::MultiplayerController() {
if (!id) {
for (int i = 1; i < controller->m_players.count(); ++i) {
player = controller->player(i);
if (player->node.gba->d.p->mode > SIO_MULTI) {
player->controller->setSync(true);
continue;
}
player->controller->setSync(false);
player->cyclesPosted += cycles;
if (player->awake < 1) {