Commit Graph

96 Commits

Author SHA1 Message Date
Lioncash
1e04b22bae applet: Remove redundant declaration of appletExit()
This is already present within the header.
2018-01-28 01:03:56 +01: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
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
b34f59e179 ARM cache operations 2018-01-22 20:29:49 +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
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
shinyquagsire23
368fbbb570 hid: joystickPosition -> JoystickPosition 2018-01-20 10:37:47 +01:00
shinyquagsire23
52e928df0e hid: circlePosition -> joystickPosition 2018-01-20 10:37:47 +01:00
shinyquagsire23
a4dbd93b1f hid: Add hidJoystickRead 2018-01-20 10:37:47 +01:00
yellows8
3a9451bbeb Added CONTROLLER_P1_AUTO. Added bounds checking for id in hid{Set|Get}ControllerLayout. 2018-01-19 13:58:32 -05:00
fincs
a8a15f7d16 Make fatalSimple error codes unique 2018-01-15 22:48:46 +01:00
yellows8
197b1900a1 Fixed appletInitialize() which broke during the Service changes. 2018-01-13 01:09:08 -05:00
plutoo
d8061f67bd Introduce svcWaitForSynchronizationSingle to clean up code 2018-01-13 00:27:47 +01:00
plutoo
94658b9f60 More loader config 2018-01-13 00:18:04 +01:00
plutoo
fbf0b0643a Missed vi on the first round 2018-01-12 23:53:08 +01:00
plutoo
f70d70f029 Introducing "Service" object, implemented service override, fixing minor formatting mistakes
NOT TESTED :(
2018-01-12 23:29:49 +01:00
cpasjuste
31049f051b Rename ipc function in vi 2018-01-12 22:13:21 +01:00
plutoo
3ac366528e
Merge pull request #24 from shinyquagsire23/vi-managedlayer
vi:m ManagedLayer support
2018-01-12 18:25:30 +01:00
shinyquagsire23
e5726cbc83 Move viCreateManagedLayer logic out of viOpenLayer 2018-01-11 19:11:39 -07:00
plutoo
fd4522423b Hid stylefix 2018-01-11 22:29:16 +01:00
plutoo
7482c849fe Introducing RwLock, make hid threadsafe 2018-01-11 22:25:49 +01:00
plutoo
bf89c7526e Rename ipc functions before it's too late 2018-01-11 21:56:04 +01:00
plutoo
6585261210 Detect debugger and use svcBreak in panic 2018-01-11 21:49:41 +01:00
shinyquagsire23
ab3d5adb3d Add viCreateManagedLayer, attempt to use vi:m before using applet 2018-01-09 03:46:49 -07:00
plutoo
edcf789b6e C was developed in 1972 2018-01-06 13:54:59 +01:00
plutoo
a63ce5d8bc Align VI code style 2018-01-06 13:34:08 +01:00
plutoo
3ca6e65984 Aligning code style of kernel primitives 2018-01-06 06:10:55 +01:00
plutoo
fee6b42963 Align code style for AM 2018-01-06 05:57:56 +01:00
yellows8
1dda414f31 Implemented apm. 2017-12-29 16:15:17 -05:00
plutoo
eec87a6ccf Rename account -> acc 2017-12-27 18:52:52 -05:00
plutoo
1cf6bb2056 Moved binder.c to gfx, refactored 2017-12-27 18:52:52 -05:00
yellows8
e3d0c849ad Implemented {vi/gfx}GetDisplayResolution. Moved gfxGetFramebufferDisplayOffset into the .h as static inline. Added more comments to gfx.h. 2017-12-27 18:50:16 -05:00
yellows8
1fccd4a1bb Improved handling for appletNotifyRunning(). 2017-12-24 23:31:58 -05:00
yellows8
ec594bfbcf Added _appletGetOperationMode() and _appletGetPerformanceMode(). In appletInitialize(), use _appletGetOperationMode and _appletGetPerformanceMode(). Also use _appletGetCurrentFocusState() in appletInitialize() with a global field even for non-application-type. Added _appletSetOperationModeChangedNotification/_appletSetPerformanceModeChangedNotification and use these in appletInitialize(). Added appletGetOperationMode(), appletGetPerformanceMode(), and appletGetFocusState(), which load from cached state fields. Handle notifications in appletMainLoop(). Added appletOperationMode enum. Imported applet hooking from libctru. 2017-12-22 03:26:26 -05:00
plutoo
146aad7f55 Fixes for 1.0.0, correcting NRO aslr base 2017-12-22 02:49:32 -05:00
yellows8
ebf81ab6ff Imported *MainLoop() from libctru. 2017-12-07 18:54:07 -05:00
plutoo
cddec5c754 More pm 2017-12-05 12:30:33 +01:00
plutoo
e5d0821678 Implement pm:dmnt 2017-12-05 12:30:21 +01:00
plutoo
12410fc44a
Merge pull request #22 from shinyquagsire23/hid-sharedmem-impl
HID Shared Memory - Structures + key held/down/up implementation
2017-12-02 23:21:10 +01:00
yellows8
d24671b306 Implemented applet initialization for application-type which was missing. Added svcResetSignal. 2017-12-01 23:15:40 -05:00
yellows8
0c5efe5f9c Added a comment in fs_dev.h. Adjusted fs.h formatting, etc. Added support for mounting SaveData. 2017-11-30 01:58:21 -05:00
yellows8
a405bc4827 Added account. Added u128 type to types.h. 2017-11-29 23:31:18 -05:00
yellows8
49959e4e37 FS adjustments + fixed fsFsGetFreeSpace/fsFsGetTotalSpace. In fs_dev: fixed cwd handling, unmounting adjustments, use fsFsGetEntryType(), updated fsdev_dirnext(), and properly handle fsdev_statvfs(). 2017-11-29 01:47:11 -05:00
yellows8
59880e9488 Removed output bytes_written for fsFileWrite() since the command doesn't actually return that. In fsdev_open(), set the FS_OPEN_APPEND flag when opening for writing. Adjusted file-creation handling in fsdev_open(). 2017-11-27 17:40:49 -05:00
plutoo
de52de8e88 Fixes for 1.0.0 2017-11-26 20:44:42 +01:00