N3DS: Move gfxInit and hidInit from main to video.

This commit is contained in:
Pierre Wendling
2022-09-18 13:46:09 -04:00
committed by Sam Lantinga
parent 266014faa7
commit 83ec6062af
2 changed files with 6 additions and 5 deletions

View File

@@ -49,15 +49,11 @@ N3DS_Init(void)
{
osSetSpeedupEnable(true);
romfsInit();
gfxInit(GSP_RGBA8_OES, GSP_RGBA8_OES, false);
hidInit();
}
SDL_FORCE_INLINE void
N3DS_Quit(void)
{
hidExit();
gfxExit();
romfsExit();
}