Commit Graph

495 Commits

Author SHA1 Message Date
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
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
yellows8
f1fc00c516 Updated comments for SetLanguage. 2018-02-26 15:17:21 -05: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
47fa88d838 Amend codestyle 2018-02-26 03:16:54 +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
yellows8
d61154f0e5 Added timeSetCurrentTime() and attempt to initialize time-serv with 'time:s' first. 2018-02-21 00:26:21 -05:00
yellows8
0dcaeec959 In __libnx_gtod() set tv_usec, and moved+updated the timezones comment. 2018-02-20 22:24:35 -05:00
plutoo
842ce50c2f Condvar fix 2018-02-21 03:05:15 +01:00
yellows8
14263ddd78 Initial time support, timezones are not handled yet. 2018-02-20 18:17:32 -05:00
plutoo
6ee4d389a5 Binder bugfix 2018-02-19 23:40:48 +01:00
Mike H
cde07068dd Return result from audoutPlayBuffer (#46)
* Return result from audoutPlayBuffer
* Add alignment note in header file
2018-02-19 16:43:58 -05:00
yellows8
9f8a33ba11 Added default_icon.jpg to Makefile dist-src. 2018-02-19 02:29:52 -05:00
yellows8
43124d2b95
Updated README. 2018-02-19 02:11:57 -05:00
yellows8
8b0b2407f9
Updated README. 2018-02-18 22:14:03 -05:00
yellows8
3acc66ee47 Updated README. 2018-02-18 12:18:35 -05:00
yellows8
20cd940095 Implemented arg parsing for NRO env. When args aren't available, set __system_argv to {ptr to NULL} instead of NULL. 2018-02-17 21:25:21 -05:00
yellows8
a1462c8b0b Fixed size of bufferProducerGraphicBuffer and removed the union for it. Removed an invalid comment from gfx.c, since bufferProducerRequestBuffer() is used after bufferProducerGraphicBufferInit(). 2018-02-17 19:35:04 -05:00
Mike H
0e40828c19 Initial audio support (#43)
Initial audio support
2018-02-17 11:40:59 -05:00
yellows8
c22655e7a2 Moved the applet GetEventHandle code outside of the regularapp block since appletMainLoop() uses this event. 2018-02-16 22:54:15 -05:00
yellows8
3c6b8bb6dd Removed envGetArgc() and the related code, since it was removed from wiki-ABI. Updated a comment in argv.c. 2018-02-16 22:40:53 -05:00
yellows8
3f90f3b64c Align width/height to 4 in gfxInitResolution() and gfxConfigureCrop(). Updated the image-transfer code in gfxFlushBuffers() for removing the width misalignment handling. 2018-02-16 20:13:47 -05:00
yellows8
67af341594 Fixed romfs_dir struct for the parent field and fixed romfs_dev.h formatting. 2018-02-13 17:50:21 -05:00
yellows8
f5606bfb8a Added disabled _appletExitProcessAndReturn(). 2018-02-13 12:16:17 -05:00
yellows8
7fa0397c16 Fixed formatting for GfxMode docs. 2018-02-13 00:08:23 -05:00
Andreas Smas
e8683f8709 Generate Doxygen files and upload to gh-pages branch 2018-02-12 20:42:13 -08:00
yellows8
4efcc5b439 Only handle appletIFunctions for non-LibraryApplet. Added remaining init/exit for LibraryApplet. Handle appletExit() properly. 2018-02-12 22:15:56 -05:00
yellows8
83349f946a Use u128 for data-transfer in gfxFlushBuffers() when width is aligned for this. 2018-02-12 18:09:15 -05:00
yellows8
ea612e3060 Added text-console note to GfxMode comment. 2018-02-12 17:52:10 -05:00
yellows8
13b4c74723 Updated gfx API. Replaced gfxSetDoubleBuffering() with gfxSetMode(), and added GfxMode enum. Updated gfx.h comments. Updated gfxGetFramebufferDisplayOffset() for using the aligned width. The new GfxMode_LinearDouble is now used by default, apps must not use gfxGetFramebufferDisplayOffset() with this mode. Apps using gfxGetFramebufferDisplayOffset() must be updated. 2018-02-12 16:08:25 -05:00
yellows8
4b2a32af59 Imported transform enums from Android and updated g_gfxQueueBufferData.transform for this. 2018-02-12 11:58:54 -05:00