mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 20:43:07 -04:00
GfxService v1.2 + fixes (#2305)
* GfxService v1.2 + fixes * gfx::synchronize before mod_shutdown
This commit is contained in:
@@ -70,6 +70,11 @@ void JUTVideo::preRetraceProc(u32 retrace_count) {
|
||||
|
||||
OSTick tick = DUSK_IF_ELSE(static_cast<OSTick>(OSGetNativeTime()), OSGetTick());
|
||||
sVideoInterval = tick - sVideoLastTick;
|
||||
#if TARGET_PC
|
||||
if (sVideoInterval <= 0) {
|
||||
sVideoInterval = 1;
|
||||
}
|
||||
#endif
|
||||
sVideoLastTick = tick;
|
||||
|
||||
JUTXfb* xfb = JUTXfb::getManager();
|
||||
|
||||
Reference in New Issue
Block a user