You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
made the console check safer
This commit is contained in:
@@ -415,6 +415,11 @@ void select_gfx_pool(void) {
|
||||
* - Selects which framebuffer will be rendered and displayed to next time.
|
||||
*/
|
||||
void display_and_vsync(void) {
|
||||
if (IO_READ(DPC_PIPEBUSY_REG) && gIsConsole != 1)
|
||||
{
|
||||
gIsConsole = 1;
|
||||
gBorderHeight = BORDER_HEIGHT_CONSOLE;
|
||||
}
|
||||
profiler_log_thread5_time(BEFORE_DISPLAY_LISTS);
|
||||
osRecvMesg(&gGfxVblankQueue, &gMainReceivedMesg, OS_MESG_BLOCK);
|
||||
if (gGoddardVblankCallback != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user