Commit Graph

1071 Commits

Author SHA1 Message Date
TuxSH
e863d2a4cf Implement svcBindInterrupt and svcUnbindInterrupt 2016-06-25 00:07:03 +02:00
fincs
1cef3e5d2f Merge pull request #291 from Lectem/patch-1
Add NETOPT_DHCP_LEASE_TIME
2016-06-11 19:48:44 +02:00
fincs
14cdb5a9d3 Begin refactoring APT code, many changes to make code a bit more manageable 2016-06-11 19:48:05 +02:00
Lectem
8c9a32747c Add NETOPT_DHCP_LEASE_TIME 2016-06-11 13:20:12 -04:00
fincs
3a10698964 Fix misc FSUSER & PS fail 2016-06-10 18:15:41 +02:00
fincs
56a11197c7 () -> (void) 2016-06-10 18:14:30 +02:00
Steven Smith
1ba7894c8d Add pxidev.h to 3ds.h. 2016-06-02 18:43:57 -07:00
yellows8
12f0f638ff Moved amapp init into a seperate function. 2016-06-02 20:49:01 -04:00
Steven Smith
7fa3adc716 Add pxi:dev service. 2016-05-31 15:29:09 -07:00
fincs
8876b1eb5f Merge pull request #288 from Ryuzaki-MrL/master
Add 2 more missing news:s functions
2016-05-21 22:05:02 +02:00
Lázaro Vieira
c36bdb9013 Add 2 more missing news:s functions
-Add NEWS_SetNotificationMessage
-Add NEWS_SetNotificationImage
-NULL reference handling for NEWS_GetNotificationImage
2016-05-21 16:51:31 -03:00
Michael Theall
191e286283 Remove romfs limitation note from osGetSystemVersionData 2016-05-20 00:04:48 -05:00
Michael Theall
d72842f898 Allow multiple romfs mounts 2016-05-19 23:58:55 -05:00
fincs
9489aadb5a Merge pull request #287 from Cruel/const-lyfe
Some const correctness in sslc/httpc inputs
2016-05-20 01:46:53 +02:00
Thomas Edvalson
53e3b35466 Some const correctness in sslc/httpc inputs 2016-05-19 19:21:11 -04:00
fincs
7ce124e744 Add svcSetProcessAffinityMask, svcSetProcessIdealProcessor and svcRun 2016-05-17 00:14:32 +02:00
fincs
3ed89e6bd9 Minor pedantic fix in hb.c 2016-05-17 00:14:00 +02:00
fincs
2810c4d3a8 Merge pull request #285 from Steveice10/togglesleep
Allow toggling sleep mode.
2016-05-08 22:11:54 +02:00
fincs
f22b8f7d9a Merge pull request #282 from Steveice10/master
Separate information required to open an archive from the actual opened handle.
2016-05-08 22:11:48 +02:00
Steven Smith
c81239a407 Allow toggling sleep mode. 2016-05-08 12:45:18 -07:00
Steven Smith
cf91be5041 Separate information required to open an archive from the actual opened handle. 2016-05-06 15:25:20 -07:00
Thomas Edvalson
3129c35e71 Fix ETC1 texture format enums and add A4 2016-05-02 22:46:37 -04:00
yellows8
98adfa0536 Implemented proper NFC support, see also the NFC example. 2016-04-30 17:59:12 -04:00
yellows8
25aae300b2 Implemented httpc support for the remaining documented sslc-related commands. 2016-04-29 00:54:51 -04:00
yellows8
102adfe872 Added UDS_CHECK_SENDTO_FATALERROR and updated comments for udsPullPacket(). 2016-04-27 15:55:49 -04:00
yellows8
a65a2e0def Added flag and out params to MVDSTD_ProcessNALUnit(). Added mvdstdSetupOutputBuffers() and mvdstdOverrideOutputBuffers(). Updated mvdstdInit() to use an initstruct, and clear the workbuf. In mvdstdInit(), use a seperate retval for MVDSTD_ControlFrameRendering() so that the actual retval is returned correctly. Updated mvdstdGenerateDefaultConfig(). Updated mvdstdProcessVideoFrame(). Updated mvd.h. 2016-04-25 12:21:16 -04:00
yellows8
030393a753 Updated the MVDSTD_Config struct. Removed config setup in mvdstdGenerateDefaultConfig() which is actually optional. 2016-04-22 12:38:44 -04:00
yellows8
570f46f281 Moved rendering code from mvdstdProcessVideoFrame() into a seperate function. 2016-04-22 12:12:32 -04:00
Steven Smith
b1f4f431e8 Minor am:net corrections and additions. 2016-04-21 23:05:49 -07:00
yellows8
1578cd7e82 Updated the MVD implementation to support video processing. Fixed some issues, etc. 2016-04-21 19:22:14 -04:00
Michael Theall
6f378c8297 Reset romFS_offset on romfsExit() 2016-04-20 17:37:34 -05:00
yellows8
f9f7eccc33 Implemented recv_buffer_size for UDS bind handling, this was added to the udsCreateNetwork()/udsConnectNetwork() params too. Run udsBind() before creating/joining a network. Added udsAllowSpectators() and updated the UDSNETATTR enums. Added more defines. Minor other changes. Removed the 'WARNING' from the .h. 2016-04-19 13:36:18 -04:00
fincs
ed5516ba20 Merge pull request #280 from Steveice10/master
Fix FSUSER_GetArchiveResource, add more AM commands.
2016-04-16 11:59:53 +02:00
fincs
2dbed49262 Merge pull request #279 from Lectem/fixnewss
fixes NEWS_AddNotification for news:s #278
2016-04-16 11:59:40 +02:00
Steven Smith
88cffe7703 Fix FSUSER_GetArchiveResource, add more AM commands. 2016-04-16 01:09:07 -07:00
Michael Theall
2f03d17a68 Initialize dir->size 2016-04-15 16:55:33 -05:00
Lectem
18b44e3780 fixes NEWS_AddNotification for news:s #278 2016-04-15 16:47:54 -04:00
Steven Smith
fd566668d3 Add some resource limit SVCs. 2016-04-14 01:19:11 -07:00
yellows8
6606a77719 Updated udsConnectNetwork() to handle failure from the network-connection command properly, and removed the commented prints. 2016-04-13 00:36:47 -04:00
yellows8
a653c49aaa Updated udsSetNewConnectionsBlocked() and UDSNETATTR for bitmask 0x4. 2016-04-12 22:28:42 -04:00
yellows8
e61e45abdc Added httpcAddDefaultCert, and some header include changes to support this. 2016-04-11 21:27:34 -04:00
yellows8
47155d75b6 Merged the HTTPC_* functions with httpc* and removed HTTPC_* from the .h, etc(this is similar to how sslc is already handled). 2016-04-11 16:19:23 -04:00
Steven Smith
3a84c7237e Add ARCHIVE_TWL_SOUND. 2016-04-11 09:16:02 -07:00
Steven Smith
e266fa8362 Add result module codes. 2016-04-10 12:52:59 -07:00
Steven Smith
001623c43d Fix buffer type in FSUSER_EnumerateSystemSaveData. 2016-04-09 23:53:45 -07:00
Ken Sanislo
d1aaf68665 fix typo from #272 2016-04-09 15:08:52 -07:00
fincs
2706026ff4 Merge pull request #261 from Steveice10/master
Clean up and update AM service functions.
2016-04-09 23:17:32 +02:00
yellows8
b6e0555b1a Implemented UDS data_channel handling. Added the data_channel param to udsBind(), udsConnectNetwork(), and udsCreateNetwork(). Removed UDS_SEND_NETFLAGS_DEFAULT. The output bind context for network creation/connecting is now optional. 2016-04-08 19:09:15 -04:00
Ken Sanislo
353f7af759 httpcSetSSLOpt support (#272)
httpcSetSSLOpt support
2016-04-08 17:37:07 -04:00
yellows8
0c1e656a2b Switched 'input8' for udsSendTo() to 'netflags'. Minor other changes. 2016-04-08 01:20:21 -04:00
yellows8
f6bf7e7b1f Updated comments for udsNodeInfo. 2016-04-07 16:51:03 -04:00
yellows8
daba63af69 Updated udsNodeInfo and udsConnectionStatus. Updated the related code for udsNodeInfo. 2016-04-07 16:31:26 -04:00
yellows8
570c834679 Updated udsConnectionStatus and networkstruct. Removed total_nodes from udsNetworkScanInfo since that's stored in the networkstruct. 2016-04-07 13:06:23 -04:00
Michael Theall
72b6b3e48b Const-correctness and some size_t parameters for UDS 2016-04-07 10:38:44 -05:00
yellows8
d7500b3608 Properly load the UDS network wifi channel, apparently it was hard-coded to channel 1 previously. This fixed the udsConnectNetwork() failures with the example app(not yet available under the 3ds-examples repo). 2016-04-07 10:04:48 -04:00
yellows8
6f6926921e Added a new param to udsScanBeacons() for using ScanOnConnection internally. 2016-04-06 19:38:56 -04:00
yellows8
bdb2835b62 Added udsEjectSpectator(). 2016-04-06 16:32:25 -04:00
yellows8
1671aeb7c2 Implemented full support for connecting as an UDS spectator. 2016-04-06 16:26:06 -04:00
yellows8
3b1673b673 Updated the udsConnectionStatus struct. 2016-04-06 13:41:37 -04:00
yellows8
688b2649c5 Added udsWaitConnectionStatusEvent(). Updated the udsConnectionStatus struct. 2016-04-06 13:02:26 -04:00
yellows8
72cb548cb0 Added udsGetConnectionStatus(). 2016-04-06 12:46:08 -04:00
yellows8
9b5c1a3a6a Added udsGetNodeInformation(). 2016-04-06 12:24:43 -04:00
yellows8
b11004f221 Implemented udsUpdateNetworkAttribute() and udsSetNewConnectionsBlocked(). 2016-04-06 01:56:02 -04:00
yellows8
6570ade097 Disabled the debug prints for network-connecting and implemented udsEjectClient(). 2016-04-06 00:48:08 -04:00
Michael Theall
4393593e48 Add readdir batching to sdmc 2016-04-05 17:36:09 -05:00
Michael Theall
41ea040420 Add opendir/readdir/rewinddir/closedir/stat support to romfs 2016-04-05 17:35:45 -05:00
yellows8
db6432ce0a Added udsGetNetworkStructApplicationData(). 2016-04-05 17:37:07 -04:00
yellows8
9ad6e0945c Fixed udsGetChannel() output. Implemented udsSetApplicationData() and udsGetApplicationData(). Added a comment regarding why there's debug prints in udsConnectNetwork(). 2016-04-05 16:57:16 -04:00
yellows8
d2f9655d8a Added udsWaitDataAvailable(), based on gspWaitForEvent(). 2016-04-05 12:07:24 -04:00
yellows8
4123baba50 Added UDS_HOST_NETWORKNODEID. Updated UDS_SENDFLAG_Broadcast. 2016-04-05 11:26:48 -04:00
yellows8
fa70037055 Added host_macaddress parameter to udsScanBeacons(). 2016-04-05 11:01:16 -04:00
yellows8
d654cf1b88 Switched UDS_SEND_INPUT8_DEFAULT to 0xF3, udsPullPacket() returns actual output data which was sent via udsSendTo() now. 2016-04-05 10:26:16 -04:00
yellows8
a896bf772c Implemented udsCheckNodeInfoInitialized() and udsGetChannel(). Implemented network (dis)connect and scanning code. Implemented udsPullPacket(). Fixed some issues. Updated uds.h for beacon scanning etc. 2016-04-05 10:07:04 -04:00
yellows8
9aa9d32e11 Added varioues UDS structs and enums+defines. Implemented udsGenerateDefaultNetworkStruct(). Implemented code for creating+destroying networks. Implemented code for binds. Implemented udsSendTo(). 2016-04-04 14:26:49 -04:00
yellows8
ed53bcf4a8 Load the UDS connection-status event handle, and a minor uds.c change. 2016-04-04 00:22:32 -04:00
yellows8
c9d2f74815 Implemented some support for ndmu. Started implementing support for UDS. 2016-04-04 00:11:37 -04:00
yellows8
b9c0ca992d Implemented support for sslc cmd8..cmdc CertChain commands. Clear the serv handle in sslcExit. 2016-03-31 12:37:20 -04:00
yellows8
2964d87ed4 Implemented sslcAddCert. 2016-03-31 11:28:32 -04:00
yellows8
3bb7451c3d Implemented sslcContextInitSharedmem. 2016-03-30 16:51:42 -04:00
yellows8
1346fae04f Switched sslcContextGetStrings to sslcContextGetProtocolCipher since it's documented now. 2016-03-30 16:04:17 -04:00
yellows8
44b601d7b8 Switched the sslopt enum to anonymous, and updated sslcRead(), as requested. Implemented sslcContextGetStrings. 2016-03-30 15:02:18 -04:00
yellows8
1e5c91989f Switched to using an enum for sslopt. Updated the type handling for sslcRead. 2016-03-30 14:24:24 -04:00
yellows8
3d90087481 Implemented actual support for sslc, homebrew can now actually use sslc(see also the sslc example). 2016-03-30 13:57:20 -04:00
yellows8
b7b78414da Implemented SOCU_AddGlobalSocket. 2016-03-30 13:52:15 -04:00
Steven Smith
932630764f Clean up and update AM service functions. 2016-03-29 16:16:15 -07:00
fincs
7adab4d940 Merge pull request #271 from MerryMage/channel-filter
ndsp: Monopole and biquad channel filter params
2016-03-25 20:33:57 +01:00
MerryMage
d431a67f31 ndsp: Monopole and biquad channel filter params 2016-03-25 19:30:46 +00:00
wwylele
a5b7c58c69 fix hid:GetGyroscopeRawToDpsCoefficient 2016-03-18 22:52:16 +02:00
yellows8
5b7468e5cf Added initial sslc support. Minus init/exit this only has sslcAddTrustedRootCA implemented. 2016-03-08 19:29:48 -05:00
yellows8
d769879933 Added httpc AddTrustedRootCA. 2016-03-08 18:19:51 -05:00
yellows8
049d2e2373 Finally added code to exit httpc properly via HTTPC_Finalize. 2016-03-08 15:00:57 -05:00
yellows8
e2852d14f1 Merge pull request #267 from Bownairo/master
Adds function addPostDataRaw
2016-03-06 15:24:04 -05:00
Eero Kelly
12a5fa297a Adds function addPostDataRaw 2016-03-06 15:21:01 -05:00
Dave Murphy
2beafaa27f Merge pull request #266 from ObsidianX/nit-pick-hid-comments
Update hid.h comments
2016-03-06 13:13:49 +00:00
yellows8
b0c5a3c87d Clear the httpc sharedmem before using svcCreateMemoryBlock. 2016-02-29 00:45:42 -05:00
Ryan Loebs
1c55370cee Update hid.h comments
Nit-picky update to accurately describe the `hidKeys*()` functions, and how to extract individual bits from them.
2016-02-24 04:32:57 -08:00
Lectem
6d5a06227b add a note for svcExitThread and the thread API
Calling svcExitThread will make it so that threadCreate detached parameter won't work.
2016-02-16 13:15:31 -05:00
yellows8
e4e51e758b Implemented actual httpc sharedmem handling. Implemented httpc AddPostDataAscii. 2016-02-12 18:38:39 -05:00
Ken Sanislo
e1a9d2ef9c httpc fixes and extensions
Signed-off-by: Dave Murphy <davem@devkitpro.org>
2016-02-12 16:38:43 +00:00
Javi
c3b22e3922 Fix nfcInit error 2016-02-04 17:20:40 +01:00
Javi
14005eee52 Fixed prefix and parameters declaration 2016-02-04 17:18:26 +01:00
Javi
0c11529000 Add basic NFC service support 2016-02-04 12:51:06 +01:00
Yuri Kunde Schlesner
09611e0284 Fix crash when getting or setting struct params in CAM:U 2016-02-03 00:37:13 -08:00
fincs
8cd37c627c Add ndspChnIsPaused/ndspChnSetPaused (untested) 2016-01-28 23:46:03 +01:00
fincs
27b6134bf2 Adapt AMPXI to use libctru naming conventions for plain service calls. 2016-01-28 23:44:51 +01:00
yellows8
173d258e30 Added ampxiInstallTitlesFinish. 2016-01-26 01:09:21 -05:00
Lectem
2b9dc3c82a added SOCU_GetNetworkOpt 2016-01-25 01:14:09 -05:00
Dave Murphy
3a3ee64b64 Merge pull request #254 from Rinnegatamante/master
Added some missing news:s funcs and updated header.
2016-01-24 18:05:17 +00:00
Dave Murphy
92700f4f73 Merge pull request #253 from yifanlu/master
Added svc calls for svcCreateCodeSet and svcCreateProcess
2016-01-23 22:42:26 +00:00
Yifan Lu
cd054cbadf Added svc calls for svcCreateCodeSet and svcCreateProcess 2016-01-23 14:32:36 -08:00
Rinnegatamante
62c05ea73b Added some missing news:s funcs and updated header.
Added some missing news:s funcs and updated header.
2016-01-23 12:47:14 +01:00
fincs
b364790a9a Add fallback RomFS path for when argv isn't available (e.g. boot.3dsx) 2016-01-23 00:59:39 +01:00
Michael Theall
818254c55e Add sdmc_getmtime 2016-01-22 16:40:28 -06:00
Michael Theall
07faf3d40c fix spacing 2016-01-21 19:22:43 -06:00
Michael Theall
5af3dd73de Add SOCU_GetIPInfo 2016-01-21 19:21:43 -06:00
Michael Theall
de0a39089c replace 6, 17 with IPPROTO_TCP, IPPROTO_UDP respectively 2016-01-21 17:12:58 -06:00
Stephen Shkardoon
248c02cf8e Change protocol in socket() to 0 if appropriate - Fix #250
When the user is specifying TCP or UDP and it is the only option,
change the protocol parameter to 0, which is the only value the
underlying 3DS system will accept as valid. This compatibility layer
ensures that code will work transparently whether on a host system
or the 3DS.
2016-01-20 23:56:48 -05:00
Dave Murphy
b8741b35e8 Merge pull request #247 from Lectem/more_soc
added gethostname
2016-01-21 00:16:26 +00:00
Michael Theall
a7a7231085 Tested all the send/recv flags and the SOL_SOCKET options 2016-01-20 18:10:48 -06:00
Lectem
097095b557 remove restrict keyword in arpa/inet.h fixes #248
This causes problems for non-c99 and c++ projects.
2016-01-20 16:15:48 -05:00
fincs
70f84f4950 Fix Doxygen oversight 2016-01-19 23:45:31 +01:00
Lectem
6beee4f9fe added gethostname 2016-01-19 14:20:34 -05:00
fincs
8b5e753235 Add shared system font parsing code. 2016-01-19 19:23:58 +01:00
Michael Theall
07f0fe7e65 Fix use of RemoveDevice() 2016-01-18 19:34:12 -06:00
Lectem
abbef70e61 fix getaddrinfo 2016-01-17 22:50:40 -05:00
Lectem
45ff5c4ee6 added inet_pton and inet_ntop 2016-01-17 12:58:21 -05:00
Lectem
389807c6a3 fix alignment in arpa/inet.h 2016-01-17 12:25:41 -05:00
Lectem
464d6c6363 SOC:u added close/shutdown sockets 2016-01-16 21:14:09 -05:00
Michael Theall
ac7af47956 Merge branch 'master' of github.com:smealum/ctrulib 2016-01-16 16:32:27 -06:00
Michael Theall
3df00537cd proper EEXIST error for mkdir 2016-01-16 16:32:21 -06:00
Michael Theall
0b40e7aa2f Move sdmc_dir_t into 3ds/sdmc.h 2016-01-16 16:30:11 -06:00
Dave Murphy
557fbedb9b ensure svcSleepThread gets u64 2016-01-16 21:06:33 +00:00
Lectem
e9a476cfe2 Added gai_strerror 2016-01-14 18:31:45 -05:00
Lectem
6eb23d3fbd added SOC:u getaddrinfo 2016-01-14 18:30:55 -05:00
Lectem
517b1c9503 added SOC:u getnameinfo 2016-01-14 18:24:50 -05:00
Lectem
b34ff22dc7 fix sockaddr_storage to match the one used by SOC 2016-01-13 12:23:05 -05:00
Lectem
531f8f29a1 fix PF_INET6 value 2016-01-13 12:23:05 -05:00
Michael Theall
c5674b3126 Add sdmcWriteSafe 2016-01-12 16:22:30 -06:00
Dave Murphy
15897d0eab add void function typedef 2016-01-12 21:12:11 +00:00
Dave Murphy
eba67d69ca add macros for color codes 2016-01-12 21:12:11 +00:00
Lectem
e05f841a58 fix thread static buffers usage (save+restore) 2016-01-10 13:41:28 -05:00
yellows8
d5931ee336 Added AMPXI for using ampxiWriteTWLSavedata. 2016-01-07 17:28:48 -05:00
yellows8
afae9ad607 Added NS_TerminateProcessTID. 2016-01-06 23:31:10 -05:00
fincs
57ec5db247 Bump version to v1.1.0 2016-01-06 19:53:09 +01:00
Dave Murphy
850646ea31 add usleep 2016-01-05 16:37:05 +00:00
fincs
9f98cefa3e 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
2016-01-05 00:25:40 +01:00
fincs
43940facdc Fix redundant/hazardous code in svcArbitrateAddress 2016-01-05 00:23:10 +01:00
Dave Murphy
feb0b095e0 increase ndsp thread priority 2016-01-04 19:43:28 +00:00
TuxSH
29176f39ae Implementing AM_InstallFirm 2016-01-03 19:38:41 +01:00
Dave Murphy
2741615b85 elaborate GX_BUFFER_DIM 2016-01-03 14:08:58 +00:00
Steven Smith
df1d39b060 Fix svcSetTimer. 2015-12-29 18:46:38 -08:00
fincs
2feb368dd1 Do not make RomFS the default device 2015-12-29 14:22:04 +01:00
Steven Smith
74a58330e8 Add __sync_get_arbiter. 2015-12-28 20:46:04 -08:00
Sebastian Valle
85223098c6 Fixed the timeout parameter in svcArbitrateAddress
the r4 and r5 registers were switched
2015-12-27 18:23:26 -05:00
fincs
20e542c2c8 Examples have been moved to https://github.com/devkitPro/3ds-examples 2015-12-24 12:39:26 +01:00
fincs
d4a24169c5 Bump version to 1.0.0 - with changelog 2015-12-07 11:44:36 +01:00
fincs
a7a0613f38 Fix thread stack alignment 2015-12-07 11:44:36 +01:00
fincs
51709c69e2 Document thread API 2015-12-07 11:44:36 +01:00
fincs
9410a6db2b sdmc_dev.c: make string buffers thread local 2015-12-07 11:44:36 +01:00
fincs
3f9513e62c Add TLS (thread local storage) support 2015-12-07 11:44:36 +01:00
fincs
12555d77a4 Revise APT/GSP/NDSP to use the new thread API 2015-12-07 11:44:36 +01:00
fincs
b1e97f2ca4 Add WIP thread wrapper API 2015-12-07 11:43:54 +01:00
fincs
05b8ce5b5d Implement devkitARM/newlib lock support & dynamic reent 2015-12-07 11:43:54 +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
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
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
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
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
Steven Smith
324fcff1dc Bring FS up to date. 2015-11-14 17:36:07 -08:00
fincs
9083a97014 Fix a typo that wreaked havoc 2015-11-11 19:43:27 +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
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
Steven Smith
65eaba5b2d Add news:s support. 2015-11-08 13:26:29 -08:00
Steven Smith
891df76804 Fix #139 2015-11-08 12:00:33 -08:00