mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-27 12:27:31 -05:00
whb: Fix GPU hang reset.
This commit is contained in:
@@ -435,6 +435,7 @@ WHBGfxShutdown()
|
||||
}
|
||||
|
||||
GfxProcCallbackReleased(NULL);
|
||||
GX2RSetAllocator(NULL, NULL);
|
||||
GX2Shutdown();
|
||||
|
||||
if (sTvContextState) {
|
||||
@@ -451,8 +452,6 @@ WHBGfxShutdown()
|
||||
GfxHeapFreeMEM2(sCommandBufferPool);
|
||||
sCommandBufferPool = NULL;
|
||||
}
|
||||
|
||||
GX2RSetAllocator(NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -466,7 +465,6 @@ WHBGfxBeginRender()
|
||||
GX2GetSwapStatus(&swapCount, &flipCount, &lastFlip, &lastVsync);
|
||||
|
||||
if (flipCount >= swapCount) {
|
||||
sGpuTimedOut = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user