Commit Graph

1576 Commits

Author SHA1 Message Date
smea
5ecb358b56 fixed sdmc example 2014-11-19 15:53:36 -08:00
yellows8
ce226ec1b2 Updated mvd code and added an example. 2014-11-19 16:37:02 -05:00
yellows8
c60bdb3670 With RUNFLAG_APTWORKAROUND enabled, at the start of aptReturnToMenu just set the status to APP_EXITING then return(this func won't actually get executed with RUNFLAG_APTWORKAROUND atm). Updated __handle_notification() to check for errors from APT_InquireNotification. In aptExit only call the applet-utility code when RUNFLAG_APTWORKAROUND is not set. Minor other changes. Fixed APT_CheckNew3DS code so that it properly only uses one of the APT cmds. 2014-11-18 23:48:50 -05:00
mtheall
8a3f532967 Add sdmc.h 2014-11-17 22:33:09 -06:00
yellows8
224a05a39e Merge pull request #22 from profi200/master
Added functions for launching other apps/applets
2014-11-17 23:22:03 -05:00
yellows8
bd9c33e139 Fixed broken path code in sdmc_dev.c. Disabled attributes code in sdmc_open() for now, since that was causing file truncation(even with read-only file opening). 2014-11-16 21:12:24 -05:00
smea
b30a8d4d3d gpu stuffs 2014-11-15 14:08:45 -08:00
smea
3dfe1f6d04 Merge branch 'master' of github.com:smealum/ctrulib 2014-11-12 22:08:40 -08:00
smea
b6b25b0163 fixed initArgv 2014-11-12 22:08:31 -08:00
profi200
aa2b5d1464 Little fix 2014-11-11 15:07:23 +01:00
StapleButter
6e9cd355a5 Scissor test.
(if calling SetScissorTest right after SetViewport, call FinishDrawing inbetween)
2014-11-11 00:12:31 +01:00
profi200
b17a53fefc Makefile updated, added another note to the README.md file andremoved the svcSleepThread() call 2014-11-10 22:30:07 +01:00
profi200
8aee967e53 Forget the README 2014-11-10 19:23:15 +01:00
profi200
bcd91a9e81 Oops that should not be included 2014-11-10 17:38:50 +01:00
profi200
ffe682941f Added example for launching apps/applets 2014-11-10 17:34:11 +01:00
profi200
16ce5f4c7b Added functions for launching other apps/applets 2014-11-10 17:03:41 +01:00
smea
bb1bb0f554 Merge branch 'master' of github.com:smealum/ctrulib 2014-11-09 00:40:35 -08:00
smea
c1f6773fb6 GPUCMD_GetBuffer, GPUCMD_AddRawCommands 2014-11-09 00:40:23 -08:00
fincs
cf60fb7d0b Make GX_* functions accept NULL in order to use default GX cmdbuf 2014-11-08 23:28:51 +01:00
fincs
abc3530f57 Add gxCmdBuf to headers 2014-11-08 23:21:41 +01:00
fincs
fab8bc25eb Minor Makefile correction 2014-11-08 13:49:39 +01:00
fincs
a667faa094 Update examples with new makefile (and remove obsolete arm11u example) 2014-11-07 19:13:47 +01:00
fincs
f62297a438 Add 3DS application template 2014-11-07 19:12:43 +01:00
yellows8
6d2a0f5fa3 Started implementing code for new3ds mvd. Added osConvertOldLINEARMemToNew(). 2014-11-06 19:02:55 -05:00
fincs
d95e95cf13 Merge branch 'master' of github.com:smealum/ctrulib 2014-11-05 20:59:15 +01:00
fincs
562cc896a1 Add linearMemAlign() (current implementation sucks) 2014-11-05 20:58:50 +01:00
smea
5652a0f0fa macros for texture parameters 2014-11-05 10:32:30 -08:00
fincs
e460e6a673 aptMainLoop(): Add handling for APP_PREPARE_SLEEPMODE 2014-11-05 00:24:24 +01:00
fincs
e4aeaba747 Attempt to fix APT hang during startup due to bad event handling 2014-11-04 21:41:31 +01:00
fincs
a77e8ae1cd Add linearSpaceFree() for retrieving the free space in the linear heap 2014-11-03 20:20:33 +01:00
smea
c7be1e415f Merge branch 'master' of github.com:smealum/ctrulib 2014-11-02 21:11:13 -08:00
smea
974b1094f3 GPUCMD_FlushAndRun 2014-11-02 21:10:56 -08:00
fincs
7f10ad4097 Add aptMainLoop() for handling APT events in main() 2014-11-02 18:58:37 +01:00
yellows8
3135d1c344 Updated APT_CheckNew3DS to only use the APT cmds once(which also now calls aptOpenSession/aptCloseSession), then store the output value in a flag which is then used for all future APT_CheckNew3DS calls. Updated HID init/shutdown code to automatically call irrst init/shutdown code when running on new3ds. Updated irrst init code to only do init when it wasn't already initialized, likewise for the irrst shutdown code. 2014-11-01 23:48:35 -04:00
yellows8
4e90fbb905 Updated CheckNew3DS code. Now the out value is cleared first, then the out value is only set to the cmdreply data when ret is zero. 2014-11-01 22:11:19 -04:00
yellows8
c8795b1b79 Added APT CheckNew3DS code. Added code for attempting to use the other APT services when APT:U isn't accessible. 2014-11-01 21:39:18 -04:00
StapleButter
c38276e37d Add timer-related SVC calls. 2014-10-31 01:17:43 +01:00
plutoo
4982d1042a Merge pull request #21 from profi200/master
Fixed cmds
2014-10-30 23:39:17 +01:00
mtheall
0d6365aa2f use ARCH_SDMC for archive id 2014-10-30 15:40:19 -05:00
mtheall
c8a3207c42 fix typo 2014-10-30 13:52:30 -05:00
mtheall
498bc24808 return offset in sdmc_seek 2014-10-30 13:49:00 -05:00
mtheall
cdd066a4ba Merge branch 'refactor' 2014-10-30 13:39:47 -05:00
mtheall
a9d2f7b97f start sdmc devoptab 2014-10-30 13:34:13 -05:00
profi200
0570a8c02c Fixed cmds 2014-10-30 19:09:09 +01:00
smea
58a1f0c68e plugged a bunch of handle leaks ! 2014-10-29 21:26:58 -07:00
smea
08f8caf924 Merge pull request #20 from idunoe/master
Defined FS archive ids
2014-10-27 09:31:10 -07:00
fincs
76d55fc97a Fix APT initialization code when RUNFLAG_APTWORKAROUND is set 2014-10-27 17:30:55 +01:00
idunoe
df841d272b Removed magic number from sdmc example 2014-10-27 22:59:14 +08:00
idunoe
ff2a97e35a Added archive ids to fs.h 2014-10-27 22:56:01 +08:00
StapleButter
afd2140cb7 Create APT event handler thread as soon as possible, and complete initialization automatically when needed. No more 'call aptSetupEventHandler() as late as possible' shit.
Adapt examples to the changes (not tested).
2014-10-27 15:37:30 +01:00