summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-09-16Merge pull request #4663 from ReinUsesLisp/wswitchbunnei
video_core: Enforce -Werror=switch
2020-09-16file_sys/romfs_factory: Eliminate usage of the global system accessorLioncash
2020-09-16file_sys/bis_factory: Eliminate usage of the global system accessorLioncash
2020-09-16loader/nso: Remove unnecessary [[maybe_unused]]Lioncash
2020-09-16video_core: Enforce -Werror=switchReinUsesLisp
This forces us to fix all -Wswitch warnings in video_core.
2020-09-16core/loader: Remove dependencies on the global system instanceLioncash
Now all that remains is: 18 instances in file_sys code 14 instances in GDB stub code (this can be tossed wholesale) 4 instances in HLE code 2 instances in settings code.
2020-09-16Merge pull request #4658 from lioncash/copy3Rodrigo Locatti
nca_patch: Reduce stack usage size within SearchBucketEntry()
2020-09-15nca_patch: Significantly reduce the stack usage size within SearchBucketEntry()Lioncash
Previously this function was using ~16KB of stack (16528 bytes), which was caused by the function arguments being taken by value rather than by reference. We can make this significantly lighter on the stack by taking them by reference.
2020-09-15nca_patch: Make SearchBucketEntry() internally linkedLioncash
This is only used internally and doesn't depend on any class state, so we can make it fully internal.
2020-09-15cheat_engine: Convert ExtractName into a non-template functionLioncash
We don't need to create two separate instantiations of the same code, we can simply make the character template argument a regular function parameter.
2020-09-15cheat_engine: Remove unnecessary system argument to CheatParser's Parse functionLioncash
This isn't used within the function at all in any implementations, so we can remove it entirely.
2020-09-14patch_manager: Resolve implicit truncations in FormatTitleVersion()Lioncash
We make it explicit that we're truncating arithmetic here to resolve compiler warnings (even if the sizes weren't u32/u64 arithmetic generally promotes to int :<)
2020-09-14patch_manager: Make use of type aliasesLioncash
We can use these to avoid typing the same type redundantly. This way, if these ever change, only a single location needs to be modified.
2020-09-14patch_manager: Make a few functions internally linkedLioncash
These functions are only used within this translation unit, so we can make them internally linked.
2020-09-14crypto/key_manager: Remove dependency on the global system accessorLioncash
We can supply the content provider as an argument instead of hardcoding a global accessor in the implementation.
2020-09-14kernel: Remove all dependencies on the global system instanceLioncash
With this, the kernel finally doesn't depend directly on the global system instance anymore.
2020-09-14Merge pull request #4636 from lioncash/kernel-hlebunnei
service: Remove two usages of the global system accessor
2020-09-11Merge pull request #4323 from ReinUsesLisp/no-spinbunnei
kernel/scheduler: Use std::mutex instead of spin lock
2020-09-11Merge pull request #4634 from lioncash/blockingbunnei
bsd: Resolve a few warnings
2020-09-11Merge pull request #4310 from ogniK5377/apollo-1-prodbunnei
audio_core: Apollo Part 1, AudioRenderer refactor
2020-09-10Merge pull request #4597 from Morph1984/mjolnir-p2bunnei
Project Mjölnir: Part 2 - Controller Applet
2020-09-10Merge pull request #4608 from lioncash/sign3bunnei
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
2020-09-10Merge pull request #4633 from ReinUsesLisp/gpu-initRodrigo Locatti
video_core: Remove all Core::System references in renderer
2020-09-07service: Remove two usages of the global system accessorLioncash
Removes more instances of reliance on global state.
2020-09-07gc_adapter: Make DeviceConnected() a const member functionLioncash
This doesn't modify instance state, so it can be made const.
2020-09-07bsd: Resolve unused value within SendToImplLioncash
Previously the address provided to SendToImpl would never be propagated to SendTo(). This fixes that.
2020-09-07bsd: Resolve sign comparison warningsLioncash
2020-09-07sockets_translate: Make use of designated initializersLioncash
Same behavior, less typing.
2020-09-07blocking_worker: Make use of templated lambdaLioncash
We can simplify this a little by explicitly specifying the typename for the lambda function.
2020-09-07blocking_worker: Resolve -Wdocumentation warningLioncash
2020-09-06Merge pull request #4606 from lioncash/constexprbunnei
game_list_p: Mark some constants as constexpr
2020-09-06video_core: Remove all Core::System references in rendererReinUsesLisp
Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend.
2020-09-05Merge pull request #4397 from ReinUsesLisp/bsdbunnei
services: Implement most of bsd:s and GetCurrentIpAddress from nifm
2020-09-04hid: Implement MergeSingleJoyasDualJoyMorph
- Used in multiple games such as Super Mario Odyssey.
2020-09-04applets/controller: Resolve several compiler warningsMorph
Resolves -Wsign-compare and -Wunused-variable
2020-09-04Address feedbackMorph
2020-09-04clang-formatMorph
2020-09-04applets/controller: Set min_players to have a minimum value of 1.Morph
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
2020-09-04applets/controller: Modify heuristic to account for certain gamesMorph
Now left and right joycons have the same priority (meaning both needs to be supported by the game). Explanation of the new heuristic: Assign left joycons to even player indices and right joycons to odd player indices. We do this since Captain Toad Treasure Tracker expects a left joycon for Player 1 and a right Joycon for Player 2 in 2 Player Assist mode.
2020-09-04main: Apply settings after applet configuration is complete.Morph
2020-09-04applets/controller: Implement fallback applet for the SDL frontendMorph
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
2020-09-04applets/controller: Load configuration prior to setting up connectionsMorph
This avoids unintentionally changing the states of elements while loading them in.
2020-09-04applets/controller: Make 8 a static constexpr value of NUM_PLAYERSMorph
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
2020-09-04applets/controller: Implement "Explain Text"Morph
"Explain Text" is additional text that is shown for each player in the controller applet.
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-09-03Merge pull request #4611 from lioncash/xbyak2bunnei
externals: Update Xbyak to 5.96
2020-09-03Merge pull request #4583 from lioncash/truncbunnei
gc_poller: Resolve compilation warnings on MSVC
2020-09-03Merge pull request #4578 from lioncash/xorbunnei
common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORS
2020-09-03Merge pull request #4590 from ReinUsesLisp/tsan-schedbunnei
hle/scheduler: Fix data race in is_context_switch_pending
2020-09-03Merge pull request #4575 from lioncash/asyncbunnei
async_shaders: Mark getters as const member functions