Commit Graph

371 Commits

Author SHA1 Message Date
plutoo
ba358a4aa4 Minor fixes, adding custom flag to buffer allocation 2018-03-10 16:43:01 +01:00
plutoo
e9d111a0dd Implemented zcull_ctx, 3d_ctx, random fixes 2018-03-10 16:27:28 +01:00
plutoo
ff5fcbceb2 Implement 3d_ctx 2018-03-10 15:44:04 +01:00
plutoo
cb6cfca6c7 gpu takes reference on singletons 2018-03-10 15:36:46 +01:00
plutoo
7045f37cc9 Add refcounting to nvidia stuff 2018-03-10 15:31:08 +01:00
plutoo
6ee8065991 Hide nv tmem size from gfx 2018-03-10 15:20:09 +01:00
plutoo
4b359be16b Use reference counting across services 2018-03-10 15:13:10 +01:00
plutoo
a4e427823e Let nv reference applet 2018-03-10 15:06:05 +01:00
plutoo
12e1d92412 Simplify nv 2018-03-10 15:01:29 +01:00
plutoo
fd7db563ee Merge remote-tracking branch 'origin/master' into gpu 2018-03-10 14:50:05 +01:00
plutoo
965c7cdd47 Irs stylefix 2018-03-10 14:48:15 +01:00
plutoo
8a23592b86 Merge branch 'master' into gpu 2018-03-10 14:44:39 +01:00
plutoo
1d34db8497 Improve atomics 2018-03-10 14:41:06 +01:00
plutoo
a102c64341 Introduce atomics.c, refcounting on all services 2018-03-10 14:33:40 +01:00
plutoo
d12e99e3ad Move ipc.h to kernel/ 2018-03-10 14:03:29 +01:00
yellows8
d1cefabd12 Renamed hidInitializeVibrationDevice() to hidInitializeVibrationDevices(), and added support for optionally returning 2 handles + other changes. 2018-03-07 01:16:35 -05:00
yellows8
cbaa0e359b Added hidPermitVibration() and hidIsVibrationPermitted(). 2018-03-06 23:38:33 -05:00
Kostas Missos
e243e4507e [irs] Name image transfer config variables (#61)
* [irs] Name image transfer config variables
2018-03-06 19:33:45 -05:00
yellows8
a3933c7a85 Added hid vibration. 2018-03-06 18:08:57 -05:00
yellows8
e7a4eba71c Added hidSetNpadJoyAssignmentModeSingleByDefault() and hidSetNpadJoyAssignmentModeDual(). Check serviceIsActive() in hidExit(). Use hidSetNpadJoyAssignmentModeDual() for all controllers during hidInitialize()/hidExit(). 2018-03-05 22:37:37 -05:00
Mike H
208daf6344 Audio input implementation and fixes (#60)
* Implemented audin service and fixed released audio buffer handling
2018-03-04 12:20:31 -05:00
yellows8
f7335b7ae5 Only clear allocated tmem when alloc was successful. 2018-03-01 22:57:44 -05:00
yellows8
20a549b46b Clear allocated tmem. 2018-03-01 22:55:17 -05:00
yellows8
07ec16a8e7 Implemented more irs. 2018-03-01 19:14:45 -05:00
yellows8
6dd76f6288 Sync AudioOutBuffer comments with wiki. Updated audoutPlayBuffer() comments. Moved the waiting/post-append code from audoutPlayBuffer() into new func audoutWaitPlayFinish(). Removed '&' from code setting audoutAppendAudioOutBuffer() raw->tag. 2018-02-28 19:37:17 -05:00
plutoo
f4230f3ef0 Fix race condition in hid 2018-03-01 00:15:01 +01:00
plutoo
20f3e87d11 Change type of TryLock to bool 2018-02-28 18:22:28 +01:00
Jules Blok
e966f21800 mutex: Add TryLock() variants. 2018-02-28 18:00:03 +01:00
TuxSH
e0457c4534 Handle bsdInitialize failure codes properly 2018-02-27 19:14:44 +01:00
TuxSH
d33b26016d Add documentation to bsd.h and sfdnsres.h, etc. 2018-02-27 19:14:44 +01:00
TuxSH
3709ee92a5 Fix netdb functions 2018-02-27 19:14:44 +01:00
TuxSH
888f7e101f Fix inet_ntop6 2018-02-27 19:14:44 +01:00
TuxSH
472d305883 Move socket.c definitions around, fix bugs 2018-02-27 19:14:44 +01:00
TuxSH
dcf3e56300 Implement netdb.h functions, fix bugs, etc. 2018-02-27 19:14:44 +01:00
TuxSH
b8fb1722d0 Add sfdnsres 2018-02-27 19:14:44 +01:00
TuxSH
4b685d676b Add basic IPv6 definitions as sfdnsres seems to support it...
...also fix a bug in the inet_* functions.
2018-02-27 19:14:44 +01:00
TuxSH
0b92bb76b0 Add newlib wrapper for sockets...
... fix several bugs, etc.
2018-02-27 19:14:44 +01:00
TuxSH
88dbc66d01 Handle result code+errno properly...
also make fcntl and ioctl non-variadic for convenience for the newlib wrapper
2018-02-27 19:14:44 +01:00
TuxSH
a3e90d68a0 Add all the needed headers from FreeBSD...
... clean them up, also fix some bugs in bsd.c/h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
4d78f12871 Implement most bsd:u/s service commands 2018-02-27 19:14:44 +01:00
plutoo
282a5ad904 Merge branch 'master' into gpu 2018-02-27 09:03:07 +01:00
yellows8
5664830f35 Fixed args parsing with quotes. 2018-02-27 02:14:23 -05:00
plutoo
3cc15aeafc Stubbed 3d_ctx 2018-02-26 22:55:05 +01:00
plutoo
957ebba6ff Stubbed gpfifo, zcull_ctx 2018-02-26 22:44:02 +01:00
plutoo
73485fd8d3 Fix nvgfx, add nvinfo 2018-02-26 22:16:18 +01:00
plutoo
222bfb0882 Minimize nvgfx.c 2018-02-26 19:08:06 +01:00
yellows8
f07d09aeb0 Added appletGetDesiredLanguage(). In set-serv('set'), added support for all language/region commands, etc. 2018-02-26 12:34:01 -05:00
plutoo
0b47a785e9 Make compilable 2018-02-26 09:52:56 +01:00
plutoo
838b4e4873 Started implementing channels 2018-02-26 08:44:25 +01:00
plutoo
1d880f0189 Rename nvmap->buffer 2018-02-26 06:56:57 +01:00