| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Make OpenDirectory fail if the directory doesn't exist
|
| | | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is in line with what the hardware itself does.
It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails.
Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Change NULLs to nullptrs.
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
SVC: Implemented GetThreadId.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use the next_thread_id variable directly.
|
| | | | | | | | |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Implemented RenameFile and RenameDirectory in FS:USER
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | |_|/ / /
| |/| | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Misc minor kernel-related changes.
|
| | | | | | | | |
|
| | | |_|/ / /
| |/| | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
mem_map: Make enum for addresses use u32 as the underlying type
|
| | |/ / / / / |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
hid_user: Pass by reference with PadButtonPress/PadButtonRelease
|
| | | |_|/ / /
| |/| | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add stub for ConvertProcessFromDspDram
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Should theoretically push retail stuff further along
|
| | |/ / / /
|/| | | |
| | | | |
| | | | | |
GetAdapterState
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
AC_U: Added a stub for GetWifiStatus
|
| | | |_|_|/
| |/| | | |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
PTM_U: Implemented the GetShellState function.
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Dsp service improvements
|
| | | | | | | |
|
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Mutex: Changed behavior to always release mutex for all threads.
|
| | | |/ / / /
| |/| | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Svc and thread fixes
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |/ / / / / |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
dyncom: Use unordered_map rather than the terrible 2-level bb_map
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Seems (probably just placebo/wishful thinking) to make it slightly
faster. Also reduces memory usage and makes shutdown when debugging from
MSVC fast.
|
| |/ / / / / |
|
| | |_|/ /
|/| | | |
|
| |/ / / |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All service calls in the CTR OS return result codes indicating the
success or failure of the call. Previous to this commit, Citra's HLE
emulation of services and the kernel universally either ignored errors
or returned dummy -1 error codes.
This commit makes an initial effort to provide an infrastructure for
error reporting and propagation which can be use going forward to make
HLE calls accurately return errors as the original system. A few parts
of the code have been updated to use the new system where applicable.
One part of this effort is the definition of the `ResultCode` type,
which provides facilities for constructing and parsing error codes in
the structured format used by the CTR.
The `ResultVal` type builds on `ResultCode` by providing a container for
values returned by function that can report errors. It enforces that
correct error checking will be done on function returns by preventing
the use of the return value if the function returned an error code.
Currently this change is mostly internal since errors are still
suppressed on the ARM<->HLE border, as a temporary compatibility hack.
As functionality is implemented and tested this hack can be eventually
removed.
|
| | | |
| | |
| | |
| | |
| | | |
This prevents them from interfering with other constants defined in
different namespaces.
|
| |\ \ \
| |/ /
|/| | |
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
in the service's headers
|
| |\ \ \
| | | |
| | | | |
Remove trailing spaces from the entire project
|