]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Thu, 18 Dec 2014 06:28:39 +0000 (22:28 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoadded registers.h
smea [Thu, 18 Dec 2014 06:28:26 +0000 (22:28 -0800)]
added registers.h

10 years agosdmc_open: implement O_EXCL and O_TRUNC
Dave Murphy [Mon, 15 Dec 2014 23:23:04 +0000 (23:23 +0000)]
sdmc_open: implement O_EXCL and O_TRUNC

10 years agostop svcOutputDebugString trashing string
Dave Murphy [Mon, 15 Dec 2014 02:40:11 +0000 (02:40 +0000)]
stop svcOutputDebugString trashing string

10 years agoMerge pull request #52 from Aurelio92/2-new-hid-function
plutoo [Mon, 15 Dec 2014 00:46:49 +0000 (01:46 +0100)]
Merge pull request #52 from Aurelio92/2-new-hid-function

Added 2 hid functions

10 years agoReverting previous commit, fixing more resource leaks
plutoo [Mon, 15 Dec 2014 00:43:18 +0000 (01:43 +0100)]
Reverting previous commit, fixing more resource leaks

10 years agoProposed fix for issue #66
plutoo [Mon, 15 Dec 2014 00:36:25 +0000 (01:36 +0100)]
Proposed fix for issue #66

10 years agoFixed handle leak in httpc
plutoo [Mon, 15 Dec 2014 00:33:37 +0000 (01:33 +0100)]
Fixed handle leak in httpc

10 years agoFix inet_aton.
mtheall [Sun, 14 Dec 2014 20:56:20 +0000 (14:56 -0600)]
Fix inet_aton.

10 years agoAdd a VRAM allocator
fincs [Sun, 14 Dec 2014 16:47:34 +0000 (17:47 +0100)]
Add a VRAM allocator

10 years agoMerge pull request #56 from profi200/master
plutoo [Sat, 13 Dec 2014 23:57:38 +0000 (00:57 +0100)]
Merge pull request #56 from profi200/master

Fixed weird blackscreen issue

10 years agoFixed weird blackscreen issue
profi200 [Sat, 13 Dec 2014 23:21:29 +0000 (00:21 +0100)]
Fixed weird blackscreen issue

10 years agoFix linear.cpp
fincs [Sat, 13 Dec 2014 19:05:48 +0000 (20:05 +0100)]
Fix linear.cpp

10 years agostop building everything when any header changes
Dave Murphy [Sat, 13 Dec 2014 16:36:54 +0000 (16:36 +0000)]
stop building everything when any header changes

10 years agofix PM_LaunchFIRMSetParams and PM_LaunchTitle prototypes
Dave Murphy [Sat, 13 Dec 2014 16:20:54 +0000 (16:20 +0000)]
fix PM_LaunchFIRMSetParams and PM_LaunchTitle prototypes

10 years agoallow redirecting stderr to 3dmoo
Dave Murphy [Sat, 13 Dec 2014 14:03:12 +0000 (14:03 +0000)]
allow redirecting stderr to 3dmoo

10 years agoAdded 2 hid functions
Aurelio Mannara [Sat, 13 Dec 2014 12:10:54 +0000 (13:10 +0100)]
Added 2 hid functions

-Added HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
-Added HIDUSER_GetSoundVolume(u8 *volume)

10 years agorender strikethrough & underline
Dave Murphy [Sat, 13 Dec 2014 03:19:57 +0000 (03:19 +0000)]
render strikethrough & underline

10 years agomake it build
Dave Murphy [Sat, 13 Dec 2014 03:11:21 +0000 (03:11 +0000)]
make it build

10 years agofix formatting
Dave Murphy [Sat, 13 Dec 2014 03:07:41 +0000 (03:07 +0000)]
fix formatting

10 years agounneeded default case
Dave Murphy [Sat, 13 Dec 2014 03:07:00 +0000 (03:07 +0000)]
unneeded default case

10 years agobetter parameter checking
Dave Murphy [Sat, 13 Dec 2014 02:58:07 +0000 (02:58 +0000)]
better parameter checking

10 years agosupport more codes
Dave Murphy [Sat, 13 Dec 2014 02:51:57 +0000 (02:51 +0000)]
support more codes

10 years agointialise parameter, ignore unsupported escapes
Dave Murphy [Sat, 13 Dec 2014 02:40:25 +0000 (02:40 +0000)]
intialise parameter, ignore unsupported escapes

10 years agocheck parameters are valid as we parse
Dave Murphy [Sat, 13 Dec 2014 02:32:21 +0000 (02:32 +0000)]
check parameters are valid as we parse

10 years agouse switch for 'm' parameters
Dave Murphy [Sat, 13 Dec 2014 02:24:24 +0000 (02:24 +0000)]
use switch for 'm' parameters

10 years agouse 3 intensity levels
Dave Murphy [Sat, 13 Dec 2014 02:21:50 +0000 (02:21 +0000)]
use 3 intensity levels

10 years agoadd macro to convert 8bit RGB to RGB565
Dave Murphy [Fri, 12 Dec 2014 22:57:24 +0000 (22:57 +0000)]
add macro to convert 8bit RGB to RGB565

10 years agoallow console on either screen
Dave Murphy [Fri, 12 Dec 2014 13:43:40 +0000 (13:43 +0000)]
allow console on either screen

10 years agofix scroll size
Dave Murphy [Fri, 12 Dec 2014 13:40:54 +0000 (13:40 +0000)]
fix scroll size

10 years agouse word copy for extra speed in console scroll
Dave Murphy [Fri, 12 Dec 2014 12:18:00 +0000 (12:18 +0000)]
use word copy for extra speed in console scroll

10 years agofix console scrolling
Dave Murphy [Fri, 12 Dec 2014 12:05:45 +0000 (12:05 +0000)]
fix console scrolling

10 years agolighten up half bright green
Dave Murphy [Fri, 12 Dec 2014 10:58:16 +0000 (10:58 +0000)]
lighten up half bright green

10 years agofix color code scanning
Dave Murphy [Fri, 12 Dec 2014 09:57:58 +0000 (09:57 +0000)]
fix color code scanning

10 years agoMerge pull request #50 from yuriks/memperm-dontcare
smea [Fri, 12 Dec 2014 03:18:48 +0000 (19:18 -0800)]
Merge pull request #50 from yuriks/memperm-dontcare

Add MEMPERM_DONTCARE to MemPerm

10 years agoadd console
Dave Murphy [Thu, 11 Dec 2014 23:05:29 +0000 (23:05 +0000)]
add console

10 years agouse correct doubleBuf variable
Dave Murphy [Fri, 12 Dec 2014 00:16:23 +0000 (00:16 +0000)]
use correct doubleBuf variable

10 years agoadd macro for building RGB565 colors
Dave Murphy [Thu, 11 Dec 2014 23:03:29 +0000 (23:03 +0000)]
add macro for building RGB565 colors

10 years agoallow independent setting of double buffering
Dave Murphy [Thu, 11 Dec 2014 22:23:58 +0000 (22:23 +0000)]
allow independent setting of double buffering

10 years agoAdd MEMPERM_DONTCARE to MemPerm
Yuri Kunde Schlesner [Thu, 11 Dec 2014 18:44:09 +0000 (16:44 -0200)]
Add MEMPERM_DONTCARE to MemPerm

10 years agoMake soc_fcntl.c more sane.
mtheall [Thu, 11 Dec 2014 14:33:26 +0000 (08:33 -0600)]
Make soc_fcntl.c more sane.

10 years agoCorrect SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field...
fincs [Wed, 10 Dec 2014 23:01:34 +0000 (00:01 +0100)]
Correct SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field correctly]

10 years agoMinor correction
fincs [Wed, 10 Dec 2014 10:00:40 +0000 (11:00 +0100)]
Minor correction

10 years agoMerge pull request #49 from archshift/createfile
Dave Murphy [Wed, 10 Dec 2014 09:23:18 +0000 (09:23 +0000)]
Merge pull request #49 from archshift/createfile

Added CreateFile implementation, tested on hardware.

10 years agoAdded CreateFile implementation, tested on hardware.
archshift [Wed, 10 Dec 2014 08:33:08 +0000 (00:33 -0800)]
Added CreateFile implementation, tested on hardware.

Information about using CreateFile was taken from Steel Diver: Sub Wars with the wonderful help of Citra.

10 years agoMerge pull request #48 from endrift/master
smea [Wed, 10 Dec 2014 06:30:27 +0000 (22:30 -0800)]
Merge pull request #48 from endrift/master

Fix copy/paste error in FSFILE_Write documentation

10 years agoFix copy/paste error in FSFILE_Write documentation
Jeffrey Pfau [Wed, 10 Dec 2014 06:19:57 +0000 (22:19 -0800)]
Fix copy/paste error in FSFILE_Write documentation

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Wed, 10 Dec 2014 05:49:30 +0000 (21:49 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agotemporary solution for 0x10 byte gpucmd alignment
smea [Wed, 10 Dec 2014 05:49:18 +0000 (21:49 -0800)]
temporary solution for 0x10 byte gpucmd alignment

fixes A LOT of gpu related issues

(temporary solution because big gpu refactor is coming soon)

10 years agoset default device so relative paths work in 3dmoo
Dave Murphy [Mon, 8 Dec 2014 23:21:09 +0000 (23:21 +0000)]
set default device so relative paths work in 3dmoo

10 years agoMinor code formatting fix in svc.s
fincs [Mon, 8 Dec 2014 23:15:04 +0000 (00:15 +0100)]
Minor code formatting fix in svc.s

10 years agoMerge pull request #44 from Subv/master
smea [Mon, 8 Dec 2014 23:09:11 +0000 (15:09 -0800)]
Merge pull request #44 from Subv/master

SVC: Implemented svcGetThreadId

10 years agoStyling
Subv [Mon, 8 Dec 2014 23:05:46 +0000 (18:05 -0500)]
Styling

10 years agoSVC: Implemented svcGetThreadId
Subv [Thu, 4 Dec 2014 02:15:38 +0000 (21:15 -0500)]
SVC: Implemented svcGetThreadId

10 years agoMerge pull request #45 from Subv/semaphores
smea [Mon, 8 Dec 2014 23:02:19 +0000 (15:02 -0800)]
Merge pull request #45 from Subv/semaphores

Added svcReleaseSemaphore and svcCreateSemaphore

10 years agoUpdate poll.h
mtheall [Mon, 8 Dec 2014 22:19:07 +0000 (16:19 -0600)]
Update poll.h

10 years agoUpdate poll.h
mtheall [Mon, 8 Dec 2014 18:12:34 +0000 (12:12 -0600)]
Update poll.h

10 years agoAdd gfxSetDoubleBuffering() for disabling double-buffering
fincs [Mon, 8 Dec 2014 14:57:39 +0000 (15:57 +0100)]
Add gfxSetDoubleBuffering() for disabling double-buffering

10 years agoAdded svcReleaseSemaphore and svcCreateSemaphore.
Subv [Thu, 4 Dec 2014 17:04:59 +0000 (12:04 -0500)]
Added svcReleaseSemaphore and svcCreateSemaphore.

Tested.

10 years agobump version for release, add dist target v0.2.0
Dave Murphy [Fri, 5 Dec 2014 13:57:50 +0000 (13:57 +0000)]
bump version for release, add dist target

10 years agoRevert "Update example makefiles"
Dave Murphy [Fri, 5 Dec 2014 13:47:57 +0000 (13:47 +0000)]
Revert "Update example makefiles"

This reverts commit 0f93112ecb43ae145c7e5e353e1e378de31c4a33.

10 years agoRevert "Switch to -mfloat-abi=hard, bump version to 0.2.0"
Dave Murphy [Fri, 5 Dec 2014 13:47:05 +0000 (13:47 +0000)]
Revert "Switch to -mfloat-abi=hard, bump version to 0.2.0"

This reverts commit 3f9e0a630bd72c58df546cb4c4c837c37d429659.

10 years agoAdd getThreadLocalStorage(), major cleanup in svc.h/svc.s
fincs [Wed, 3 Dec 2014 22:40:49 +0000 (23:40 +0100)]
Add getThreadLocalStorage(), major cleanup in svc.h/svc.s

10 years agoUpdate example makefiles
fincs [Wed, 3 Dec 2014 20:25:32 +0000 (21:25 +0100)]
Update example makefiles

10 years agoAdd SMDH embedding to the template
fincs [Wed, 3 Dec 2014 20:24:46 +0000 (21:24 +0100)]
Add SMDH embedding to the template

10 years agoSwitch to -mfloat-abi=hard, bump version to 0.2.0
fincs [Wed, 3 Dec 2014 20:24:22 +0000 (21:24 +0100)]
Switch to -mfloat-abi=hard, bump version to 0.2.0

10 years agosdmc_dev.c: do not redefine __system_argc/argv
fincs [Thu, 4 Dec 2014 10:23:40 +0000 (11:23 +0100)]
sdmc_dev.c: do not redefine __system_argc/argv

10 years agoimplement chdir & relative path support
Dave Murphy [Thu, 4 Dec 2014 00:29:35 +0000 (00:29 +0000)]
implement chdir & relative path support

10 years agoFixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32.
yellows8 [Wed, 3 Dec 2014 16:06:01 +0000 (11:06 -0500)]
Fixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32.

10 years agoAdd svcSetThreadPriority
fincs [Sat, 29 Nov 2014 20:40:59 +0000 (21:40 +0100)]
Add svcSetThreadPriority

10 years agoFix HOME button shiz.
StapleButter [Sat, 29 Nov 2014 20:04:03 +0000 (21:04 +0100)]
Fix HOME button shiz.
(apparently APP_APPLETSTARTED happens when pressing the HOME button and causes aptWaitStatusEvent() to end prematurely)

10 years agoSleep mode fixes.
StapleButter [Sat, 29 Nov 2014 18:39:00 +0000 (19:39 +0100)]
Sleep mode fixes.

10 years agoFixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocat...
yellows8 [Sat, 29 Nov 2014 00:28:59 +0000 (19:28 -0500)]
Fixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocating linearmem, in initSystem.c.

10 years agoosGetTime(): avoid using u64<->double conversions (not supported by VFP)
fincs [Fri, 28 Nov 2014 22:54:32 +0000 (23:54 +0100)]
osGetTime(): avoid using u64<->double conversions (not supported by VFP)

10 years agofix examples for unpolluted libctru headers
Dave Murphy [Fri, 28 Nov 2014 21:34:46 +0000 (21:34 +0000)]
fix examples for unpolluted libctru headers

10 years agostop polluting 3ds headers with extra system headers
Dave Murphy [Fri, 28 Nov 2014 13:13:34 +0000 (13:13 +0000)]
stop polluting 3ds headers with extra system headers

10 years agoAdded more code to aptAppletUtility_Exit_RetToApp() for when a library applet is...
yellows8 [Fri, 28 Nov 2014 07:12:49 +0000 (02:12 -0500)]
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.

10 years agoAdded note about broken applet process termination with APT_LaunchLibraryApplet().
yellows8 [Fri, 28 Nov 2014 06:26:20 +0000 (01:26 -0500)]
Added note about broken applet process termination with APT_LaunchLibraryApplet().

10 years agoAdded comments to GSP_FramebufferFormats for the pixel byte-sizes.
yellows8 [Thu, 27 Nov 2014 16:27:21 +0000 (11:27 -0500)]
Added comments to GSP_FramebufferFormats for the pixel byte-sizes.

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
yellows8 [Thu, 27 Nov 2014 03:13:12 +0000 (22:13 -0500)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoAdded library applet launching example, this isn't usable from the homebrew launcher.
yellows8 [Thu, 27 Nov 2014 03:12:20 +0000 (22:12 -0500)]
Added library applet launching example, this isn't usable from the homebrew launcher.

10 years agoMerge branch 'master' of https://github.com/smealum/ctrulib
plutoo [Wed, 26 Nov 2014 00:33:03 +0000 (01:33 +0100)]
Merge branch 'master' of https://github.com/smealum/ctrulib

10 years agoadded gfxSetScreenFormat
plutoo [Wed, 26 Nov 2014 00:32:47 +0000 (01:32 +0100)]
added gfxSetScreenFormat

10 years agoUpdated mic example. Returning from the example then launching it again via hbmenu...
yellows8 [Tue, 25 Nov 2014 04:42:47 +0000 (23:42 -0500)]
Updated mic example. Returning from the example then launching it again via hbmenu is broken.

10 years agoFixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHand...
yellows8 [Tue, 25 Nov 2014 04:22:24 +0000 (23:22 -0500)]
Fixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHandle().

10 years agoAdded warning in the mic example README regarding broken MIC.
yellows8 [Tue, 25 Nov 2014 04:05:58 +0000 (23:05 -0500)]
Added warning in the mic example README regarding broken MIC.

10 years agoFixed svcWaitSynchronizationN, previously this didn't save/restore r4 on the stack.
yellows8 [Tue, 25 Nov 2014 03:58:07 +0000 (22:58 -0500)]
Fixed svcWaitSynchronizationN, previously this didn't save/restore r4 on the stack.

10 years agoMerge pull request #40 from lioncash/va
mtheall [Mon, 24 Nov 2014 14:15:29 +0000 (08:15 -0600)]
Merge pull request #40 from lioncash/va

soc_ioctl: Add a missing va_end call

10 years agosoc_ioctl: Add a missing va_end call
Lioncash [Mon, 24 Nov 2014 13:31:41 +0000 (08:31 -0500)]
soc_ioctl: Add a missing va_end call

10 years agoRemoved debug code(exception triggers on failure) in httpc.c.
yellows8 [Mon, 24 Nov 2014 03:10:16 +0000 (22:10 -0500)]
Removed debug code(exception triggers on failure) in httpc.c.

10 years agoMerge pull request #39 from Lectem/patch-2
smea [Sun, 23 Nov 2014 22:24:25 +0000 (14:24 -0800)]
Merge pull request #39 from Lectem/patch-2

added svcCloseHandle to FSDIR_Close()

10 years agoadded svcCloseHandle to FSDIR_Close()
Lectem [Sun, 23 Nov 2014 21:58:11 +0000 (22:58 +0100)]
added svcCloseHandle to FSDIR_Close()

FSDIR_Close() and FSFILE_Close() should have the same behavior

10 years agoMerge pull request #38 from Lectem/patch-1
plutoo [Sun, 23 Nov 2014 19:58:58 +0000 (20:58 +0100)]
Merge pull request #38 from Lectem/patch-1

added fsExit

10 years agoadded fsExit
Lectem [Sun, 23 Nov 2014 19:57:57 +0000 (20:57 +0100)]
added fsExit

10 years agoMerge pull request #30 from Subv/cfgu_2
smea [Sun, 23 Nov 2014 02:26:35 +0000 (18:26 -0800)]
Merge pull request #30 from Subv/cfgu_2

Added more cfg:u functions

10 years agoMerge pull request #37 from yuriks/patch-1
smea [Sun, 23 Nov 2014 02:22:26 +0000 (18:22 -0800)]
Merge pull request #37 from yuriks/patch-1

Fix documentation mistakes

10 years agoFix documentation mistakes
Yuri Kunde Schlesner [Sun, 23 Nov 2014 02:18:36 +0000 (00:18 -0200)]
Fix documentation mistakes

10 years agoMerge pull request #36 from yuriks/fs-rename
smea [Sat, 22 Nov 2014 22:18:43 +0000 (14:18 -0800)]
Merge pull request #36 from yuriks/fs-rename

Add FSUSER_RenameFile and FSUSER_RenameDirectory

10 years agoAdd FSUSER_RenameFile and FSUSER_RenameDirectory
Yuri Kunde Schlesner [Sat, 22 Nov 2014 22:10:00 +0000 (20:10 -0200)]
Add FSUSER_RenameFile and FSUSER_RenameDirectory

10 years agoMerge pull request #35 from ThibG/master
plutoo [Sat, 22 Nov 2014 21:14:18 +0000 (22:14 +0100)]
Merge pull request #35 from ThibG/master

Implement PTMU_GetShellState and PTMU_GetPedometerState