Commit Graph
66 Commits
Author SHA1 Message Date
VolcaEMandGitHub e90802e762 clang-format 2020-07-15 01:22:52 +02:00
VolcaEMandGitHub b608acd688 dmnt_cheat_vm: Implement opcode 0xC3 (ReadWriteStaticRegister)
This was based on Atmosphére's DMNT Cheat VM:

- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.hpp
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.cpp

From Atmosphére's documentation: "Code type 0xC3 reads or writes a static register with a given register"

There are now only two remaining opcodes to implement (PauseProcess and BreakProcess)

This is untested because I don't have any experience in testing cheats on yuzu
2020-07-15 01:19:22 +02:00
VolcaEMandGitHub 3f910efb40 Rename two functions in NS
- Rename "GetShellEvent" to "GetShellEventHandle"
- Rename "LaunchApplicationFromHost" to "LaunchApplication"
2020-07-02 09:02:55 +02:00
VolcaEMandGitHub 38b585a309 Rename GetApplicationArea2 to GetApplicationAreaSize 2020-07-02 08:58:51 +02:00
VolcaEMandGitHub 86946ea13c Remove duplicate functions 2020-06-29 04:22:38 +02:00
f3630a0713 Use decimal instead of hexadecimal
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
2020-06-29 04:21:10 +02:00
VolcaEMandGitHub a0c499aef7 Fix typo 2020-06-29 04:12:36 +02:00
VolcaEMandGitHub f2eead3b5b Clang-format 2020-06-29 04:09:38 +02:00
VolcaEMandGitHub 6a0010d0c6 service: Update function tables 2020-06-29 04:01:34 +02:00
VolcaEMandGitHub 23515e0ccc nfc: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/NFC_services
2020-06-27 13:09:36 +02:00
VolcaEMandGitHub c56414b80d ncm: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/NCM_services

ILocationResolver's 16, 17, 18 and 19 have unofficial names
2020-06-27 13:05:22 +02:00
VolcaEMandGitHub b829643946 mm: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/Display_services
2020-06-27 12:59:01 +02:00
VolcaEMandGitHub 5219424226 mig: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/Migration_services
2020-06-27 12:53:59 +02:00
VolcaEMandGitHub b9be484a51 ldn: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/LDN_services
2020-06-27 12:50:56 +02:00
VolcaEMandGitHub a8d17adb7c Oops (fix typo) 2020-06-27 12:45:42 +02:00
VolcaEMandGitHub 73b035d2e2 lbl: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/Backlight_services
2020-06-27 12:43:33 +02:00
VolcaEMandGitHub 64fa9b9f57 grc: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/GRC_services
2020-06-27 12:41:21 +02:00
VolcaEMandGitHub af88767508 friend: Update function table 2020-06-27 12:39:10 +02:00
VolcaEMandGitHub 2d82b7f1a1 Use better names for "Unknown"s 2020-06-27 02:48:29 +02:00
VolcaEMandGitHub bc51a9365b Update function names 2020-06-27 02:43:22 +02:00
VolcaEMandGitHub 032b7d490d btdrv: Update function table (#4174)
* btdrv: Update function table
2020-06-26 20:34:29 -04:00
VolcaEMandGitHub 6e14edbcc2 bpc: Update function tables (#4173)
* bpc: Update function tables

This was based on Switchbrew page: https://switchbrew.org/wiki/PCV_services
2020-06-26 20:33:55 -04:00
VolcaEMandGitHub e6fee39ae7 bcat: Update function tables and add missing classes (#4172)
* bcat: Update function tables and add missing classes
2020-06-26 20:33:25 -04:00
VolcaEMandGitHub ca25a3845e am: Update function tables and add missing classes (#4169)
* am: Update function tables and add missing classes

* Remove comments (1/5)

* Remove comments (2/5)

* Remove comments (3/5)

* Remove comments (4/5)

* Remove comments (5/5)

* Remove unused classes (1/2)

* Remove unused classes (2/2)
2020-06-26 20:32:26 -04:00
VolcaEMandGitHub b5d54619cc aoc: Update function table (#4170)
* aoc: Update function table

* Remove comments
2020-06-26 20:31:44 -04:00
VolcaEMandGitHub 0f4a611129 eupld: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/Error_Upload_services
2020-06-27 02:25:04 +02:00
VolcaEMandGitHub 3828aa4927 es: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/ETicket_services
2020-06-27 02:17:51 +02:00
VolcaEMandGitHub b1f4de7874 Update FAQ function name (2/2) 2020-06-27 02:14:29 +02:00
VolcaEMandGitHub db96b5ee3b Update FAQ function name (1/2) 2020-06-27 02:13:34 +02:00
VolcaEMandGitHub d3e9b45ce0 btm: Update function tables
This was based on Switchbrew page: https://switchbrew.org/wiki/BTM_services

"No comment" edition
2020-06-27 01:57:48 +02:00
VolcaEMandGitHub 9e1975a166 Update function name again 2020-06-26 18:51:12 +02:00
VolcaEMandGitHub 0b86c7eb6a Update function name (2/2) 2020-06-26 18:50:28 +02:00
VolcaEMandGitHub f8247826fa Update function name (1/2) 2020-06-26 18:49:57 +02:00
VolcaEMandGitHub 7d08d548a9 Clang-format again 2020-06-25 23:44:41 +02:00
VolcaEMandGitHub b9f0b9dd06 Clang-format 2020-06-25 23:40:53 +02:00
VolcaEMandGitHub 6582857356 Remove unnecessary newline 2020-06-25 23:38:38 +02:00
VolcaEMandGitHub 0f4512291a Merge branch 'master' into quickstart-faq 2020-06-25 23:34:37 +02:00
VolcaEMandGitHub a46df40939 Fix typo 2: electric boogaloo 2020-06-25 23:32:43 +02:00
VolcaEMandGitHub 9e7ac6a009 Use QUrl (2/2) 2020-06-25 23:31:01 +02:00
VolcaEMandGitHub 5c6adea222 Use QUrl (1/2) 2020-06-25 23:28:38 +02:00
VolcaEMandGitHub 04497d9e4a Fix formatting 2020-06-25 23:18:54 +02:00
VolcaEMandGitHub 5f6e44552a Fix typo 2020-06-25 23:07:58 +02:00
VolcaEMandGitHub 57b93395a8 Add "Open Quickstart Guide" and "FAQ" buttons to the Help menu
While we're at it, also refactor the function used by OnOpenModsPage to be compatible with other URLs
2020-06-25 23:02:33 +02:00
VolcaEMandGitHub e193aa3f53 account: Update function tables and add missing classes (#4145)
* account: Update function tables and add missing classes

* clang-format

* Add missing "public"

* Add missing public again

* Add missing final
2020-06-22 16:03:26 -04:00
VolcaEMandGitHub 409fedaf97 Correct function name (2/2) 2020-06-21 18:10:23 +02:00
VolcaEMandGitHub 182ac8a504 Correct function name (1/2) 2020-06-21 18:09:14 +02:00
VolcaEMandGitHub 23d57ed4f7 Clang-format 2020-06-21 06:17:46 +02:00
VolcaEMandGitHub d11b04ed46 Remove unnecessary conversion 2020-06-21 06:16:03 +02:00
606e833d26 Address review comment by Lioncash
Co-authored-by: LC <mathew1800@gmail.com>
2020-06-21 06:12:23 +02:00
VolcaEMandGitHub b81af6ae9b Add a "Open Mods Page" button to the GUI 2020-06-21 06:09:28 +02:00
VolcaEMandGitHub 684dfbf209 Move SHA256Hash to its original position
It's not needed to have it in its previous position anymore
2020-06-18 15:45:47 +02:00
VolcaEMandGitHub bd9495c9ab Remove unnecessary pragmas 2020-06-16 20:28:44 +02:00
VolcaEMandGitHub c0d6162050 Revert IsValidNRO refactor but make it more readable 2020-06-16 20:24:58 +02:00
VolcaEMandGitHub 4b71bf654d Update assert string 2020-06-16 15:57:02 +02:00
VolcaEMandGitHub 39213b1c59 Clang-format again 2020-06-14 19:41:28 +02:00
VolcaEMandGitHub 198b0fa790 Use consistent variable names 2020-06-14 19:37:44 +02:00
VolcaEMandGitHub 1520d7865d Clang-format 2020-06-14 19:34:58 +02:00
VolcaEMandGitHub 761d206049 Make assert strings consistent 2020-06-14 19:30:08 +02:00
VolcaEMandGitHub 151a3fe7b3 Attempt to fix crashes in SSBU and refactor IsValidNRO 2020-06-14 19:28:39 +02:00
VolcaEMandGitHub dfd1badc12 Address review comments 2020-06-02 17:54:10 +02:00
VolcaEMandGitHub 8c84a7e7ec Clang-format 2020-06-01 19:42:54 +02:00
VolcaEMandGitHub 4d10d3113f hid: Stub GetXpadIDs
Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame
2020-06-01 19:38:44 +02:00
VolcaEMandGitHub a087b3365a Add comment to nrr_kind
According to Atmosphére (https://github.com/Atmosphere-NX/Atmosphere/blob/c7026b90940a1d88f9c10a6d98263bf22e654fa5/libraries/libstratosphere/include/stratosphere/ro/ro_types.hpp), nrr_kind (Atmosphére calls it "type") is 7.0.0+
2020-05-31 19:12:09 +02:00
VolcaEMandGitHub 2b1cc232bc ldr: Update NRR/NRO structs
This was based on Switchbrew pages:

https://switchbrew.org/wiki/NRR

https://switchbrew.org/wiki/NRO
2020-05-31 18:49:51 +02:00
VolcaEMandGitHub cb75ccc1f7 clang-format 2020-05-21 10:43:55 +02:00
VolcaEMandGitHub 235805edf3 nifm: correct assert in CreateTemporaryNetworkProfile
This has been wrong since https://github.com/yuzu-emu/yuzu/commit/0432af5ad1ec34f02071f6fdc5fc78149b059f18
I haven't found a game that called this function (and I haven't tried this on a real Switch), and because of this I haven't been able to check if the number in assert OR the string in the assert is wrong, but one of the two is wrong:
NetworkProfileData is 0x18E, while SfNetworkProfileData is 0x17C, according to Switchbrew
Switchbrew doesn't officially say that NetworkProfileData's size is 0x18E but it's possible to calculate its size since Switchbrew provides the size and the offset of all the components of NetworkProfileData (which isn't currently implemented in yuzu, alongside SfNetworkProfileData)
NetworkProfileData documentation: https://switchbrew.org/wiki/Network_Interface_services#NetworkProfileData
SfNetworkProfileData documentation: https://switchbrew.org/wiki/Network_Interface_services#SfNetworkProfileData
Since I trust ogniK's work on reversing NIFM, I'd assume this was just a typo in the string
2020-05-21 10:23:53 +02:00