From b4432f7a0cd8a3a68cd6fb173982dcd80596e5de Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 15 Nov 2015 20:22:19 +0100 Subject: [PATCH] (GX) Rename to official SDK functions through macros --- frontend/drivers/platform_gx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/drivers/platform_gx.c b/frontend/drivers/platform_gx.c index 5d93c5659b..46f2eca1d9 100644 --- a/frontend/drivers/platform_gx.c +++ b/frontend/drivers/platform_gx.c @@ -254,17 +254,17 @@ static void frontend_gx_init(void *data) #endif #if defined(DEBUG) && defined(IS_SALAMANDER) - VIDEO_Init(); + VIInit(); GXRModeObj *rmode = VIDEO_GetPreferredMode(NULL); void *xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); console_init(xfb, 20, 20, rmode->fbWidth, rmode->xfbHeight, rmode->fbWidth * VI_DISPLAY_PIX_SZ); - VIDEO_Configure(rmode); - VIDEO_SetNextFramebuffer(xfb); - VIDEO_SetBlack(FALSE); - VIDEO_Flush(); - VIDEO_WaitVSync(); - VIDEO_WaitVSync(); + VIConfigure(rmode); + VISetNextFramebuffer(xfb); + VISetBlack(FALSE); + VIFlush(); + VIWaitForRetrace(); + VIWaitForRetrace(); #endif #ifndef DEBUG