Zach Hilman
50ff8ec364
nca_metadata: Remove unnecessary reference to base file
7 years ago
Zach Hilman
2a0b80bb67
bis_factory: Create NAND dirs if they don't exist
7 years ago
Zach Hilman
f92fbf012d
registration: Take RawCopy function as parameter
Instead of defaulting to VfsRawCopy
7 years ago
Zach Hilman
405d520d1d
registered_cache: Fix missing reading from yuzu_meta
7 years ago
Zach Hilman
b0531d6ea0
file_sys: Comply to style guidelines
7 years ago
Zach Hilman
e9c7294bb9
qt: Add 'Install to NAND' option to menu
Prompts for title type on NCA files.
7 years ago
Zach Hilman
2d3617c723
file_sys: Add RegisteredCache
Manages NAND NCA get and install.
7 years ago
Zach Hilman
7fdfa63ce3
file_sys: Add support for parsing NCA metadata (CNMT)
7 years ago
Zach Hilman
f903b556d8
card_image: Add accessor for all NCAs in XCI
7 years ago
Zach Hilman
562e66e5d2
vfs_real: Add CreateFullPath to CreateFile
Fixes bugs with calling CreateFile when the immediate directory does not exist.
7 years ago
Zach Hilman
e891974118
filesystem: Add Open and Register functions for BISFactory
7 years ago
Zach Hilman
f60bb85805
bis_factory: Add partial implementation of BISFactory
Creates and stores RegisteredCaches for user and system NAND, as creation of a RegisteredCache is expensive.
7 years ago
Zach Hilman
2d881fd587
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.
7 years ago
Zach Hilman
5810088549
loader: Recognize filename '00' as NCA
Needed to avoid mismatch filetype warnings on split NAND NCAs
7 years ago
Zach Hilman
b963629132
vfs: Add ConcatenatedVfsFile
7 years ago
Zach Hilman
f2c489b940
crypto: Remove hex utilities from key_manager
Move to hex_util.h in common
7 years ago
bunnei
94a58af2a2
friend: Stub DeclareCloseOnlinePlaySession.
- Used by Splatoon 2.
7 years ago
bunnei
3c1015b576
friend: Fix CreateFriendService to return an IFriendService interface.
7 years ago
bunnei
3d00bc6ad7
server_session: Provide more useful information and don't crash on bad IPC request.
7 years ago
Lioncash
53e86e35eb
core: Namespace EmuWindow
Gets the class out of the global namespace.
7 years ago
Lioncash
38049444da
video_core; Get rid of global g_toggle_framelimit_enabled variable
Instead, we make a struct for renderer settings and allow the renderer
to update all of these settings, getting rid of the need for
global-scoped variables.
This also uncovered a few indirect inclusions for certain headers, which
this commit also fixes.
7 years ago
Zach Hilman
da921ac3f3
loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
7 years ago
Lioncash
ff9e0e9727
buffer_queue: Make reference parameter of SetPreallocatedBuffer const
This is simply copied by value, so there's no need to make it a
modifiable reference.
While we're at it, make the names of the parameters match its
definition.
8 years ago
Lioncash
b9ec5ec5b4
hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const
This function doesn't modify anything within the reference Thread
instance.
8 years ago
Zach Hilman
e883f6faa8
vfs: Fix documentation
8 years ago
Zach Hilman
1e2232797a
vfs: Fix typo in VfsFilesystem docs
8 years ago
Zach Hilman
b43d01f09b
file_util: Use enum instead of bool for specifing path behavior
8 years ago
Zach Hilman
55190386b4
loader: Remove unused IdentifyFile overload
8 years ago
Zach Hilman
a92960a5d6
vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectory
8 years ago
Zach Hilman
d4ca68f3c5
file_sys: Add missing include in savedata_factory
8 years ago
Zach Hilman
4cbef33915
core: Port core to VfsFilesystem for file access
8 years ago
Zach Hilman
4f44293e63
vfs: Add unreachable assert to file permissions converter
8 years ago
Zach Hilman
6b97b22716
vfs: Add RealVfsFilesystem implementation
8 years ago
Zach Hilman
325a55bb1e
vfs: Add VfsFilesystem interface and default implementation
8 years ago
Zach Hilman
653257de93
filesystem: Remove unnecessary if conditions
8 years ago
Lioncash
4cfe9fad75
fsp_srv: Use std::string_view's copy() function instead of strncpy()
Given elements inserted into a vector are zeroed out, we can just copy
MAX_LEN - 1 elements and the data will already be properly null
terminated.
8 years ago
Lioncash
a1320c53af
fsp_srv: Emplace entries first when building index instead of emplacing last
The current way were doing it would require copying a 768 character
buffer (part of the Entry struct) to the new element in the vector.
Given it's a plain array, std::move won't eliminate that.
Instead, we can emplace an instance directly into the destination buffer
and then fill it out, avoiding the need to perform any unnecessary
copies.
Given this is done in a loop, we can request the destination to allocate
all of the necessary memory ahead of time, avoiding the need to
potentially keep reallocating over and over on every few insertions into
the vector.
8 years ago
mailwl
89cc070fcf
Service/Account: stub LoadImage function
8 years ago
mailwl
219c0dabe1
hid: fix IsSixAxisSensorAtRest() response
8 years ago
bunnei
e0f48e4daf
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
8 years ago
bunnei
5851753d2a
am: Stub SetScreenShotImageOrientation.
- Used by Super Mario Odyssey.
8 years ago
Lioncash
3266d0989f
acc: Add missing function table entries for GetUserCount
Given this is stubbed within the common module in
5ac7b84, it should be added to the other relevant tables as well.
8 years ago
bunnei
a0c94e433d
acc: Stub GetUserCount. ( #973 )
- Used by Pokken Tournament DX.
8 years ago
Lioncash
e8824d065b
nvdrv: Get rid of global std::weak_ptr
Rather than use global state, we can simply pass the instance into the
NVFlinger instance directly.
8 years ago
Lioncash
fdde0c66db
hle: Remove unused romfs.cpp/.h
These files are no longer used, so we can get rid of them.
8 years ago
Zach Hilman
9aa2bfc60c
loader: Fix scope error in DeconstructedRomDirectory
8 years ago
Lioncash
a3f5289038
service/apm: Add the apm:sys service
Adds the basic skeleton of the apm:sys service based off the information
on Switch Brew.
8 years ago
Lioncash
64e8d3fd3d
nvflinger: Correct typo in name of composition event
8 years ago
Lioncash
e1625fdbec
nvdrv: Make Ioctl()'s definition match its prototype
The only reason this wasn't a compilation error is because we use
little-endian systems.
8 years ago
Lioncash
5bdcce6955
nvdrv: Get rid of indirect inclusions
8 years ago