Zach Hilman
9078bb9854
bis_factory: Add getter for mod dump root for a title ID
Equates to yuzu_dir/dump/<title id>/
7 years ago
Zach Hilman
5ee19add1b
fsp_srv: Implement ISaveDataInfoReader
An object to read SaveDataInfo objects, which describe a unique save on the system. This implementation iterates through all the directories in the save data space and uses the paths to reconstruct the metadata.
7 years ago
Zach Hilman
2e8177f0c9
fsp_srv: Implement command 61: OpenSaveDataInfoReaderBySaveDataSpaceId
Needed by Checkpoint. Returns an object that can iterate through all savedata on the system.
7 years ago
Zach Hilman
df264d2ccb
savedata_factory: Expose accessors for SaveDataSpace
7 years ago
DeeJayBro
3b1e4c0995
service/filesystem: Add DirectoryDelete & DirectoryDeleteRecursively
7 years ago
bunnei
cebce2a93a
ldr: Partially implement LoadNro.
- This is an incomplete implementation. It was tested with Super Mario Party.
7 years ago
Lioncash
fbbb58b226
service/usb: Update service function tables
Updated based off the information provided by Hexkyz on Switchbrew.
7 years ago
Lioncash
1e3b139cd7
service/acc: Move fallback image to file scope
This is just flat data, so it doesn't really need to be in the function
itself. This also allows deduplicating the constant for the backup size
in GetImageSize().
7 years ago
Lioncash
6f00628564
service/acc: Silence compiler warnings
Silences compiler warnings related to truncation. This also introduces a
small helper function to perform the clamping of the image size.
7 years ago
Lioncash
3ec90dc6ef
service/acc: Early return in failure case in LoadImage()
Allows unindenting the other branch's code.
7 years ago
Lioncash
4a31f99a02
profile_manager: Use std::optional instead of boost::optional
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
7 years ago
Lioncash
bed2d6c425
yuzu/main: Notify user of loading errors with Amiibo data
We shouldn't silently continue if loading failed, since the general
assumption is that no messages showing up implicitly indicates success.
7 years ago
Lioncash
93596d03ec
npad: Remove unused controller variable from OnInit()
This also gets rid of variable shadowing related to the lambda parameter
a little bit below this code as well.
7 years ago
Lioncash
a3d1ede25f
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
We can just call the function instead of duplicating the code here. This
also prevents an unused function warning.
We also don't need to take the lambda capture by reference. It's just a
u64 value, so by value is fine here.
7 years ago
Zach Hilman
bfad41b0c1
profile_manager: Create save data if it doesn't exist on use
7 years ago
Zach Hilman
45f2a2fe29
acc: Fix account UUID duplication error
7 years ago
Zach Hilman
e408bbceed
configure_system: Clear selection after user delete
7 years ago
Zach Hilman
702622b8f1
profile_manager: Load user icons, names, and UUIDs from system save
7 years ago
Zach Hilman
19c5cf9c63
acc: Load user images from config dir
7 years ago
Zach Hilman
d3fbf45705
am: Pass current user UUID to launch parameters
7 years ago
Zach Hilman
aeffd4b436
profile_manager: Load users from emulator settings
7 years ago
David
50e4e81fd3
Added Amiibo support ( #1390 )
* Fixed conflict with nfp
* Few fixups for nfc
* Conflict 2
* Fixed AttachAvailabilityChangeEvent
* Conflict 3
* Fixed byte padding
* Refactored amiibo to not reside in "System"
* Removed remaining references of nfc from system
* used enum for Nfc GetStateOld
* Added missing newline
* Moved file operations to front end
* Conflict 4
* Amiibos now use structs and added mutexes
* Removed amiibo_path
7 years ago
Zach Hilman
314a948373
psm: Stub GetChargerType
Used by LovePotion Lua Homebrew. Stubbed as connected to official Nintendo Switch dock.
7 years ago
Lioncash
ca5a93167e
service: Add the basic skeleton for the NPNS services
7 years ago
Lioncash
981faea4d6
hid: Update service function table for hidbus
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
5ea4cfd499
am: Add the basic skeleton for the tcap service
Added based off information provided by Switchbrew.
7 years ago
Lioncash
edb1c36a87
am: Update service function tables
Updated based off information from Switchbrew
7 years ago
Lioncash
ae7f55947e
prepo: Update service function table.
Also introduces the new prepo:a2 service.
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
a806c78a1a
lbl: Update service function table names
Updated based off information provided by Switchbrew.
7 years ago
Zach Hilman
10a2d20e26
psm: Stub GetBatteryChargePercentage
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
7 years ago
Zach Hilman
3b8c0f8885
service: Add skeleton for psm service
Seems to be the power controller. Listed in switchbrew under the category PTM services.
7 years ago
David Marcec
a03600ba28
Added auto controller switching to supported controllers and single joycon button rotation
This is a subset of the better-hid-2 changes, this fixes input in various games which don't support dual joycons. This pr will search for the next best controller which is supported by the current game
7 years ago
Zach Hilman
7e0d2fc994
aoc_u: Stub GetAddOnContentListChangedEvent
This event signals the game when new DLC is purchased from the eShop while the game is running. Since, for the forseeable future, yuzu will not have this ability, it seems safe to stub with a dummy event that will never fire. This is needed to boot Sonic Mania Plus (update v1.04).
7 years ago
David Marcec
7a7dad05c0
Stubbed home blocking
Needed by arms due to new hid rework
7 years ago
Lioncash
1833498617
es: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
a653be3510
audio: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
2b9fd23058
omm: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
4f52800822
nifm: Update service function tables
Updated based off information provided by switchbrew.
7 years ago
Lioncash
f6c5a48dd1
hid: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
d0cda7fe40
nim: Add the basic skeleton of the nim:eca service
Added based off information provided by Switchbrew
7 years ago
Lioncash
d16bafc99d
ns: Update service function table
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
a056b284cf
set_cal: Update service function table
Updated based on information from Switchbrew.
7 years ago
David Marcec
98c7a6d622
Used better names for mm:u and fixed bad stub
InitializeWithId needs to return an id which is a u32 which should be a non zero value
7 years ago
Lioncash
452aa30cb7
hid/controller: Remove unused header inclusions
swap.h only needs to be present in the header for the type aliases and
definitions, it's not actually needed in the cpp files though. input.h
is just unused entirely in xpad.h
7 years ago
Lioncash
7f52dc1790
hid/controller/npad: Remove unused dump_idx member variable
Given it's unused, we may as well toss it.
7 years ago
Lioncash
7eb2328d8e
hid/controller/npad: Remove unnecessary semicolon from the closing brace of LedPattern's constructor
7 years ago
Lioncash
929ed59f1f
hid/controller/npad: Remove #pragma once from the cpp file
This is only useful in headers.
7 years ago
Lioncash
aeda743446
hid/controller/npad: Move npad_id_list into the cpp file
This is just a lookup table, and since it's private, there's nothing
really stateful about it, so we can just move it into the cpp file.
7 years ago
Lioncash
aeca224890
hid/controller/npad: Remove unnecessary const from void return type
This literally does nothing.
7 years ago
Lioncash
46202e984e
hid/controller: Default the destructors of all controller types in the cpp file
These classes are non-trivial and are definitely going to be changed in
the future, so we default these to prevent issues with forward
declarations, and to keep the compiler from inlining tear-down code.
7 years ago