Skip to content

Commit

Permalink
Merge pull request #17 from WinterMute/latest-libctru-fixes
Browse files Browse the repository at this point in the history
Latest libctru fixes
  • Loading branch information
mtheall committed Jan 9, 2015
2 parents 1797235 + 41a379f commit 5caad9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions source/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
8 changes: 1 addition & 7 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ main(int argc,
{
#ifdef _3DS
/* initialize needed 3DS services */
srvInit();
aptInit();
hidInit(NULL);
gfxInit();
gfxInitDefault();
gfxSet3D(false);
#endif

Expand All @@ -91,9 +88,6 @@ main(int argc,
#ifdef _3DS
/* deinitialize 3DS services */
gfxExit();
hidExit();
aptExit();
srvExit();
#endif

return 0;
Expand Down

0 comments on commit 5caad9a

Please sign in to comment.