diff --git a/src/main.c b/src/main.c index 32e103b6e8..0d508104ed 100644 --- a/src/main.c +++ b/src/main.c @@ -455,7 +455,18 @@ static void IntrDummy(void) static void WaitForVBlank(void) { gMain.intrCheck &= ~INTR_FLAG_VBLANK; - VBlankIntrWait(); + + if (gWirelessCommType != 0) + { + // Desynchronization may occur if wireless adapter is connected + // and we call VBlankIntrWait(); + while (!(gMain.intrCheck & INTR_FLAG_VBLANK)) + ; + } + else + { + VBlankIntrWait(); + } } void SetTrainerHillVBlankCounter(u32 *counter)