- 16 Oct, 2018 8 commits
-
-
bunnei authored
file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable
-
bunnei authored
Port citra-emu/citra#4327: "travis: Ignore binary files when checking for trailing whitespace"
-
Lioncash authored
file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable The data retrieved in these cases are ultimately chiefly owned by either the RegisteredCache instance itself, or the filesystem factories. Both these should live throughout the use of their contained data. If they don't, it should be considered an interface/design issue, and using shared_ptr instances here would mask that, as the data would always be prolonged after the main owner's lifetime ended. This makes the lifetime of the data explicit and makes it harder to accidentally create cyclic references. It also makes the interface slightly more flexible than the previous API, as a shared_ptr can be created from a unique_ptr, but not the other way around, so this allows for that use-case if it ever becomes necessary in some form.
-
Cameron Cawley authored
-
bunnei authored
web_service: Make linkage of web_service-related externals and the library private
-
bunnei authored
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled
-
bunnei authored
file_sys/control_metadata: Get rid of magic constants
-
Lioncash authored
These are just the size of the data being passed in, so we can specify that via the size() member function.
-
- 15 Oct, 2018 11 commits
-
-
bunnei authored
aoc: Fix various bugs in current AOC implementation
-
bunnei authored
nro/nso: Minor error handling changes
-
bunnei authored
crypto: Various crypto fixes for quickstart guide
-
Lioncash authored
If a malformed NSO is attempted to be loaded, we shouldn't continue onwards. We should be reporting an error and bailing out.
-
bunnei authored
video_core: Minor style changes
-
ReinUsesLisp authored
Control Code 0xf means to unconditionally execute the instruction. This value is passed to most BRA, EXIT and SYNC instructions (among others) but this may not always be the case.
-
ReinUsesLisp authored
-
ReinUsesLisp authored
-
Zach Hilman authored
-
Lioncash authored
-
Lioncash authored
This function doesn't need to care about ownership semantics, so we can just pass it a reference to the file itself, rather than a std::shared_ptr alias.
-
- 14 Oct, 2018 11 commits
-
-
Zach Hilman authored
Falls back to title ID + 0x1000, which is what HOS does.
-
bunnei authored
key_manager/partition_data_manager: Minor changes
-
bunnei authored
yuzu/main: Simplify OnMenuLoadFile()
-
bunnei authored
video_core: Added ASTC 5x4; 8x5 types
-
bunnei authored
filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem by reference
-
bunnei authored
Introduce 3D Swizzle seamlessly
-
bunnei authored
svc: Implement svcGetProcessInfo
-
bunnei authored
Stop all threads on svcBreak
-
David Marcec authored
This should help diagnose crashes easier and prevent many users thinking that a game is still running when in fact it's just an audio thread still running(this is typically not killed when svcBreak is hit since the game expects us to do this)
-
Zach Hilman authored
-
FernandoS27 authored
-
- 13 Oct, 2018 10 commits
-
-
Lioncash authored
A fairly basic service function, which only appears to currently support retrieving the process state. This also alters the ProcessStatus enum to contain all of the values that a kernel process seems to be able of reporting with regards to state.
-
FernandoS27 authored
-
FernandoS27 authored
-
FernandoS27 authored
-
FernandoS27 authored
-
FernandoS27 authored
-
Lioncash authored
filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem instance by reference Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.
-
Lioncash authored
We can utilize QStringList's join() function to perform all of the appending in a single function call. While we're at it, make the extension list a single translatable string and add a disambiguation comment to explain to translators what %1 actually is.
-
Lioncash authored
Depending on whether or not USE_DISCORD_PRESENCE is defined, the "state" parameter can be used or unused. If USE_DISCORD_PRESENCE is not defined, the parameter will be considered unused, which can lead to compiler warnings. So, we can explicitly mark it with [[maybe_unused]] to inform the compiler that this is intentional.
-
Hexagon12 authored
-