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
|
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 |
|
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 |
|
yellows8
|
1d7556f583
|
Updated ioctl.h comment.
|
2018-02-11 18:29:30 -05:00 |
|
yellows8
|
a31e53d57a
|
Added disabled applet code for cmds Exit, LockExit, and UnlockExit.
|
2018-02-11 15:44:49 -05:00 |
|
TuxSH
|
507bf71a7b
|
Fix NV ioctl nameclashes...
...with bsd ioctls (coming soon) & C++ stdlib
|
2018-02-10 23:02:05 +01:00 |
|
profi200
|
7ef73113cb
|
Optimize for Cortex-A57.
|
2018-02-10 22:40:22 +01:00 |
|
fincs
|
7a07d2c010
|
gfx/gfx.h: Fix doxygen formatting
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
95592641f5
|
services/: Add Doxygen file headers; document sm.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
6c79424f76
|
kernel/svc.h: Add descriptions/basic info for the rest of syscalls
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
521bc1c5c9
|
Document kernel/condvar.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
78ff885390
|
Rename __in/out/inout to _in_/etc to avoid problems with C++ system headers
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
32bdb14b1f
|
Add author/copyright info to runtime/devices/romfs_dev.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
d2ab48262c
|
Fix breakage after rebase
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
cde9d05c80
|
Optimize/fix several things in svc.s
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
e295994dd2
|
Begin documenting kernel/svc.h. SVCs classified in categories.
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
e54aadfc84
|
kernel/svc.h: Add MemoryType, MemoryState, MemoryAttribute
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
c8f62d94a3
|
Documentation: address second batch of comments (#38)
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
c20d372946
|
Clean up types.h:
- Move Permission to kernel/svc.h (also fix enum naming)
- Add s128, vu128, vs128
- voidfn -> VoidFn
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
41da28eb5c
|
Document kernel/: shmem.h, thread.h, tmem.h, virtmem.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
8496f36879
|
Documentation: address first batch of comments (in #38)
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
cbd367c8a0
|
Document kernel/: detect.h, jit.h, mutex.h, random.h, rwlock.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
b791718a03
|
Document ipc.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
475cc5e941
|
Document env.h
|
2018-02-10 22:40:11 +01:00 |
|
fincs
|
ff472848a9
|
Start doxygen bringup, with some miscellaneous cleanup
|
2018-02-10 22:40:11 +01:00 |
|
yellows8
|
dc785c1fee
|
Added appletSetScreenShotPermission and appletSetScreenShotImageOrientation. Added LibnxError_IncompatSysVer.
|
2018-02-08 22:13:56 -05:00 |
|
yellows8
|
4137f9aefe
|
Allocate heap with the size determined via svcGetInfo by default. Updated heap comments.
|
2018-02-05 22:21:44 -05:00 |
|
plutoo
|
356a06fb94
|
Fix bug where attempts to parse __argdata__ while running as an NRO
|
2018-02-04 03:29:59 +01:00 |
|
yellows8
|
2103e40448
|
Better argdata validation.
|
2018-02-03 21:06:23 -05:00 |
|
yellows8
|
7a9e43b684
|
Removed outdated todo comment.
|
2018-02-02 16:22:23 -05:00 |
|
plutoo
|
75003f40f1
|
Add some syscalls
|
2018-02-01 22:04:37 +01:00 |
|
plutoo
|
89021287f8
|
Revert "We don't understand Auto -- disable for now"
This reverts commit 20c4bfd54a .
|
2018-02-01 00:26:39 +01:00 |
|
plutoo
|
20c4bfd54a
|
We don't understand Auto -- disable for now
|
2018-02-01 00:16:38 +01:00 |
|
plutoo
|
b2810ab38d
|
Condvar stylefix
|
2018-01-31 02:22:28 +01:00 |
|
plutoo
|
c7213b119b
|
Condvar bugfix
|
2018-01-31 02:14:01 +01:00 |
|
TuxSH
|
e7c57fbd0b
|
Fix 85d7ac4
|
2018-01-31 01:44:30 +01:00 |
|
TuxSH
|
85d7ac4da1
|
Restore initial sp on application exit
|
2018-01-31 01:14:48 +01:00 |
|
plutoo
|
000a7f05c9
|
Experimental implementation of condvars
|
2018-01-30 22:39:02 +01:00 |
|
yellows8
|
ca6d017be9
|
Started irs IR-sensor support.
|
2018-01-29 23:16:06 -05:00 |
|
yellows8
|
993071f67e
|
Fixed filename in romfs_dev.h comment.
|
2018-01-28 21:23:22 -05:00 |
|
yellows8
|
83ea6fb32e
|
Imported romfs_dev from libctru with adjustments, this is currently unusable.
|
2018-01-28 21:18:53 -05:00 |
|
Dave Murphy
|
0ddd63ea49
|
remove need for DEVKITA64 variable
|
2018-01-28 03:09:43 +01:00 |
|
Dave Murphy
|
7ed122eefc
|
move switch specs, linkscript & rules to libnx
|
2018-01-28 03:09:43 +01:00 |
|
Lioncash
|
1e04b22bae
|
applet: Remove redundant declaration of appletExit()
This is already present within the header.
|
2018-01-28 01:03:56 +01:00 |
|
Lioncash
|
b637276c48
|
Silence a few missing prototype warnings
|
2018-01-28 01:03:56 +01:00 |
|
yellows8
|
e1347f367c
|
Enabled code which requires devkitA64 a6.
|
2018-01-25 22:16:14 -05:00 |
|
yellows8
|
e78f57d862
|
Check for fence id NO_FENCE before calling nvgfxEventWait() in _gfxDequeueBuffer(), since that does occur in some cases.
|
2018-01-25 01:34:31 -05:00 |
|
yellows8
|
53319ff6d2
|
Merge branch 'master' of github.com:switchbrew/libnx
|
2018-01-25 00:42:27 -05:00 |
|
yellows8
|
0f8f5e9732
|
Re-added g_appletProxySession closing, this was removed by an eariler commit. Renamed APT_BUSY_ERROR to AM_BUSY_ERROR.
|
2018-01-25 00:42:19 -05:00 |
|
plutoo
|
0890b20251
|
Fixed Windows build @fincs
|
2018-01-25 02:08:04 +01:00 |
|
Dave Murphy
|
305d4bf3e3
|
move crt0 to libnx
|
2018-01-25 01:44:59 +01:00 |
|
yellows8
|
e39dc2baf8
|
Fixed building when fsdev usage is enabled.
|
2018-01-24 16:05:47 -05:00 |
|
plutoo
|
673651a51f
|
Fix broken header files
|
2018-01-23 00:27:00 +01:00 |
|
TuxSH
|
5b0de6c054
|
Move tmem allocation in bsdInitalize...
...add bsdExit, change the default config's "version" field to 1.
|
2018-01-22 22:11:33 +01:00 |
|
TuxSH
|
fb9e126f3a
|
Make the bsd service work properly
|
2018-01-22 22:11:33 +01:00 |
|
plutoo
|
340266502a
|
Cache management for jit
|
2018-01-22 21:06:53 +01:00 |
|
plutoo
|
b34f59e179
|
ARM cache operations
|
2018-01-22 20:29:49 +01:00 |
|
plutoo
|
9634a5467e
|
Small stylefix
|
2018-01-22 20:15:03 +01:00 |
|
plutoo
|
6fa8370bfb
|
This looks better
|
2018-01-22 20:11:55 +01:00 |
|
TuxSH
|
5abc4873d8
|
Include only what is really necessary...
add pragma once in every header, etc.
|
2018-01-22 18:42:57 +01:00 |
|
plutoo
|
5a67f0909d
|
Stop confusing Nvidia error codes and Switch error codes
|
2018-01-21 18:54:11 +01:00 |
|
plutoo
|
e54bbc54ea
|
Fix codestyle for results
|
2018-01-21 18:40:23 +01:00 |
|
plutoo
|
6b4b693842
|
3.0.0 jit also requires own process handle
|
2018-01-21 17:24:42 +01:00 |
|
yellows8
|
cd881bbc0e
|
Added envHasNextLoad().
|
2018-01-20 18:25:35 -05:00 |
|
plutoo
|
200240f328
|
Actually reprotect code segment to RX
|
2018-01-20 19:37:11 +01:00 |
|
plutoo
|
d4db5b7647
|
Stylefix
|
2018-01-20 19:37:11 +01:00 |
|
plutoo
|
97141448e9
|
Implement NextLoadPath for loader env
|
2018-01-20 19:37:11 +01:00 |
|
fincs
|
af0e9eea7d
|
Minor style change in appletMainLoop()
|
2018-01-20 14:41:05 +01:00 |
|
fincs
|
79e51cb733
|
More fatalSimple unique error codes (plus some fixing)
|
2018-01-20 14:41:05 +01:00 |
|
plutoo
|
a4cff4de13
|
Jit bug number two
|
2018-01-20 14:19:14 +01:00 |
|
plutoo
|
de8b3f81e4
|
Jit errorcode bugfix
|
2018-01-20 14:03:44 +01:00 |
|
plutoo
|
81a39130fe
|
Whitespace fix in svc
|
2018-01-20 14:01:26 +01:00 |
|
plutoo
|
22e9a0fcc3
|
Jit bringup, improvements to virtmem
|
2018-01-20 13:56:12 +01:00 |
|
plutoo
|
b877e1b1c1
|
Why is this not crashing
|
2018-01-20 12:26:31 +01:00 |
|