]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
9 years agoMerge pull request #244 from Lectem/more_soc
Dave Murphy [Sun, 17 Jan 2016 18:36:06 +0000 (18:36 +0000)]
Merge pull request #244 from Lectem/more_soc

SOC:u added close/shutdown sockets and inet_pton/ntop

9 years agoadded inet_pton and inet_ntop
Lectem [Sun, 17 Jan 2016 17:58:21 +0000 (12:58 -0500)]
added inet_pton and inet_ntop

9 years agofix alignment in arpa/inet.h
Lectem [Sun, 17 Jan 2016 17:25:41 +0000 (12:25 -0500)]
fix alignment in arpa/inet.h

9 years agoSOC:u added close/shutdown sockets
Lectem [Sun, 17 Jan 2016 02:13:22 +0000 (21:13 -0500)]
SOC:u added close/shutdown sockets

9 years agoMerge branch 'master' of github.com:smealum/ctrulib
Michael Theall [Sat, 16 Jan 2016 22:32:27 +0000 (16:32 -0600)]
Merge branch 'master' of github.com:smealum/ctrulib

9 years agoproper EEXIST error for mkdir
Michael Theall [Sat, 16 Jan 2016 22:32:21 +0000 (16:32 -0600)]
proper EEXIST error for mkdir

9 years agoMove sdmc_dir_t into 3ds/sdmc.h
Michael Theall [Sat, 16 Jan 2016 22:30:11 +0000 (16:30 -0600)]
Move sdmc_dir_t into 3ds/sdmc.h

9 years agoensure svcSleepThread gets u64
Dave Murphy [Sat, 16 Jan 2016 21:06:33 +0000 (21:06 +0000)]
ensure svcSleepThread gets u64

9 years agoMerge pull request #242 from Lectem/more_soc
mtheall [Fri, 15 Jan 2016 00:18:44 +0000 (18:18 -0600)]
Merge pull request #242 from Lectem/more_soc

More soc

9 years agoAdded gai_strerror
Lectem [Wed, 13 Jan 2016 22:20:46 +0000 (17:20 -0500)]
Added gai_strerror

9 years agoadded SOC:u getaddrinfo
Lectem [Wed, 13 Jan 2016 17:20:33 +0000 (12:20 -0500)]
added SOC:u getaddrinfo

9 years agoadded SOC:u getnameinfo
Lectem [Wed, 13 Jan 2016 17:18:16 +0000 (12:18 -0500)]
added SOC:u getnameinfo

9 years agofix sockaddr_storage to match the one used by SOC
Lectem [Wed, 13 Jan 2016 04:56:07 +0000 (23:56 -0500)]
fix sockaddr_storage to match the one used by SOC

9 years agofix PF_INET6 value
Lectem [Tue, 12 Jan 2016 22:36:45 +0000 (17:36 -0500)]
fix PF_INET6 value

9 years agoAdd sdmcWriteSafe
Michael Theall [Tue, 12 Jan 2016 22:22:30 +0000 (16:22 -0600)]
Add sdmcWriteSafe

9 years agoadd void function typedef
Dave Murphy [Fri, 8 Jan 2016 19:08:37 +0000 (19:08 +0000)]
add void function typedef

9 years agoadd macros for color codes
Dave Murphy [Fri, 8 Jan 2016 19:07:09 +0000 (19:07 +0000)]
add macros for color codes

9 years agoMerge pull request #241 from Lectem/TLSfix
fincs [Tue, 12 Jan 2016 19:36:05 +0000 (20:36 +0100)]
Merge pull request #241 from Lectem/TLSfix

fix thread static buffers usage (save+restore)

9 years agofix thread static buffers usage (save+restore)
Lectem [Sun, 10 Jan 2016 18:06:32 +0000 (13:06 -0500)]
fix thread static buffers usage (save+restore)

9 years agoAdded AMPXI for using ampxiWriteTWLSavedata.
yellows8 [Thu, 7 Jan 2016 22:28:48 +0000 (17:28 -0500)]
Added AMPXI for using ampxiWriteTWLSavedata.

9 years agoAdded NS_TerminateProcessTID.
yellows8 [Thu, 7 Jan 2016 04:31:10 +0000 (23:31 -0500)]
Added NS_TerminateProcessTID.

9 years agoBump version to v1.1.0 v1.1.0
fincs [Wed, 6 Jan 2016 18:53:09 +0000 (19:53 +0100)]
Bump version to v1.1.0

9 years agoadd usleep
Dave Murphy [Tue, 5 Jan 2016 16:37:05 +0000 (16:37 +0000)]
add usleep

9 years agoRevise/enhance GSPGPU/GFX code, see below:
fincs [Mon, 4 Jan 2016 23:25:40 +0000 (00:25 +0100)]
Revise/enhance GSPGPU/GFX code, see below:

- Screens can be buffer-swapped independently (gfxConfigScreen)
- Added gspSetEventCallback for running event code directly on the GSP thread
- Added gspWaitForAnyEvent for waiting for any GSP event
- Added gfxIs3D for retrieving 3D-enable status

9 years agoFix redundant/hazardous code in svcArbitrateAddress
fincs [Mon, 4 Jan 2016 23:23:10 +0000 (00:23 +0100)]
Fix redundant/hazardous code in svcArbitrateAddress

9 years agoincrease ndsp thread priority
Dave Murphy [Mon, 4 Jan 2016 19:43:28 +0000 (19:43 +0000)]
increase ndsp thread priority

9 years agoMerge pull request #238 from TuxSH/master
fincs [Sun, 3 Jan 2016 19:29:34 +0000 (20:29 +0100)]
Merge pull request #238 from TuxSH/master

Implementing AM_InstallFirm

9 years agoImplementing AM_InstallFirm
TuxSH [Sun, 3 Jan 2016 18:38:41 +0000 (19:38 +0100)]
Implementing AM_InstallFirm

9 years agoelaborate GX_BUFFER_DIM
Dave Murphy [Sun, 3 Jan 2016 14:08:58 +0000 (14:08 +0000)]
elaborate GX_BUFFER_DIM

9 years agoMerge pull request #236 from Steveice10/master
Dave Murphy [Wed, 30 Dec 2015 03:02:51 +0000 (03:02 +0000)]
Merge pull request #236 from Steveice10/master

Fix svcSetTimer.

9 years agoFix svcSetTimer.
Steven Smith [Wed, 30 Dec 2015 02:46:38 +0000 (18:46 -0800)]
Fix svcSetTimer.

9 years agoDo not make RomFS the default device
fincs [Tue, 29 Dec 2015 13:22:04 +0000 (14:22 +0100)]
Do not make RomFS the default device

9 years agoMerge pull request #235 from Steveice10/master
fincs [Tue, 29 Dec 2015 11:02:11 +0000 (12:02 +0100)]
Merge pull request #235 from Steveice10/master

Add __sync_get_arbiter.

9 years agoAdd __sync_get_arbiter.
Steven Smith [Tue, 29 Dec 2015 04:46:04 +0000 (20:46 -0800)]
Add __sync_get_arbiter.

9 years agoMerge pull request #233 from Subv/patch-1
fincs [Sun, 27 Dec 2015 23:45:52 +0000 (00:45 +0100)]
Merge pull request #233 from Subv/patch-1

Fixed the timeout parameter in svcArbitrateAddress

9 years agoFixed the timeout parameter in svcArbitrateAddress
Sebastian Valle [Sun, 27 Dec 2015 23:23:26 +0000 (18:23 -0500)]
Fixed the timeout parameter in svcArbitrateAddress

the r4 and r5 registers were switched

9 years agoExamples have been moved to https://github.com/devkitPro/3ds-examples
fincs [Thu, 24 Dec 2015 11:39:26 +0000 (12:39 +0100)]
Examples have been moved to https://github.com/devkitPro/3ds-examples

9 years agoMerge pull request #230 from Lectem/patch-1
fincs [Sun, 13 Dec 2015 20:34:56 +0000 (21:34 +0100)]
Merge pull request #230 from Lectem/patch-1

Added documentation link in the readme

9 years agoAdded documentation link in the readme
Lectem [Sun, 13 Dec 2015 18:34:59 +0000 (13:34 -0500)]
Added documentation link in the readme

9 years agoBump version to 1.0.0 - with changelog v1.0.0
fincs [Sat, 5 Dec 2015 12:29:34 +0000 (13:29 +0100)]
Bump version to 1.0.0 - with changelog

9 years agoUpdate Makefiles for devkitARM r45
fincs [Sun, 29 Nov 2015 19:56:33 +0000 (20:56 +0100)]
Update Makefiles for devkitARM r45

9 years agoFix thread stack alignment
fincs [Sun, 29 Nov 2015 19:45:34 +0000 (20:45 +0100)]
Fix thread stack alignment

9 years agoDocument thread API
fincs [Sat, 28 Nov 2015 22:45:54 +0000 (23:45 +0100)]
Document thread API

9 years agosdmc_dev.c: make string buffers thread local
fincs [Wed, 25 Nov 2015 20:47:18 +0000 (21:47 +0100)]
sdmc_dev.c: make string buffers thread local

9 years agoAdd TLS (thread local storage) support
fincs [Wed, 25 Nov 2015 20:46:54 +0000 (21:46 +0100)]
Add TLS (thread local storage) support

9 years agoAdd basic multithreading example
fincs [Sun, 22 Nov 2015 16:07:07 +0000 (17:07 +0100)]
Add basic multithreading example

9 years agoRevise APT/GSP/NDSP to use the new thread API
fincs [Sat, 21 Nov 2015 17:55:51 +0000 (18:55 +0100)]
Revise APT/GSP/NDSP to use the new thread API

9 years agoAdd WIP thread wrapper API
fincs [Sat, 21 Nov 2015 17:55:05 +0000 (18:55 +0100)]
Add WIP thread wrapper API

9 years agoImplement devkitARM/newlib lock support & dynamic reent
fincs [Sat, 21 Nov 2015 13:14:56 +0000 (14:14 +0100)]
Implement devkitARM/newlib lock support & dynamic reent

9 years agoMerge branch 'master' into great-refactor
fincs [Mon, 7 Dec 2015 10:43:44 +0000 (11:43 +0100)]
Merge branch 'master' into great-refactor

9 years agofix warning
Dave Murphy [Mon, 7 Dec 2015 08:44:50 +0000 (08:44 +0000)]
fix warning

9 years agoremove more greetz
Dave Murphy [Mon, 7 Dec 2015 08:43:08 +0000 (08:43 +0000)]
remove more greetz

9 years agoremove greetz
Dave Murphy [Mon, 7 Dec 2015 08:30:22 +0000 (08:30 +0000)]
remove greetz

9 years agoMerge pull request #227 from Cruel/great-refactor
fincs [Sun, 6 Dec 2015 10:40:38 +0000 (11:40 +0100)]
Merge pull request #227 from Cruel/great-refactor

Make ndspWaveBuf's vaddr const

9 years agoMake ndspWaveBuf's vaddr const
Thomas Edvalson [Sat, 5 Dec 2015 23:39:46 +0000 (18:39 -0500)]
Make ndspWaveBuf's vaddr const

9 years agoAdd shaderProgramSetGshMode() for configuring geoshader mode
fincs [Sat, 5 Dec 2015 12:28:41 +0000 (13:28 +0100)]
Add shaderProgramSetGshMode() for configuring geoshader mode

9 years agoSynchronize GPU register names with the 3dbrew Wiki, again
fincs [Sat, 5 Dec 2015 12:27:02 +0000 (13:27 +0100)]
Synchronize GPU register names with the 3dbrew Wiki, again

9 years agoCorrect error in FSUSER_OpenArchive/FSUSER_CloseArchive
fincs [Fri, 4 Dec 2015 17:36:09 +0000 (18:36 +0100)]
Correct error in FSUSER_OpenArchive/FSUSER_CloseArchive

9 years agoAdd proctex GPU register names and enumerations from the 3dbrew Wiki
fincs [Wed, 2 Dec 2015 11:04:13 +0000 (12:04 +0100)]
Add proctex GPU register names and enumerations from the 3dbrew Wiki

9 years agoRevert "Revert "Dynamically determine heap sizes.""
fincs [Tue, 1 Dec 2015 12:25:09 +0000 (13:25 +0100)]
Revert "Revert "Dynamically determine heap sizes.""

This reverts commit cc8e0c29b6297d43bc0c78c4618007202abf8d04.
The bug was fixed in Citra.

9 years agoshaderProgram: manage GPUREG_SH_OUTATTR_MODE/CLOCK
fincs [Tue, 1 Dec 2015 12:22:34 +0000 (13:22 +0100)]
shaderProgram: manage GPUREG_SH_OUTATTR_MODE/CLOCK

9 years agoAdd new GPU register names and enumerations from the 3dbrew Wiki
fincs [Tue, 1 Dec 2015 11:58:57 +0000 (12:58 +0100)]
Add new GPU register names and enumerations from the 3dbrew Wiki

9 years agoMerge pull request #225 from Dazzozo/am-title-database
fincs [Tue, 1 Dec 2015 10:33:49 +0000 (11:33 +0100)]
Merge pull request #225 from Dazzozo/am-title-database

AM: implement external title database IPC functions

9 years agoAM: implement external title database IPC functions
Daz Jones [Tue, 1 Dec 2015 01:37:43 +0000 (01:37 +0000)]
AM: implement external title database IPC functions

Correct use of these functions allows applications that require
the external (SD) title database (e.g. title installers) to check
if it exists, and if not, have it created.

9 years agoAdd a few additional GPU enumerations
fincs [Wed, 25 Nov 2015 20:49:26 +0000 (21:49 +0100)]
Add a few additional GPU enumerations

9 years agoRevert "Dynamically determine heap sizes."
fincs [Sun, 22 Nov 2015 00:13:41 +0000 (01:13 +0100)]
Revert "Dynamically determine heap sizes."

This reverts commit b96dd51d3349961189d4ab1bc2a5c45deff21c09.
The change completely broke homebrew on the Citra emulator.

9 years agoMerge pull request #207 from Steveice10/great-refactor
fincs [Sat, 21 Nov 2015 20:13:09 +0000 (21:13 +0100)]
Merge pull request #207 from Steveice10/great-refactor

Dynamically determine heap sizes.

9 years agoDynamically determine heap sizes.
Steven Smith [Sat, 21 Nov 2015 18:37:22 +0000 (10:37 -0800)]
Dynamically determine heap sizes.

9 years agoMerge pull request #222 from Steveice10/y2r-docs
fincs [Sat, 21 Nov 2015 17:59:20 +0000 (18:59 +0100)]
Merge pull request #222 from Steveice10/y2r-docs

Add to and clean up Y2R documentation.

9 years agoRevise algorithm used by LightLock_Lock/Unlock to fix potential issues
fincs [Sat, 21 Nov 2015 17:57:16 +0000 (18:57 +0100)]
Revise algorithm used by LightLock_Lock/Unlock to fix potential issues

9 years agoAdd to and clean up Y2R documentation.
Steven Smith [Sat, 21 Nov 2015 17:26:50 +0000 (09:26 -0800)]
Add to and clean up Y2R documentation.

9 years agoAdd LightLock_TryLock and RecursiveLock_TryLock
fincs [Sat, 21 Nov 2015 10:48:20 +0000 (11:48 +0100)]
Add LightLock_TryLock and RecursiveLock_TryLock

9 years agoUpdate template Makefile with the following changes:
fincs [Sat, 21 Nov 2015 00:12:33 +0000 (01:12 +0100)]
Update template Makefile with the following changes:

- Add RomFS embedding support
- Add proper rules for assembling GPU shaders
- Use -ffunction-sections and --gc-sections by default
- Remove -ffast-math

9 years agoSeveral improvements to shaderProgram, see details:
fincs [Fri, 20 Nov 2015 23:49:33 +0000 (00:49 +0100)]
Several improvements to shaderProgram, see details:

- shaderProgramSetGshInputPermutation() was added
- shaderInstanceGetUniformLocation() return type corrected
- shaderInstanceSetBool bug fixed (true/false were incorrectly mapped)
- shaderInstance now has bitmasks indicating which int/bool uniforms are
  used by int/bool constants in the DVLE
- shaderProgramUse() was revamped:
  - Shader unit setup/code/opdesc upload code was separated into a new
    function called shaderProgramConfigure()
  - shaderProgramUse() calls shaderProgramConfigure() and afterwards
    uploads DVLE constants
  - GPU wrappers that perform uniform management will want to use
    shaderProgramConfigure() instead of shaderProgramUse() and later
    read the shaderInstance uniform usage bitmasks to set the constants.

9 years agoCorrect osConvertVirtToPhys/osConvertOldLINEARMemToNew parameter type
fincs [Fri, 20 Nov 2015 16:24:02 +0000 (17:24 +0100)]
Correct osConvertVirtToPhys/osConvertOldLINEARMemToNew parameter type

9 years agoMerge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor
Michael Theall [Fri, 20 Nov 2015 15:45:26 +0000 (09:45 -0600)]
Merge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor

9 years agoFix comparator for overflow check
Michael Theall [Fri, 20 Nov 2015 15:44:58 +0000 (09:44 -0600)]
Fix comparator for overflow check

9 years agoFix FS_ATTRIBUTE bitmask values
fincs [Fri, 20 Nov 2015 15:43:32 +0000 (16:43 +0100)]
Fix FS_ATTRIBUTE bitmask values

9 years agoFix typo in documentation that broke generation for FS and CFGU
fincs [Thu, 19 Nov 2015 22:08:18 +0000 (23:08 +0100)]
Fix typo in documentation that broke generation for FS and CFGU

9 years agoRobustify UTF translation
Michael Theall [Thu, 19 Nov 2015 19:49:31 +0000 (13:49 -0600)]
Robustify UTF translation

9 years agoMerge branch 'master' into great-refactor
fincs [Thu, 19 Nov 2015 10:44:59 +0000 (11:44 +0100)]
Merge branch 'master' into great-refactor

# Conflicts:
# libctru/include/3ds/services/fs.h
# libctru/source/os.c
# libctru/source/romfs_dev.c
# libctru/source/services/fs.c

9 years agoAdd fsUseSession/fsEndUseSession
fincs [Thu, 19 Nov 2015 10:35:02 +0000 (11:35 +0100)]
Add fsUseSession/fsEndUseSession

9 years agoMerge pull request #221 from Steveice10/mic-fix
fincs [Thu, 19 Nov 2015 00:12:50 +0000 (01:12 +0100)]
Merge pull request #221 from Steveice10/mic-fix

Fix order of memalign parameters in MIC example.

9 years agoFix order of memalign parameters in MIC example.
Steven Smith [Wed, 18 Nov 2015 23:45:01 +0000 (15:45 -0800)]
Fix order of memalign parameters in MIC example.

9 years agoMerge pull request #219 from Steveice10/launcher
fincs [Sun, 15 Nov 2015 22:18:52 +0000 (23:18 +0100)]
Merge pull request #219 from Steveice10/launcher

Reference count srv, cleanup launcher code.

9 years agoReference count srv, cleanup launcher code.
Steven Smith [Sun, 15 Nov 2015 17:37:04 +0000 (09:37 -0800)]
Reference count srv, cleanup launcher code.

9 years agoFix PATH_UTF16 size miscalculation, yet again
fincs [Sun, 15 Nov 2015 18:21:00 +0000 (19:21 +0100)]
Fix PATH_UTF16 size miscalculation, yet again

9 years agoBring back fsMakePath
fincs [Sun, 15 Nov 2015 12:51:01 +0000 (13:51 +0100)]
Bring back fsMakePath

9 years agoMerge pull request #218 from Steveice10/fs
fincs [Sun, 15 Nov 2015 12:27:17 +0000 (13:27 +0100)]
Merge pull request #218 from Steveice10/fs

Bring FS up to date.

9 years agoBring FS up to date.
Steven Smith [Thu, 12 Nov 2015 04:27:33 +0000 (20:27 -0800)]
Bring FS up to date.

9 years agoFix examples after service refactor
fincs [Wed, 11 Nov 2015 20:13:31 +0000 (21:13 +0100)]
Fix examples after service refactor

9 years agoFix a typo that wreaked havoc
fincs [Wed, 11 Nov 2015 18:43:27 +0000 (19:43 +0100)]
Fix a typo that wreaked havoc

9 years agoMerge pull request #216 from Steveice10/service-cleanup
fincs [Wed, 11 Nov 2015 18:32:20 +0000 (19:32 +0100)]
Merge pull request #216 from Steveice10/service-cleanup

Service cleanup.

9 years agoService cleanup.
Steven Smith [Wed, 11 Nov 2015 04:33:37 +0000 (20:33 -0800)]
Service cleanup.

9 years agoFix #204
fincs [Fri, 6 Nov 2015 19:39:41 +0000 (20:39 +0100)]
Fix #204

9 years agoMerge pull request #214 from thedax/great-refactor-fix
smea [Mon, 9 Nov 2015 21:37:19 +0000 (13:37 -0800)]
Merge pull request #214 from thedax/great-refactor-fix

Pretty sure it's not a good idea to decrement a handle.

9 years agoPretty sure it's not a good idea to decrement a handle.
thedax [Mon, 9 Nov 2015 21:31:31 +0000 (16:31 -0500)]
Pretty sure it's not a good idea to decrement a handle.

9 years agoImplemented code for getting the system-version from NAND NVer/CVer.
yellows8 [Mon, 9 Nov 2015 02:28:39 +0000 (21:28 -0500)]
Implemented code for getting the system-version from NAND NVer/CVer.

9 years agoMerge pull request #212 from Steveice10/newss
fincs [Sun, 8 Nov 2015 21:53:12 +0000 (22:53 +0100)]
Merge pull request #212 from Steveice10/newss

Add news:s support.

9 years agoAdd news:s support.
Steven Smith [Sun, 8 Nov 2015 21:26:29 +0000 (13:26 -0800)]
Add news:s support.