aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-12-06CMakeLists,network: Create YUZU_UNIX macro to replace __unix__comex
__unix__ is not predefined on Apple platforms even though they are Unix.
2020-12-06renderer_vulkan: Add missing `override` specifiercomex
2020-12-06map_interval: Change field order to address uninitialized field warningcomex
Clang complains about `new_chunk`'s constructor using the then-uninitialized `first_chunk` (even though it's just to get a pointer into it).
2020-12-06core: Mark unused fields as [[maybe_unused]]comex
2020-12-06boxcat: Avoid unnecessary object copycomex
2020-12-06nvdrv: Remove useless re-declaration of pure virtual methods that were ↵comex
already declared in the superclass
2020-12-06video_core: Adjust `NUM` macro to avoid Clang warningcomex
The previous definition was: #define NUM(field_name) (sizeof(Maxwell3D::Regs::field_name) / sizeof(u32)) In cases where `field_name` happens to refer to an array, Clang thinks `sizeof(an array value) / sizeof(a type)` is an instance of the idiom where `sizeof` is used to compute an array length. So it thinks the type in the denominator ought to be the array element type, and warns if it isn't, assuming this is a mistake. In reality, `NUM` is not used to get array lengths at all, so there is no mistake. Silence the warning by applying Clang's suggested workaround of parenthesizing the denominator.
2020-12-06Merge pull request #5143 from comex/xx-users-sizeRodrigo Locatti
yuzu_cmd: Remove 'users_size'
2020-12-06Merge pull request #5141 from comex/xx-true-falseRodrigo Locatti
maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
2020-12-06Merge pull request #5140 from FearlessTobi/port-5577bunnei
Port citra-emu/citra#5577: "Update cubeb and request a persistent stream session"
2020-12-06Merge pull request #5132 from lioncash/xbyak-abibunnei
xbyak_abi: Avoid implicit sign conversions
2020-12-06hle: kernel: Process: Various style fixes based on code review feedback.bunnei
2020-12-06core: cpu_manager: Fix a typo in PreemptSingleCore, which broke many games.bunnei
- We were reload'ing the old current scheduler, which may have changed.
2020-12-06hle: kernel: Thread: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KScopedSchedulerLockAndSleep: Various style fixes based on code ↵bunnei
review feedback.
2020-12-06hle: kernel: KScopedLock: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KAbstractSchedulerLock: Various style fixes based on code ↵bunnei
review feedback.
2020-12-06hle: kernel: KScheduler: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KPriorityQueue: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KAffinityMask: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: GlobalSchedulerContext: Various style fixes based on code ↵bunnei
review feedback.
2020-12-06common: BitSet: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: Use C++ style comments in KScheduler, etc.bunnei
2020-12-06kernel: KScopedSchedulerLockAndSleep: Remove unused ctor.bunnei
2020-12-06kernel: time_manager: Add missing lock guards.bunnei
2020-12-06hle: kernel: Migrate to KScopedSchedulerLock.bunnei
2020-12-06hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.bunnei
2020-12-06hle: kernel: Separate KScheduler from GlobalSchedulerContext class.bunnei
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei
2020-12-06hle: kernel: physical_core: Clear exclusive state after each run.bunnei
- This is closer to pre-multicore behavior, and works a bit better.
2020-12-06hle: kernel: Port KAbstractSchedulerLock from Mesosphere.bunnei
2020-12-06hle: kernel: svc: Remove reschedule on svcBreak.bunnei
- This breaks things, and is unnecessary, since emulation will be done at this point.
2020-12-06hle: kernel: process: Add schedule count tracking, to be used for yield impl.bunnei
2020-12-06hle: kernel: svc: Remove unnecessary hack in svcSleep.bunnei
2020-12-06common: Port KPriorityQueue from Mesosphere.bunnei
2020-12-06common: Port BitSet from Mesosphere.bunnei
2020-12-06hle: kernel: Port KAffinityMask from Mesosphere.bunnei
2020-12-05maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflictcomex
On Apple platforms, FALSE and TRUE are defined as macros by <mach/boolean.h>, which is included by various system headers. Note that there appear to be no actual users of the names to fix up.
2020-12-05yuzu_cmd: Remove 'users_size'comex
Specifically: const auto size = sdl2_config->GetInteger("System", "users_size", 0); The variable is never used, producing a warning. I wondered if this ought to be assigning something to in `Settings`, but nothing else in the codebase ever mentions a setting called "users_size", so I guess it's safe to remove...
2020-12-05Update cubeb and request a persistent stream sessionVitor Kiguchi
2020-12-05video_core: Resolve more variable shadowing scenarios pt.3Lioncash
Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
2020-12-05game_list_p: Resolve deprecated usage of QVariant operator<Lioncash
This is designated as obsolete in Qt's docs (see: https://doc.qt.io/qt-5/qvariant-obsolete.html#operator-lt)
2020-12-05applets: Resolve variable shadowingMorph
2020-12-05video_core: Resolve more variable shadowing scenarios pt.2Lioncash
Migrates the video core code closer to enabling variable shadowing warnings as errors. This primarily sorts out shadowing occurrences within the Vulkan code.
2020-12-05Merge pull request #5124 from lioncash/video-shadowbunnei
video_core: Resolve more variable shadowing scenarios
2020-12-04Merge pull request #5127 from FearlessTobi/port-5617bunnei
Port citra-emu/citra#5617: "Fix telemetry-related exit crash from use-after-free"
2020-12-05xbyak_abi: Shorten std::size_t to size_tLioncash
Makes for less reading.
2020-12-05xbyak_abi: Avoid implicit sign conversionsLioncash
2020-12-05system_version: Update to 11.0.0Chloe Marcec
2020-12-05Fix telemetry-related exit crash from use-after-freeFearlessTobi
Co-Authored-By: xperia64 <xperia64@users.noreply.github.com>