aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2022-12-10memory: remove DEBUG_ASSERT pointer testLiam
2022-12-09Remove the lock entirely as per PR discussionSalvage
Correctly unlock mutex before its destruction As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case Swap out unique for scoped lock and readd comment
2022-12-06Merge pull request #9370 from liamwhite/break-unmappedmerry
core: add option to break on unmapped access
2022-12-06Merge pull request #9392 from lioncash/reporterliamwhite
reporter: Eliminate undefined behavior in SaveErrorReport
2022-12-06Merge pull request #9390 from lioncash/keyboardliamwhite
applets: Extract callback types into aliases
2022-12-06Merge pull request #9389 from lioncash/emumoveliamwhite
emulated_console/emulated_controller: std::move ParamPackage instances where applicable
2022-12-06Merge pull request #9386 from lioncash/initliamwhite
kernel: Ensure relevant class members are always initialized on construction
2022-12-05Merge pull request #9369 from german77/mifareliamwhite
service: nfc: Implement mifare service
2022-12-05reporter: Pass by const reference where applicableLioncash
Same behavior, but without memory churn.
2022-12-05reporter: Eliminate undefined behavior in SaveErrorReportLioncash
The optionals are unconditionally dereferenced when setting the custom error text, and in a few cases this function is called using the default value of the optionals. This means we'd be dereferencing uninitialized storage. Since they're used unconditionally, we can use value_or to set a default when storage is uninitialized.
2022-12-05applets/controller: Use aliases for callbacksLioncash
2022-12-05applets/error: Use aliases for callbacksLioncash
2022-12-05applets/mii_edit: Use aliases for callbacksLioncash
2022-12-05applets/profile_select: Use aliases for callbacksLioncash
Deduplicates callback definitions and situates it in one place.
2022-12-05applets/web_browser: Use aliases for callbacksLioncash
Deduplicates a lot of long callback declarations
2022-12-05applets/software_keyboard: Use aliases for callbacksLioncash
Deduplicates really long std::function declarations to make the interface nicer to read.
2022-12-05emulated_controller: Remove unused parameter in GetMappedDevices()Lioncash
This isn't used, so it can be removed to make the function a little nicer.
2022-12-05emulated_controller: Use std::move() in GetMappedDevices()Lioncash
Avoids churning allocations in a loop.
2022-12-05emulated_console: Amend cast in SetTouch()Lioncash
id is an int value, not a u32.
2022-12-05emulated_console: std::move() ParamPackages and callbacks where applicableLioncash
2022-12-05kernel/k_shared_memory: Ensure device_memory is always initializedLioncash
2022-12-05kernel/k_memory_block: Ensure members are always initializedLioncash
2022-12-05kernel/physical_core: Ensure is_interrupted is always initializedLioncash
2022-12-05kernel/thread: Ensure stack_top and argument are always initializedLioncash
2022-12-05kernel/kernel: Ensure shutdown threads are always initializedLioncash
2022-12-05Merge pull request #6833 from abouvier/unbundleliamwhite
cmake: prefer system libraries
2022-12-04Merge pull request #9381 from liamwhite/uninitMai
service_thread: fix uninitialized memory usage
2022-12-04service_thread: fix uninitialized memory usageLiam
2022-12-04Merge pull request #9232 from bunnei/audio-default-threadliamwhite
hle: service: audio: Use default service thread.
2022-12-04Merge pull request #9273 from ameerj/per-game-profileliamwhite
Configuration: Add per-game input profiles
2022-12-04cmake: prefer system librariesAlexandre Bouvier
2022-12-04Merge pull request #9374 from liamwhite/externalsliamwhite
externals: update dynarmic, SDL2
2022-12-04externals: update dynarmic, SDL2Liam
2022-12-03Merge pull request #9344 from liamwhite/nullbunnei
video_core: add null backend
2022-12-03Merge pull request #9300 from ameerj/pchliamwhite
CMake: Use precompiled headers to improve compile times
2022-12-03Merge pull request #9289 from liamwhite/fruit-companyliamwhite
general: fix compile for Apple Clang
2022-12-02Merge pull request #9303 from liamwhite/new-vulkan-initMatías Locatti
Vulkan: update initialization
2022-12-02core: add option to break on unmapped accessLiam
2022-12-01Merge pull request #9348 from Morph1984/when-the-network-is-downliamwhite
service: nifm: Update stubs for Submit/GetRequestState/GetResult
2022-12-01service: nfc: Implement mifare serviceNarr the Reg
2022-11-30CMake: Consolidate common PCH headersameerj
2022-11-30Merge pull request #9320 from yuzu-emu/fix-audio-suspendFernando S
AudioCore: Take suspend lock when stalling the running process.
2022-11-29CMake: Use precompiled headersameerj
2022-11-29Merge pull request #9340 from lioncash/nvdrvliamwhite
nvdrv: Simplify builder declarations
2022-11-29Merge pull request #9346 from lioncash/vtableliamwhite
producer_listener: Add virtual destructor to IProducerListener
2022-11-29Merge pull request #9345 from lioncash/fenceliamwhite
consumer_base: Pass std::shared_ptr by const reference
2022-11-29Merge pull request #9343 from lioncash/boundsliamwhite
syncpoint_manager: Reduce redundant bounds checks
2022-11-28service: nifm: Update stubs for Submit/GetRequestState/GetResultMorph
2022-11-28video_core: add null backendLiam
2022-11-28producer_listener: Add virtual destructor to IProducerListenerLioncash
Several member variables are shared_ptr's to this base class. Even though producer listeners are still unimplemented, this ensures we always have consistent deletion behavior once this ends up being used polymorphically.