mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 03:11:49 +01:00
Merge pull request #17 from WinterMute/latest-libctru-fixes
Latest libctru fixes
This commit is contained in:
commit
5caad9a1cc
@ -2,6 +2,8 @@
|
||||
#include <3ds.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* Function to draw sprite, from smea/3ds_hb_menu */
|
||||
void gfxDrawSprite(gfxScreen_t screen, gfx3dSide_t side, u8* spriteData, u16 width, u16 height, s16 x, s16 y)
|
||||
{
|
||||
|
@ -63,10 +63,7 @@ main(int argc,
|
||||
{
|
||||
#ifdef _3DS
|
||||
/* initialize needed 3DS services */
|
||||
srvInit();
|
||||
aptInit();
|
||||
hidInit(NULL);
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
gfxSet3D(false);
|
||||
#endif
|
||||
|
||||
@ -91,9 +88,6 @@ main(int argc,
|
||||
#ifdef _3DS
|
||||
/* deinitialize 3DS services */
|
||||
gfxExit();
|
||||
hidExit();
|
||||
aptExit();
|
||||
srvExit();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user