N3DS: Move gfxInit and hidInit from main to video.

This commit is contained in:
Pierre Wendling authored and Sam Lantinga committed 2022-10-10 08:50:59 -07:00
1 parent 266014faa7
commit 83ec6062af
2 files changed
+6 -5

No files matched your search

-4
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();
}