instant input patch now uses gIsConsole
This commit is contained in:
1 parent
328f715ec0
commit
2111242bd9
1 file changed
+2
-2
@@ -386,7 +386,7 @@ void render_init(void) {
|
||||
// Skip incrementing the initial framebuffer index on emulators so that they display immediately as the Gfx task finishes
|
||||
// VC probably emulates osViSwapBuffer accurately so instant patch breaks VC compatibility
|
||||
#ifndef VC_HACKS
|
||||
if ((*(volatile u32 *)0xA4100010) != 0) { // Read RDP Clock Register, has a value of zero on emulators
|
||||
if (gIsConsole) { // Read RDP Clock Register, has a value of zero on emulators
|
||||
#endif
|
||||
sRenderingFrameBuffer++;
|
||||
#ifndef VC_HACKS
|
||||
@@ -428,7 +428,7 @@ void display_and_vsync(void) {
|
||||
osRecvMesg(&gGameVblankQueue, &gMainReceivedMesg, OS_MESG_BLOCK);
|
||||
// Skip swapping buffers on emulator so that they display immediately as the Gfx task finishes
|
||||
#ifndef VC_HACKS
|
||||
if ((*(volatile u32 *)0xA4100010) != 0) { // Read RDP Clock Register, has a value of zero on emulators
|
||||
if (gIsConsole) { // Read RDP Clock Register, has a value of zero on emulators
|
||||
#endif
|
||||
if (++sRenderedFramebuffer == 3) {
|
||||
sRenderedFramebuffer = 0;
|
||||
|
||||
Reference in new issue
Block a user