mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(GX) Rename to official SDK functions through macros
This commit is contained in:
parent
2bd8c2ae0b
commit
b4432f7a0c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user