Commit Graph

505 Commits

Author SHA1 Message Date
plutoo
d95da51740 Merge branch 'master' into gpu 2018-03-11 13:21:59 +01:00
plutoo
e112ab6968 Fix ipc session close race properly 2018-03-11 13:21:36 +01:00
plutoo
a4982f3667 Bad cleanup in gpu.c 2018-03-11 01:45:21 +01:00
plutoo
9a10f85fab Get rid of flag todo 2018-03-11 01:42:45 +01:00
plutoo
ab95d28e30 Completing error notifier 2018-03-11 01:31:46 +01:00
plutoo
9f72f16656 Copyrightfix 2018-03-11 01:17:23 +01:00
plutoo
b23e39ce12 Error notifier bringup 2018-03-11 01:14:52 +01:00
plutoo
516278a4a1 Event bringup 2018-03-11 00:56:00 +01:00
plutoo
ec5721ea47 Merge branch 'master' into gpu 2018-03-10 21:04:36 +01:00
plutoo
e162da18ff Fix race condition in tmem 2018-03-10 21:03:31 +01:00
plutoo
0347f0760b Nv fixes 2018-03-10 20:44:57 +01:00
plutoo
7155666262 Zcull context works 2018-03-10 20:40:31 +01:00
plutoo
1aebc58a32 Minor fixes, now gets to whitescreen 2018-03-10 18:08:02 +01:00
plutoo
694714994b Merge branch 'master' into gpu 2018-03-10 17:51:19 +01:00
plutoo
1dfb1beafb Ipc bugfix 2018-03-10 17:49:17 +01:00
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
d54db1ac16 Includefix 2018-03-10 14:05:14 +01:00
plutoo
d12e99e3ad Move ipc.h to kernel/ 2018-03-10 14:03:29 +01:00
plutoo
11c77cb654 Clean up 2018-03-10 12:13:57 +01:00
plutoo
e41ab0db74 More ipc stuff 2018-03-10 11:47:14 +01:00
plutoo
f32f28b451 Ipc improvements 2018-03-10 11:28:40 +01:00
Kostas Missos
e3666b4705 [hidvib] Rename vibration variables (#62) 2018-03-07 12:23:43 -05: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
plutoo
c7b0e7c891 Stylefix 2018-03-05 21:07:53 +01: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
plutoo
231dba8061 libnx 1.1.0 2018-03-02 16:01:38 +01:00
Dave Murphy
29aed09e10 allow parallel building 2018-03-02 12:27:43 +01: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
e9f07a314a Removed warning comment from romfs_dev.h, romfs example README mentions this. 2018-02-28 19:44:53 -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
yellows8
517c76c05c Added Module_Kernel and KernelError_Timeout to result.h. 2018-02-28 19:19:45 -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
a622ae5593 Add domain handling to sm.h 2018-02-28 17:59:46 +01:00
TuxSH
e0457c4534 Handle bsdInitialize failure codes properly 2018-02-27 19:14:44 +01:00
TuxSH
133f8eccc2 Move all of the BSD headers to nx/external/bsd/include 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
5242771903 Import ipc.h bugfixes from #44 2018-02-27 19:14:44 +01:00
TuxSH
372021e226 Add missing include in tmem.h 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
6884a9dd19 Add netdb.h 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
1f0820dd6a Add missing include 2018-02-27 00:34:08 +01: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
yellows8
f1fc00c516 Updated comments for SetLanguage. 2018-02-26 15:17:21 -05: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
plutoo
1992f1b8e2 Stylechanges to binder, and implemented gpu address space 2018-02-26 05:34:07 +01:00
plutoo
d3cc781bf6 Stylefix for nro 2018-02-26 02:10:49 +01:00
Adubbz
7b0e4194de Changed the default icon (again) 2018-02-25 15:49:50 +01:00
Dave Murphy
bc29d34cfc use only one portlibs directory 2018-02-25 15:49:35 +01:00
Dave Murphy
0bbfbadc39 switch to 16x16 console font 2018-02-25 15:49:25 +01:00
yellows8
b964c69da8 Added comments regarding direct FS usage in fs.h. 2018-02-24 21:38:53 -05:00
yellows8
e24c20f9e7 Added Nro prefix to Asset in nro.h + updated romfs_dev for this. 2018-02-24 15:39:30 -05:00
yellows8
4c1b09d6b9 Check for invalid handle in fs*Close(). Added fsOpenDataStorageByCurrentProcess(), fsStorageRead(), and fsStorageClose(). Added fsdevGetDefaultFileSystem(). Imported nro.h from nx-hbmenu. Implemented proper RomFS support. 2018-02-23 22:29:43 -05:00
james
9e96639681 update default app icon 2018-02-24 00:01:37 +01:00
yellows8
3d0ae50a89 Updated comment for the GfxMode used by console. 2018-02-23 12:59:51 -05:00
yellows8
2022d545dc Store pixel-format in a global instead of hard-coding it and added a disabled func for setting it. Added a pixel-format comment to gfx.h. 2018-02-22 21:49:55 -05:00
yellows8
3c4c35e6e5 Added gfxSetDrawFlip() and gfxConfigureTransform(). 2018-02-22 20:31:51 -05:00
plutoo
ff8a95b47d Headerfail 2018-02-22 08:48:05 +01:00
plutoo
60876ef3f3 Eyeballin set:sys 2018-02-22 08:44:12 +01:00
shinyquagsire23
954a48b8fe Add hidMouseRead, allows mouse position/velocity/scrollwheel velocity to be fetched 2018-02-22 06:48:00 +01:00
shinyquagsire23
1b255bfe15 Add usleep 2018-02-21 08:28:18 +01:00
plutoo
f8a86bf7b6 Merge branch 'master' of https://github.com/switchbrew/libnx 2018-02-21 08:38:49 +01:00
plutoo
e25aae5a97 Workaround for burn in issue 2018-02-21 08:38:22 +01:00