mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2025-02-17 03:26:20 +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>
|
#include <3ds.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* Function to draw sprite, from smea/3ds_hb_menu */
|
/* 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)
|
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
|
#ifdef _3DS
|
||||||
/* initialize needed 3DS services */
|
/* initialize needed 3DS services */
|
||||||
srvInit();
|
gfxInitDefault();
|
||||||
aptInit();
|
|
||||||
hidInit(NULL);
|
|
||||||
gfxInit();
|
|
||||||
gfxSet3D(false);
|
gfxSet3D(false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -91,9 +88,6 @@ main(int argc,
|
|||||||
#ifdef _3DS
|
#ifdef _3DS
|
||||||
/* deinitialize 3DS services */
|
/* deinitialize 3DS services */
|
||||||
gfxExit();
|
gfxExit();
|
||||||
hidExit();
|
|
||||||
aptExit();
|
|
||||||
srvExit();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user