Commit Graph

465 Commits

Author SHA1 Message Date
Dave Murphy
c60bb132b1 Merge pull request #49 from archshift/createfile
Added CreateFile implementation, tested on hardware.
2014-12-10 09:23:18 +00:00
archshift
3da1a19f0c Added CreateFile implementation, tested on hardware.
Information about using CreateFile was taken from Steel Diver: Sub Wars with the wonderful help of Citra.
2014-12-10 00:33:08 -08:00
smea
0a78fb140c Merge pull request #48 from endrift/master
Fix copy/paste error in FSFILE_Write documentation
2014-12-09 22:30:27 -08:00
Jeffrey Pfau
31a8beb120 Fix copy/paste error in FSFILE_Write documentation 2014-12-09 22:20:31 -08:00
smea
1322d44f22 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-09 21:49:30 -08:00
smea
c282d4262e temporary solution for 0x10 byte gpucmd alignment
fixes A LOT of gpu related issues

(temporary solution because big gpu refactor is coming soon)
2014-12-09 21:49:18 -08:00
Dave Murphy
88bef35b8f set default device so relative paths work in 3dmoo 2014-12-08 23:21:46 +00:00
fincs
4b4b781ec3 Minor code formatting fix in svc.s 2014-12-09 00:15:04 +01:00
smea
56d3d79eae Merge pull request #44 from Subv/master
SVC: Implemented svcGetThreadId
2014-12-08 15:09:11 -08:00
Subv
e0bf993fd9 Styling 2014-12-08 18:05:46 -05:00
Subv
a2d2f4483e SVC: Implemented svcGetThreadId 2014-12-08 18:04:31 -05:00
smea
a9f68cde3b Merge pull request #45 from Subv/semaphores
Added svcReleaseSemaphore and svcCreateSemaphore
2014-12-08 15:02:19 -08:00
mtheall
f02082048f Update poll.h 2014-12-08 16:19:07 -06:00
mtheall
8536e1e6ef Update poll.h 2014-12-08 12:12:34 -06:00
fincs
b5723c9209 Add gfxSetDoubleBuffering() for disabling double-buffering 2014-12-08 15:57:39 +01:00
Subv
a85c6edfaa Added svcReleaseSemaphore and svcCreateSemaphore.
Tested.
2014-12-05 14:57:51 -05:00
Dave Murphy
6a195608aa bump version for release, add dist target 2014-12-05 13:57:50 +00:00
Dave Murphy
2d25b0359f Revert "Update example makefiles"
This reverts commit 0f93112ecb.
2014-12-05 13:47:57 +00:00
Dave Murphy
1aae1b2cd9 Revert "Switch to -mfloat-abi=hard, bump version to 0.2.0"
This reverts commit 3f9e0a630b.
2014-12-05 13:47:05 +00:00
fincs
377e753b7d Add getThreadLocalStorage(), major cleanup in svc.h/svc.s 2014-12-05 14:13:18 +01:00
fincs
0f93112ecb Update example makefiles 2014-12-05 14:13:17 +01:00
fincs
2d072ab9aa Add SMDH embedding to the template 2014-12-05 14:13:17 +01:00
fincs
3f9e0a630b Switch to -mfloat-abi=hard, bump version to 0.2.0 2014-12-05 14:13:16 +01:00
fincs
bacd6f09ca sdmc_dev.c: do not redefine __system_argc/argv 2014-12-04 11:23:40 +01:00
Dave Murphy
1bc0073bd3 implement chdir & relative path support 2014-12-04 00:29:35 +00:00
yellows8
7c13463969 Fixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32. 2014-12-03 11:06:01 -05:00
fincs
ac0e9ef9ca Add svcSetThreadPriority 2014-11-29 21:40:59 +01:00
StapleButter
c75ed65d8b Fix HOME button shiz.
(apparently APP_APPLETSTARTED happens when pressing the HOME button and causes aptWaitStatusEvent() to end prematurely)
2014-11-29 21:04:03 +01:00
StapleButter
32f8e69b96 Sleep mode fixes. 2014-11-29 19:39:00 +01:00
yellows8
58192c8683 Fixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocating linearmem, in initSystem.c. 2014-11-28 19:28:59 -05:00
fincs
a8e08d4138 osGetTime(): avoid using u64<->double conversions (not supported by VFP) 2014-11-28 23:54:32 +01:00
Dave Murphy
ac4c183868 fix examples for unpolluted libctru headers 2014-11-28 21:34:46 +00:00
Dave Murphy
ea97e7a529 stop polluting 3ds headers with extra system headers 2014-11-28 13:13:34 +00:00
yellows8
8dbe9d9128 Added more code to aptAppletUtility_Exit_RetToApp() for when a library applet is closing, but this still doesn't fix the broken applet process termination. 2014-11-28 02:12:49 -05:00
yellows8
56b1c2755c Added note about broken applet process termination with APT_LaunchLibraryApplet(). 2014-11-28 01:26:20 -05:00
yellows8
58b988ab97 Added comments to GSP_FramebufferFormats for the pixel byte-sizes. 2014-11-27 11:27:21 -05:00
yellows8
18a8f6bff4 Merge branch 'master' of github.com:smealum/ctrulib 2014-11-26 22:13:12 -05:00
yellows8
866cb1ff56 Added library applet launching example, this isn't usable from the homebrew launcher. 2014-11-26 22:12:20 -05:00
plutoo
49ab752427 Merge branch 'master' of https://github.com/smealum/ctrulib 2014-11-26 01:33:03 +01:00
plutoo
c5aa5ebbbc added gfxSetScreenFormat 2014-11-26 01:32:47 +01:00
yellows8
6adaa95c18 Updated mic example. Returning from the example then launching it again via hbmenu is broken. 2014-11-24 23:42:47 -05:00
yellows8
300a0ed125 Fixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHandle(). 2014-11-24 23:22:24 -05:00
yellows8
ffef3fd06b Added warning in the mic example README regarding broken MIC. 2014-11-24 23:05:58 -05:00
yellows8
c91921616e Fixed svcWaitSynchronizationN, previously this didn't save/restore r4 on the stack. 2014-11-24 22:58:07 -05:00
mtheall
d5bb0323a5 Merge pull request #40 from lioncash/va
soc_ioctl: Add a missing va_end call
2014-11-24 08:15:29 -06:00
Lioncash
15cd3bd2c3 soc_ioctl: Add a missing va_end call 2014-11-24 08:31:41 -05:00
yellows8
165e50091c Removed debug code(exception triggers on failure) in httpc.c. 2014-11-23 22:10:16 -05:00
smea
037b814386 Merge pull request #39 from Lectem/patch-2
added svcCloseHandle to FSDIR_Close()
2014-11-23 14:24:25 -08:00
Lectem
3a47113dab added svcCloseHandle to FSDIR_Close()
FSDIR_Close() and FSFILE_Close() should have the same behavior
2014-11-23 22:58:11 +01:00
plutoo
04695f3039 Merge pull request #38 from Lectem/patch-1
added fsExit
2014-11-23 20:58:58 +01:00