Commit Graph

1405 Commits

Author SHA1 Message Date
fincs
e2037f5795 Merge pull request #227 from Cruel/great-refactor
Make ndspWaveBuf's vaddr const
2015-12-06 11:40:38 +01:00
Thomas Edvalson
4eff425593 Make ndspWaveBuf's vaddr const 2015-12-05 18:39:46 -05:00
fincs
c048221f86 Add shaderProgramSetGshMode() for configuring geoshader mode 2015-12-05 13:28:41 +01:00
fincs
c14634f323 Synchronize GPU register names with the 3dbrew Wiki, again 2015-12-05 13:27:02 +01:00
fincs
bd36f283fd Correct error in FSUSER_OpenArchive/FSUSER_CloseArchive 2015-12-04 18:36:09 +01:00
fincs
3657571591 Add proctex GPU register names and enumerations from the 3dbrew Wiki 2015-12-02 12:04:13 +01:00
fincs
33ba77db4d Revert "Revert "Dynamically determine heap sizes.""
This reverts commit cc8e0c29b6.
The bug was fixed in Citra.
2015-12-01 13:25:09 +01:00
fincs
f052d22ceb shaderProgram: manage GPUREG_SH_OUTATTR_MODE/CLOCK 2015-12-01 13:22:34 +01:00
fincs
f7798302ea Add new GPU register names and enumerations from the 3dbrew Wiki 2015-12-01 12:58:57 +01:00
fincs
50e804d4d2 Merge pull request #225 from Dazzozo/am-title-database
AM: implement external title database IPC functions
2015-12-01 11:33:49 +01:00
Daz Jones
5daecd8d24 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.
2015-12-01 02:09:50 +00:00
fincs
416cc38797 Add a few additional GPU enumerations 2015-11-25 21:49:26 +01:00
fincs
cc8e0c29b6 Revert "Dynamically determine heap sizes."
This reverts commit b96dd51d33.
The change completely broke homebrew on the Citra emulator.
2015-11-22 01:13:41 +01:00
fincs
19bca8177a Merge pull request #207 from Steveice10/great-refactor
Dynamically determine heap sizes.
2015-11-21 21:13:09 +01:00
Steven Smith
b96dd51d33 Dynamically determine heap sizes. 2015-11-21 10:43:50 -08:00
fincs
5ece63029a Merge pull request #222 from Steveice10/y2r-docs
Add to and clean up Y2R documentation.
2015-11-21 18:59:20 +01:00
fincs
58b0b9db4d Revise algorithm used by LightLock_Lock/Unlock to fix potential issues 2015-11-21 18:57:16 +01:00
Steven Smith
827bbba993 Add to and clean up Y2R documentation. 2015-11-21 09:26:50 -08:00
fincs
9b57720cee Add LightLock_TryLock and RecursiveLock_TryLock 2015-11-21 11:48:20 +01:00
fincs
e554f11999 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
2015-11-21 01:12:33 +01:00
fincs
5923112082 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.
2015-11-21 00:49:33 +01:00
fincs
10c7711ce5 Correct osConvertVirtToPhys/osConvertOldLINEARMemToNew parameter type 2015-11-20 17:24:02 +01:00
Michael Theall
699748da98 Merge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor 2015-11-20 09:45:26 -06:00
Michael Theall
a1157f7b8b Fix comparator for overflow check 2015-11-20 09:44:58 -06:00
fincs
f8dec9ec5c Fix FS_ATTRIBUTE bitmask values 2015-11-20 16:43:32 +01:00
fincs
b21fa8a57f Fix typo in documentation that broke generation for FS and CFGU 2015-11-19 23:08:18 +01:00
Michael Theall
c0f75ae42b Robustify UTF translation 2015-11-19 13:49:31 -06:00
fincs
3714fa3810 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
2015-11-19 11:44:59 +01:00
fincs
3fbea733c6 Add fsUseSession/fsEndUseSession 2015-11-19 11:35:02 +01:00
fincs
f6ebc7f285 Merge pull request #221 from Steveice10/mic-fix
Fix order of memalign parameters in MIC example.
2015-11-19 01:12:50 +01:00
Steven Smith
d6dc1d52c5 Fix order of memalign parameters in MIC example. 2015-11-18 15:45:01 -08:00
fincs
6e3b2a4cd7 Merge pull request #219 from Steveice10/launcher
Reference count srv, cleanup launcher code.
2015-11-15 23:18:52 +01:00
Steven Smith
13a5a225b3 Reference count srv, cleanup launcher code. 2015-11-15 13:02:06 -08:00
fincs
651013d3d0 Fix PATH_UTF16 size miscalculation, yet again 2015-11-15 19:21:00 +01:00
fincs
b96697f7a4 Bring back fsMakePath 2015-11-15 13:51:01 +01:00
fincs
083e89628e Merge pull request #218 from Steveice10/fs
Bring FS up to date.
2015-11-15 13:27:17 +01:00
Steven Smith
324fcff1dc Bring FS up to date. 2015-11-14 17:36:07 -08:00
fincs
c49480f5d5 Fix examples after service refactor 2015-11-11 21:13:31 +01:00
fincs
9083a97014 Fix a typo that wreaked havoc 2015-11-11 19:43:27 +01:00
fincs
5d41effb6e Merge pull request #216 from Steveice10/service-cleanup
Service cleanup.
2015-11-11 19:32:20 +01:00
Steven Smith
375fbce98a Service cleanup. 2015-11-11 08:57:54 -08:00
fincs
6a7f13654d Fix #204 2015-11-09 17:32:17 -05:00
smea
9c98fe54b1 Merge pull request #214 from thedax/great-refactor-fix
Pretty sure it's not a good idea to decrement a handle.
2015-11-09 13:37:19 -08:00
thedax
67a1384564 Pretty sure it's not a good idea to decrement a handle. 2015-11-09 16:31:31 -05:00
yellows8
e87ad0ad6c Implemented code for getting the system-version from NAND NVer/CVer. 2015-11-08 21:28:39 -05:00
fincs
c12c0aace3 Merge pull request #212 from Steveice10/newss
Add news:s support.
2015-11-08 22:53:12 +01:00
Steven Smith
65eaba5b2d Add news:s support. 2015-11-08 13:26:29 -08:00
fincs
3d66e29a5d Merge pull request #211 from Steveice10/fix-139
Fix #139
2015-11-08 21:13:32 +01:00
Steven Smith
891df76804 Fix #139 2015-11-08 12:00:33 -08:00
fincs
c3da3c3057 Merge pull request #210 from Steveice10/mic-fix
Fix MIC cutting off a second of audio.
2015-11-08 20:29:31 +01:00