Zach Hilman
ecbfe348c9
psm: Stub GetChargerType
...
Used by LovePotion Lua Homebrew. Stubbed as connected to official Nintendo Switch dock.
2018-10-21 22:03:25 -04:00
Zach Hilman
43a0b5acff
psm: Stub GetBatteryChargePercentage
...
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
2018-10-20 18:01:11 -04:00
Zach Hilman
618525c951
service: Add skeleton for psm service
...
Seems to be the power controller. Listed in switchbrew under the category PTM services.
2018-10-20 18:01:07 -04:00
bunnei
e69575a2bf
hle: Remove a large amount of 3ds-specific service code.
2017-10-10 17:32:14 -04:00
Yuri Kunde Schlesner
3cf6fe8626
ResultVal: Remove MoveFrom()
...
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in
case you already have an rvalue.
2017-06-18 19:03:15 -07:00
Yuri Kunde Schlesner
5dc6e08426
FileSys: Move all result description to errors.h
2017-05-24 21:06:00 -07:00
Yuri Kunde Schlesner
1d80acd1fc
result: Make error description a generic integer
...
It is now known that result code description vary depending on the
module, and so they're best defined on a per-module basis. To support
this, allow passing in an arbitrary integer instead of limiting to the
ones in the ErrorDescription enum. These will be gradually migrated to
their individual users, but a few will be kept as "common" codes shared
by all modules.
2017-05-24 21:05:59 -07:00
emmaus
e0c9ee023b
use IPCHelper for PTM services
2017-05-19 08:44:58 +00:00
bunnei
a3637a6eaa
Merge pull request #2533 from Lectem/apt_ipchelper
...
IpcHelper enhancement and APT refactor
2017-04-06 14:44:52 -04:00
wwylele
840f375614
ptm: create SharedExtSave file before openning it
2017-03-25 14:22:07 +03:00
Lectem
152d0d7f57
IPCHelper Skip method + address comments for apt
2017-03-18 11:47:40 +01:00
Lectem
0d0f866264
move push out of class body and add u8 u16 bool specializations
2017-03-18 10:44:01 +01:00
Lectem
439d247fb4
refactor APT service to use the new IPC helpers
2017-03-18 10:44:01 +01:00
Yuri Kunde Schlesner
bef8ee8cbf
Merge pull request #2292 from lioncash/bool
...
ptm: Use boolean instead of integral value
2016-12-09 01:43:57 -08:00
Lioncash
9ebefb942a
ptm: Use boolean instead of integral value
...
The third parameter of Write is actually a bool type, not an int.
2016-12-09 04:04:28 -05:00
Lioncash
381ac73b8d
service: Add the ptm:s service
...
3dbrew documents this as being the exact same as ptm:sysm
2016-12-08 06:14:55 -05:00
Lioncash
1c5bc3d925
service: Add common ptm:u commands to other ptm services
...
3dbrew indicates that all services have access to these commands
except for ptm:sets.
2016-12-08 06:13:10 -05:00
Lioncash
b7939c56fe
service: Drop '_Interface' in ptm service class names
...
Inheriting from Service::Interface makes this obvious.
2016-12-08 06:13:04 -05:00
Lioncash
b891179e09
service: Add ptm::gets and ptm::sets services
2016-12-08 05:43:08 -05:00
Lioncash
474f77a789
ptm: Update ptm_sysm function table
...
Updated based off information from 3dbrew.
2016-12-08 00:57:53 -05:00
wwylele
bb969f123a
PTM & CFG: use the correct path and error code according to the new FileSys policy
2016-11-19 18:55:34 +02:00
Yuri Kunde Schlesner
45751915a0
Use negative priorities to avoid special-casing the self-include
2016-09-21 00:15:56 -07:00
Yuri Kunde Schlesner
0e23caf9fd
Manually tweak source formatting and then re-run clang-format
2016-09-18 21:14:25 -07:00
Emmanuel Gil Peyrot
7e8d205414
Sources: Run clang-format on everything.
2016-09-18 09:38:01 +09:00
bunnei
1d20e8a90d
New3DS: Minor style cleanup to #1520 .
2016-05-24 17:24:11 -04:00
JamePeng
493a777880
Implement CheckNew3DS and CheckNew3DSApp
...
Append an item[is_new3ds] to config file[System] group
Implement APT::SetNSStateField,it will update the unknown NS_state_field
2016-04-20 18:12:05 +08:00
Subv
9773d90363
HLE/FS: Implemented GetFormatInfo
...
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
2016-03-20 14:30:01 -05:00
MerryMage
867c111e99
BitField: Make trivially copyable and remove assignment operator
2016-02-12 19:51:16 +00:00
Lioncash
c731d31b7c
services: Get rid of unnecessary includes
2016-02-02 01:40:23 -05:00
Lioncash
58a100d3b7
services: Update some function tables
2015-12-30 11:29:21 -05:00
Filiph Sandström
23e1121337
Fix copy paste
2015-10-24 13:17:04 +02:00
Filiph Sandström
d248fba5e3
Fix wrong branch
2015-10-23 23:58:54 +02:00
Filiph Sandström
29077f65a2
Add GetTotalStepCount Stub
2015-10-23 23:52:13 +02:00
Filiph Sandström
bf5793c2f8
Update ptm.h
2015-10-23 23:50:51 +02:00
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
2015-05-29 21:59:29 +01:00
purpasmart96
53130fffd9
PTM: Changed the way the ptm services are handled to be like the
...
IR, HID, and APT services.
2015-05-11 17:11:26 -07:00
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
2015-05-07 15:45:22 -03:00
Yuri Kunde Schlesner
6f89d25f90
FileSys: Clean-up includes, de-inline destructors
2015-05-06 23:45:06 -03:00
bunnei
e0cb85691a
Services: Initialize all state variables at bootup.
2015-05-01 18:27:02 -04:00
Lioncash
1baab50e7c
ptm_sysm: Add static specifier to IsLegacyPowerOff
2015-04-24 18:23:20 -04:00
purpasmart96
198c0ddc72
Services: Stubs and minor changes
2015-04-02 20:05:11 -07:00
Subv
83a8975cb8
Services: Moved the PTM and APT services to their own folder
...
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.
Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
2015-03-03 21:48:08 -05:00