]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
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

10 years agoImplement PTMU_GetShellState and PTMU_GetPedometerState
Thibaut Girka [Sat, 22 Nov 2014 19:56:55 +0000 (20:56 +0100)]
Implement PTMU_GetShellState and PTMU_GetPedometerState

10 years agoMerge pull request #31 from Subv/ptm_u
plutoo [Sat, 22 Nov 2014 20:23:36 +0000 (21:23 +0100)]
Merge pull request #31 from Subv/ptm_u

Added the PTMU_GetTotalStepCount function

10 years agoremove instructions for manually patching devkitARM
Dave Murphy [Sat, 22 Nov 2014 20:17:41 +0000 (20:17 +0000)]
remove instructions for manually patching devkitARM

10 years agoMerge pull request #33 from minexew/master
smea [Sat, 22 Nov 2014 18:51:12 +0000 (10:51 -0800)]
Merge pull request #33 from minexew/master

Fix error in GPU example

10 years agoFix incorrect uniform setting in examples/gpu
Xeatheran Minexew [Sat, 22 Nov 2014 14:27:12 +0000 (15:27 +0100)]
Fix incorrect uniform setting in examples/gpu

10 years agoFix previous half-baked commit
Xeatheran Minexew [Sat, 22 Nov 2014 14:26:56 +0000 (15:26 +0100)]
Fix previous half-baked commit

10 years agoUpdated httpc code and added an example.
yellows8 [Sat, 22 Nov 2014 05:43:39 +0000 (00:43 -0500)]
Updated httpc code and added an example.

10 years agoAdded the PTMU_GetTotalStepCount function
Subv [Sat, 22 Nov 2014 04:36:48 +0000 (23:36 -0500)]
Added the PTMU_GetTotalStepCount function

10 years agoAdded more cfg:u functions
Subv [Sat, 22 Nov 2014 03:40:23 +0000 (22:40 -0500)]
Added more cfg:u functions

GetRegionCanadaUSA
GetModelNintendo2DS
GetCountryCodeString

10 years agoMerge pull request #29 from Subv/cfg_u
smea [Sat, 22 Nov 2014 03:19:57 +0000 (19:19 -0800)]
Merge pull request #29 from Subv/cfg_u

Added the cfg:u service

10 years agoAddressed some style issues
Subv [Sat, 22 Nov 2014 03:12:34 +0000 (22:12 -0500)]
Addressed some style issues

10 years agoAdded a file for the cfg:u service.
Subv [Sat, 22 Nov 2014 03:08:05 +0000 (22:08 -0500)]
Added a file for the cfg:u service.

Implemented the CFGU_GetSystemModel function

10 years agoFix typo in soc_ioctl.c
fincs [Fri, 21 Nov 2014 22:51:06 +0000 (23:51 +0100)]
Fix typo in soc_ioctl.c

10 years agolinear heap allocator: use rbtree to store allocation size information
fincs [Fri, 21 Nov 2014 22:44:57 +0000 (23:44 +0100)]
linear heap allocator: use rbtree to store allocation size information

10 years agoMake SHDR_GetUniformRegister name argument const
Xeatheran Minexew [Fri, 21 Nov 2014 21:42:25 +0000 (22:42 +0100)]
Make SHDR_GetUniformRegister name argument const

10 years agoAdd errno to error cases for FIONBIO.
mtheall [Fri, 21 Nov 2014 17:06:32 +0000 (11:06 -0600)]
Add errno to error cases for FIONBIO.

10 years agoUpdate Makefile in examples
fincs [Fri, 21 Nov 2014 15:53:28 +0000 (16:53 +0100)]
Update Makefile in examples

10 years agoMerge pull request #26 from lioncash/va
fincs [Fri, 21 Nov 2014 15:52:48 +0000 (16:52 +0100)]
Merge pull request #26 from lioncash/va

soc_ioctl: Add missing va_end call

10 years agosoc_ioctl: Add missing va_end call
Lioncash [Fri, 21 Nov 2014 12:47:24 +0000 (07:47 -0500)]
soc_ioctl: Add missing va_end call

10 years agoremove temp check for CTRULIB
Dave Murphy [Fri, 21 Nov 2014 09:26:12 +0000 (09:26 +0000)]
remove temp check for CTRULIB

10 years agoAdded code for APT_IsRegistered. Added code for launching library applets, which...
yellows8 [Fri, 21 Nov 2014 05:33:14 +0000 (00:33 -0500)]
Added code for APT_IsRegistered. Added code for launching library applets, which isn't usable from the homebrew launcher atm.

10 years agoignore generated archives
Dave Murphy [Thu, 20 Nov 2014 22:47:34 +0000 (22:47 +0000)]
ignore generated archives

10 years agoadd versioning, install and dist targets
Dave Murphy [Thu, 20 Nov 2014 22:47:08 +0000 (22:47 +0000)]
add versioning, install and dist targets

10 years agoOverhauled soc service.
mtheall [Thu, 20 Nov 2014 21:36:50 +0000 (15:36 -0600)]
Overhauled soc service.

10 years agoAdded svcCreateAddressArbiter() and svcArbitrateAddress()
mtheall [Thu, 20 Nov 2014 21:33:21 +0000 (15:33 -0600)]
Added svcCreateAddressArbiter() and svcArbitrateAddress()

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
mtheall [Thu, 20 Nov 2014 21:29:37 +0000 (15:29 -0600)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoAdd rbtree
mtheall [Thu, 20 Nov 2014 21:28:13 +0000 (15:28 -0600)]
Add rbtree

10 years agoMerge pull request #24 from profi200/master
plutoo [Thu, 20 Nov 2014 18:24:30 +0000 (19:24 +0100)]
Merge pull request #24 from profi200/master

Added comments to the app_launch example

10 years agoAdded comments to the app_launch example for better understanding for beginners
profi200 [Thu, 20 Nov 2014 13:58:24 +0000 (14:58 +0100)]
Added comments to the app_launch example for better understanding for beginners

10 years agoadded prototype to soc.h
smea [Thu, 20 Nov 2014 11:05:51 +0000 (03:05 -0800)]
added prototype to soc.h

10 years agoadded APT_HardwareResetAsync (tested)
smea [Thu, 20 Nov 2014 01:25:40 +0000 (17:25 -0800)]
added APT_HardwareResetAsync (tested)

10 years agorewrote GPU examples/gpu/data/test.vsh
smea [Thu, 20 Nov 2014 01:13:43 +0000 (17:13 -0800)]
rewrote GPU examples/gpu/data/test.vsh

10 years agofixed sdmc example
smea [Wed, 19 Nov 2014 23:53:36 +0000 (15:53 -0800)]
fixed sdmc example

10 years agoUpdated mvd code and added an example.
yellows8 [Wed, 19 Nov 2014 21:37:02 +0000 (16:37 -0500)]
Updated mvd code and added an example.

10 years agoWith RUNFLAG_APTWORKAROUND enabled, at the start of aptReturnToMenu just set the...
yellows8 [Wed, 19 Nov 2014 04:48:50 +0000 (23:48 -0500)]
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.

10 years agoAdd sdmc.h
mtheall [Tue, 18 Nov 2014 04:33:09 +0000 (22:33 -0600)]
Add sdmc.h

10 years agoMerge pull request #22 from profi200/master
yellows8 [Tue, 18 Nov 2014 04:22:03 +0000 (23:22 -0500)]
Merge pull request #22 from profi200/master

Added functions for launching other apps/applets

10 years agoFixed broken path code in sdmc_dev.c. Disabled attributes code in sdmc_open() for...
yellows8 [Mon, 17 Nov 2014 02:12:24 +0000 (21:12 -0500)]
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).

10 years agogpu stuffs
smea [Sat, 15 Nov 2014 22:08:45 +0000 (14:08 -0800)]
gpu stuffs

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Thu, 13 Nov 2014 06:08:40 +0000 (22:08 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agofixed initArgv
smea [Thu, 13 Nov 2014 06:08:31 +0000 (22:08 -0800)]
fixed initArgv

10 years agoLittle fix
profi200 [Tue, 11 Nov 2014 14:07:23 +0000 (15:07 +0100)]
Little fix

10 years agoScissor test.
StapleButter [Mon, 10 Nov 2014 23:12:31 +0000 (00:12 +0100)]
Scissor test.

(if calling SetScissorTest right after SetViewport, call FinishDrawing inbetween)

10 years agoMakefile updated, added another note to the README.md file andremoved the svcSleepThr...
profi200 [Mon, 10 Nov 2014 21:30:07 +0000 (22:30 +0100)]
Makefile updated, added another note to the README.md file andremoved the svcSleepThread() call

10 years agoForget the README
profi200 [Mon, 10 Nov 2014 18:23:15 +0000 (19:23 +0100)]
Forget the README

10 years agoOops that should not be included
profi200 [Mon, 10 Nov 2014 16:38:50 +0000 (17:38 +0100)]
Oops that should not be included

10 years agoAdded example for launching apps/applets
profi200 [Mon, 10 Nov 2014 16:34:11 +0000 (17:34 +0100)]
Added example for launching apps/applets

10 years agoAdded functions for launching other apps/applets
profi200 [Mon, 10 Nov 2014 16:03:41 +0000 (17:03 +0100)]
Added functions for launching other apps/applets

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 9 Nov 2014 08:40:35 +0000 (00:40 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoGPUCMD_GetBuffer, GPUCMD_AddRawCommands
smea [Sun, 9 Nov 2014 08:40:23 +0000 (00:40 -0800)]
GPUCMD_GetBuffer, GPUCMD_AddRawCommands

10 years agoMake GX_* functions accept NULL in order to use default GX cmdbuf
fincs [Sat, 8 Nov 2014 22:28:51 +0000 (23:28 +0100)]
Make GX_* functions accept NULL in order to use default GX cmdbuf

10 years agoAdd gxCmdBuf to headers
fincs [Sat, 8 Nov 2014 22:21:41 +0000 (23:21 +0100)]
Add gxCmdBuf to headers

10 years agoMinor Makefile correction
fincs [Sat, 8 Nov 2014 12:49:39 +0000 (13:49 +0100)]
Minor Makefile correction

10 years agoUpdate examples with new makefile (and remove obsolete arm11u example)
fincs [Fri, 7 Nov 2014 18:13:47 +0000 (19:13 +0100)]
Update examples with new makefile (and remove obsolete arm11u example)

10 years agoAdd 3DS application template
fincs [Fri, 7 Nov 2014 18:12:43 +0000 (19:12 +0100)]
Add 3DS application template

10 years agoStarted implementing code for new3ds mvd. Added osConvertOldLINEARMemToNew().
yellows8 [Fri, 7 Nov 2014 00:02:55 +0000 (19:02 -0500)]
Started implementing code for new3ds mvd. Added osConvertOldLINEARMemToNew().

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
fincs [Wed, 5 Nov 2014 19:59:15 +0000 (20:59 +0100)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoAdd linearMemAlign() (current implementation sucks)
fincs [Wed, 5 Nov 2014 19:58:50 +0000 (20:58 +0100)]
Add linearMemAlign() (current implementation sucks)

10 years agomacros for texture parameters
smea [Wed, 5 Nov 2014 18:32:30 +0000 (10:32 -0800)]
macros for texture parameters

10 years agoaptMainLoop(): Add handling for APP_PREPARE_SLEEPMODE
fincs [Tue, 4 Nov 2014 23:24:24 +0000 (00:24 +0100)]
aptMainLoop(): Add handling for APP_PREPARE_SLEEPMODE

10 years agoAttempt to fix APT hang during startup due to bad event handling
fincs [Tue, 4 Nov 2014 20:41:31 +0000 (21:41 +0100)]
Attempt to fix APT hang during startup due to bad event handling

10 years agoAdd linearSpaceFree() for retrieving the free space in the linear heap
fincs [Mon, 3 Nov 2014 19:20:33 +0000 (20:20 +0100)]
Add linearSpaceFree() for retrieving the free space in the linear heap

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Mon, 3 Nov 2014 05:11:13 +0000 (21:11 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoGPUCMD_FlushAndRun
smea [Mon, 3 Nov 2014 05:10:56 +0000 (21:10 -0800)]
GPUCMD_FlushAndRun

10 years agoAdd aptMainLoop() for handling APT events in main()
fincs [Sun, 2 Nov 2014 17:58:37 +0000 (18:58 +0100)]
Add aptMainLoop() for handling APT events in main()

10 years agoUpdated APT_CheckNew3DS to only use the APT cmds once(which also now calls aptOpenSes...
yellows8 [Sun, 2 Nov 2014 03:48:35 +0000 (23:48 -0400)]
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.

10 years agoUpdated CheckNew3DS code. Now the out value is cleared first, then the out value...
yellows8 [Sun, 2 Nov 2014 02:11:19 +0000 (22:11 -0400)]
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.

10 years agoAdded APT CheckNew3DS code. Added code for attempting to use the other APT services...
yellows8 [Sun, 2 Nov 2014 01:39:18 +0000 (21:39 -0400)]
Added APT CheckNew3DS code. Added code for attempting to use the other APT services when APT:U isn't accessible.

10 years agoAdd timer-related SVC calls.
StapleButter [Fri, 31 Oct 2014 00:17:43 +0000 (01:17 +0100)]
Add timer-related SVC calls.

10 years agoMerge pull request #21 from profi200/master
plutoo [Thu, 30 Oct 2014 22:39:17 +0000 (23:39 +0100)]
Merge pull request #21 from profi200/master

Fixed cmds

10 years agouse ARCH_SDMC for archive id
mtheall [Thu, 30 Oct 2014 20:40:19 +0000 (15:40 -0500)]
use ARCH_SDMC for archive id

10 years agofix typo
mtheall [Thu, 30 Oct 2014 18:52:30 +0000 (13:52 -0500)]
fix typo

10 years agoreturn offset in sdmc_seek
mtheall [Thu, 30 Oct 2014 18:49:00 +0000 (13:49 -0500)]
return offset in sdmc_seek

10 years agoMerge branch 'refactor'
mtheall [Thu, 30 Oct 2014 18:39:47 +0000 (13:39 -0500)]
Merge branch 'refactor'

10 years agostart sdmc devoptab
mtheall [Thu, 30 Oct 2014 18:34:13 +0000 (13:34 -0500)]
start sdmc devoptab

10 years agoFixed cmds
profi200 [Thu, 30 Oct 2014 18:09:09 +0000 (19:09 +0100)]
Fixed cmds

10 years agoplugged a bunch of handle leaks !
smea [Thu, 30 Oct 2014 04:26:58 +0000 (21:26 -0700)]
plugged a bunch of handle leaks !

10 years agoMerge pull request #20 from idunoe/master
smea [Mon, 27 Oct 2014 16:31:10 +0000 (09:31 -0700)]
Merge pull request #20 from idunoe/master

Defined FS archive ids

10 years agoFix APT initialization code when RUNFLAG_APTWORKAROUND is set
fincs [Mon, 27 Oct 2014 16:30:55 +0000 (17:30 +0100)]
Fix APT initialization code when RUNFLAG_APTWORKAROUND is set

10 years agoRemoved magic number from sdmc example
idunoe [Mon, 27 Oct 2014 14:59:14 +0000 (22:59 +0800)]
Removed magic number from sdmc example

10 years agoAdded archive ids to fs.h
idunoe [Mon, 27 Oct 2014 14:56:01 +0000 (22:56 +0800)]
Added archive ids to fs.h

10 years agoCreate APT event handler thread as soon as possible, and complete initialization...
StapleButter [Mon, 27 Oct 2014 14:37:30 +0000 (15:37 +0100)]
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).

10 years agoAdd stencil op and other related stuff to make that functionality mostly complete.
StapleButter [Mon, 27 Oct 2014 14:19:27 +0000 (15:19 +0100)]
Add stencil op and other related stuff to make that functionality mostly complete.
Add color/depth write mask support (and rename GPU_SetDepthTest() accordingly).
Add blending color.

Blending color must be set right after stencil op. GPU freezes otherwise.