| Age | Commit message (Collapse) | Author |
|
fsp_srv: Implement OpenDataStorageWithProgramIndex
|
|
- Used by RollerCoaster Tycoon 3: Complete Edition
|
|
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
|
|
Now there's only two meaningful instances left in core.
|
|
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
|
|
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
|
|
|
|
core: Fix clang build
|
|
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
|
|
Add a check if dir is nullptr (does not exist)
Fixes save game creation in Hades
|
|
|
|
We can just log out the parameters in the meantime.
|
|
Initialize id to a deterministic value and also mark the unreachable
cases in the switch with UNREACHABLE().
|
|
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
|
|
|
|
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
|
|
|
|
|
|
If subdirectories exist in the given path parameter and don't exist in the real filesystem create them prior to creating the files within.
This fixes the softlocks upon save creation in The Legend of Zelda: Breath of the Wild
|
|
|
|
Closes #3533
Turns out the functions were already implemented but just never added
|
|
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
|
|
Allows reporting more cases where logic errors may exist, such as
implicit fallthrough cases, etc.
We currently ignore unused parameters, since we currently have many
cases where this is intentional (virtual interfaces).
While we're at it, we can also tidy up any existing code that causes
warnings. This also uncovered a few bugs as well.
|
|
|
|
core/memory: Deglobalize memory management code
|
|
This can trivially be an enum class rather than a regular enum, making
it more strongly typed.
|
|
Amends a few interfaces to be able to handle the migration over to the
new Memory class by passing the class by reference as a function
parameter where necessary.
Notably, within the filesystem services, this eliminates two ReadBlock()
calls by using the helper functions of HLERequestContext to do that for
us.
|
|
service: Update function tables
|
|
Keeps the function tables up to date.
Updated based off information from Switchbrew.
|
|
These are fairly trivial to resolve and most of the changes entail
using RESULT_UNKNOWN over ResultCode(-1).
|
|
Migrates the HLE service code off the use of directly accessing the
global system instance where trivially able to do so.
This removes all usages of Core::CurrentProcess from the service code,
only 8 occurrences of this function exist elsewhere. There's still quite
a bit of "System::GetInstance()" being used, however this was able to
replace a few instances.
|
|
|
|
Ports BCAT to use FSC interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns some misc. data about logging to help the game determine if it should log.
|
|
Allows games to log data to the SD.
|
|
service: Update service function tables
|
|
Updates function tables based off information from SwitchBrew.
|
|
IDirectory's Read() function doesn't take any input parameters. It only
uses the output parameters that we already provide.
|
|
These indicate options that alter how a read/write is performed.
Currently we don't need to handle these, as the only one that seems to
be used is for writes, but all the custom options ever seem to do is
immediate flushing, which we already do by default.
|
|
file_sys: Provide generic interface for accessing game data
|
|
service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structs
|
|
Passing around a 64 byte data struct by value is kind of wasteful,
instead pass a reference to the struct.
|
|
The unknown member here is actually padding due to being passed as a
struct. We can do the same, and remove the need to pop a padding word.
|
|
I realized that I updated the documentation on SwitchBrew a while ago,
but never actually updated the structs within yuzu.
|