(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
|
#endif
|
||||||
|
|
||||||
#if defined(DEBUG) && defined(IS_SALAMANDER)
|
#if defined(DEBUG) && defined(IS_SALAMANDER)
|
||||||
VIDEO_Init();
|
VIInit();
|
||||||
GXRModeObj *rmode = VIDEO_GetPreferredMode(NULL);
|
GXRModeObj *rmode = VIDEO_GetPreferredMode(NULL);
|
||||||
void *xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
|
void *xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
|
||||||
console_init(xfb, 20, 20, rmode->fbWidth,
|
console_init(xfb, 20, 20, rmode->fbWidth,
|
||||||
rmode->xfbHeight, rmode->fbWidth * VI_DISPLAY_PIX_SZ);
|
rmode->xfbHeight, rmode->fbWidth * VI_DISPLAY_PIX_SZ);
|
||||||
VIDEO_Configure(rmode);
|
VIConfigure(rmode);
|
||||||
VIDEO_SetNextFramebuffer(xfb);
|
VISetNextFramebuffer(xfb);
|
||||||
VIDEO_SetBlack(FALSE);
|
VISetBlack(FALSE);
|
||||||
VIDEO_Flush();
|
VIFlush();
|
||||||
VIDEO_WaitVSync();
|
VIWaitForRetrace();
|
||||||
VIDEO_WaitVSync();
|
VIWaitForRetrace();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
|
|
Loading…
Reference in New Issue