Lioncash
b82b093108
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit
construction.
8 years ago
Lioncash
cf0a7cd1c1
vfs: Make type hierarchy objects classes instead of structs
struct should be used when the data type is very simple or otherwise has
no invariants associated with it. Given these are used to form a
hierarchy, class should be used instead.
8 years ago
Zach Hilman
35e4a47be0
registration: Various style and documentation improvements
Fix logic in RealVfsFilesystem Create methods
Remove magic numbers
Fix regex errors
8 years ago
Lioncash
e850ff63bc
scheduler: Make HaveReadyThreads() a const member function
This function doesn't modify instance state, so the const qualifier can
be added to it.
8 years ago
David Marcec
66f4f86a82
GetAudioDeviceServiceWithRevisionInfo
As we're not handling any anything about the revision data for GetAudioDeviceServiceWithRevisionInfo, it's currently marked as stubbed. However for games this shouldn't affect the result. Proper revision info would be more for homebrew.
8 years ago
Lioncash
63a70c253e
hid: disable clang-format around tables
Prevents clang-format from butchering them.
8 years ago
Lioncash
9e74d6238e
hid: Stub DisconnectNpad()
This is required by ARMS.
8 years ago
Lioncash
75bba25009
vfs: Use sanitized paths within MoveFile() and MoveDirectory()
Previously these were being unused (or partially unused). While we're at
it, use better naming to make it visibly obvious which variant of the
path is being used.
8 years ago
Lioncash
7b6519741b
card_image: Use type aliases to shorten definitions
We have the aliases, so we may as well use 'em.
8 years ago
Lioncash
d6a1a43854
card_image: Simplify return statement of GetSubdirectories()
We don't need to write out the construction long-form, we can just let
the language itself work it out off the return type.
8 years ago
David Marcec
094f6003e0
Pushed the requested sample rate instead of our fixed sample rate
8 years ago
David Marcec
98b940052c
made ResultStatus a u16
8 years ago
David Marcec
e5ee0afe6f
Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount
GetAudioRendererSampleRate is set as a "STUB" as a game could check if the sample rate it sent and the sample rate it wants don't match. Just a thought of something which could happen so keeping it as stub for the mean time
8 years ago
David Marcec
ecfbe7d9c8
Stub UpdateUserPresence
Needed for Retro City Rampage to go in game
8 years ago
David Marcec
a1fb8a331f
Fixed invalid cast in loader
GetMessageForResultStatus takes a u16, not a size_t.
8 years ago
Zach Hilman
6b76b77400
registration: Add support for force overwrite of installed
8 years ago
Zach Hilman
8f06a0f898
vfs_real: Add CreateFullPath to Create* operations
8 years ago
Zach Hilman
dda8ef11c7
control_metadata: Remove unnecessary reference to base file
8 years ago
Zach Hilman
149bda980a
romfs: Remove cyclic shared_ptr leak in romfs code
8 years ago
Zach Hilman
893447b6b0
registration: Update documentation and style
8 years ago
Zach Hilman
22bdddd6f0
nca_metadata: Remove unnecessary reference to base file
8 years ago
Zach Hilman
62e859c6c7
bis_factory: Create NAND dirs if they don't exist
8 years ago
Zach Hilman
3b3c919e20
registration: Take RawCopy function as parameter
Instead of defaulting to VfsRawCopy
8 years ago
Zach Hilman
e5504a060d
registered_cache: Fix missing reading from yuzu_meta
8 years ago
Zach Hilman
167bfddafa
file_sys: Comply to style guidelines
8 years ago
Zach Hilman
bfb945c243
qt: Add 'Install to NAND' option to menu
Prompts for title type on NCA files.
8 years ago
Zach Hilman
a91983b11c
file_sys: Add RegisteredCache
Manages NAND NCA get and install.
8 years ago
Zach Hilman
9aab787122
file_sys: Add support for parsing NCA metadata (CNMT)
8 years ago
Zach Hilman
ab8acce645
card_image: Add accessor for all NCAs in XCI
8 years ago
Zach Hilman
9b0e3556ed
vfs_real: Add CreateFullPath to CreateFile
Fixes bugs with calling CreateFile when the immediate directory does not exist.
8 years ago
Zach Hilman
c0257cf52f
filesystem: Add Open and Register functions for BISFactory
8 years ago
Zach Hilman
70a510bd8f
bis_factory: Add partial implementation of BISFactory
Creates and stores RegisteredCaches for user and system NAND, as creation of a RegisteredCache is expensive.
8 years ago
Zach Hilman
95bb1067c1
loader: Join 0* files in directory if filename is 00
i.e. Load the concatenated 00+01 if 01 exists as well. Needed for split NAND NCAs.
8 years ago
Zach Hilman
5b4119fa7f
loader: Recognize filename '00' as NCA
Needed to avoid mismatch filetype warnings on split NAND NCAs
8 years ago
Zach Hilman
42114e1df4
vfs: Add ConcatenatedVfsFile
8 years ago
Zach Hilman
a27ec24c0f
crypto: Remove hex utilities from key_manager
Move to hex_util.h in common
8 years ago
bunnei
249341d08f
friend: Stub DeclareCloseOnlinePlaySession.
- Used by Splatoon 2.
8 years ago
bunnei
261a4f0311
friend: Fix CreateFriendService to return an IFriendService interface.
8 years ago
bunnei
ca4bf671ce
server_session: Provide more useful information and don't crash on bad IPC request.
8 years ago
Lioncash
0a93b45b6a
core: Namespace EmuWindow
Gets the class out of the global namespace.
8 years ago
David Marcec
10f494eefe
Better UUID randomness
8 years ago
David Marcec
448290bee4
Removed un-needed count from ListOpenUsers and ListAllUsers
8 years ago
David Marcec
2592e41301
Added better explanations in the profile manager
8 years ago
David Marcec
0b6f8ba51e
Code cleanup for profile manager
8 years ago
David Marcec
d0b2950434
Removed const from ProfileBase Invalidate
8 years ago
David Marcec
42431d2aa6
fixed invalid uuid bool operator
8 years ago
David Marcec
b8e70faa2d
Added GetOpenUserCount
8 years ago
David Marcec
662218e997
Removed all for loops from the profile manager
8 years ago
David Marcec
c3013c7c9c
Added missing ListAllUsers count
8 years ago
David Marcec
acff922762
If statement style change
8 years ago