Merge pull request #17 from WinterMute/latest-libctru-fixes

Latest libctru fixes
This commit is contained in:
mtheall 2015-01-09 14:29:45 -06:00
commit 5caad9a1cc
2 changed files with 3 additions and 7 deletions

View File

@ -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)
{

View File

@ -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;