mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-24 21:50:43 -04:00
Allow threads to gracefully shutdown
This commit is contained in:
@@ -81,12 +81,14 @@ void JUTVideo::preRetraceProc(u32 retrace_count) {
|
||||
|
||||
static void* frameBuffer = NULL;
|
||||
|
||||
#ifndef TARGET_PC
|
||||
if (frameBuffer) {
|
||||
const GXRenderModeObj* renderMode = JUTGetVideoManager()->getRenderMode();
|
||||
u16 width = renderMode->fbWidth;
|
||||
u16 height = renderMode->efbHeight;
|
||||
JUTDirectPrint::getManager()->changeFrameBuffer(frameBuffer, width, height);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (getManager()->mSetBlack == 1) {
|
||||
s32 frame_count = getManager()->mSetBlackFrameCount;
|
||||
|
||||
Reference in New Issue
Block a user