mirror of https://github.com/mgba-emu/mgba.git
Qt: Re-enable sync for multiplayer windows that aren't connected (fixes #2974)
This commit is contained in:
parent
189fce016f
commit
b0977cef94
1
CHANGES
1
CHANGES
|
@ -26,6 +26,7 @@ Other fixes:
|
|||
- Debugger: Fix writing to specific segment in command-line debugger
|
||||
- mGUI: Fix cases where an older save state screenshot would be shown. (fixes mgba.io/i/2183)
|
||||
- Qt: Fix savestate preview sizes with different scales (fixes mgba.io/i/2560)
|
||||
- Qt: Re-enable sync for multiplayer windows that aren't connected (fixes mgba.io/i/2974)
|
||||
Misc:
|
||||
- Core: Handle relative paths for saves, screenshots, etc consistently (fixes mgba.io/i/2826)
|
||||
- GB: Prevent incompatible BIOSes from being used on differing models
|
||||
|
|
|
@ -92,6 +92,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) {
|
||||
|
|
Loading…
Reference in New Issue