Remove VBlank check in targets that don't need it (#256)

This commit is contained in:
JaceCear authored and GitHub committed 2026-04-26 11:18:02 +01:00
1 parent cefd62e345
commit 9543ad304e
1 file changed
+4 -2
+4 -2
View File
@@ -609,8 +609,10 @@ void EngineMainLoop(void)
}
#endif
// Wait for vblank to finish
while (REG_DISPSTAT & DISPSTAT_VBLANK)
// NOTE: If other platforms do V-Sync asynchronously, we may need to incorporate this wait.
//
// Wait for vblank to finish, we only compute the frame once the new frame started.
while (PLATFORM_GBA && (REG_DISPSTAT & DISPSTAT_VBLANK))
;
};
}