summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2024-01-23FreeLookManager: check for __APPLE__ with defined()Lioncash
Previously this was treating the identifier as if it were always defined by default
2024-01-23Jit64AsmCommon: Remove redundant m_jit member from CommonAsmRoutinesLioncash
We pass a JIT instance all the way down to EmuCodeBlock, which is accessible under protected as well, so this isn't really necessary.
2024-01-23WiimoteReal: Explicitly break instead of fallthrough in IsBalanceBoard()Lioncash
Same behavior, no compiler warnings.
2024-01-23EXI_DeviceAGP: Annotate fallthrough with [[fallthrough]]Lioncash
Same behavior, but eleminates compiler warnings.
2024-01-23PPCAnalyst: Merge duplicate expression in ReorderInstructionsCore()Lioncash
The type checking is duplicated here, which makes this seem a little weird, so we can get rid of it.
2024-01-23State: Make use of re-entrant variant of localtimeLioncash
Makes this member function thread-safe. We can also unify the string handling to make it easier to maintain.
2024-01-23Movie: Remove global system accessor from GetRTCDisplay()Lioncash
We can just use m_system instance reference instead.
2024-01-23Movie: Mark getters as constLioncash
These don't modify internal member state.
2024-01-23Movie: Use re-entrant variant of gmtime in GetRTCDisplay()Lioncash
Makes this member function thread-safe.
2024-01-23NetKDTime: Use re-entrant variants of gmtimeLioncash
Makes these implementations more thread-safe by design. These likely won't be run on any other thread, but we may as well just use the re-entrant variant if it's available.
2024-01-23VideoCommon: add function to serialize MaterialAsset to jsoniwubcode
2024-01-23PostProcessing: Don't potentially leak memory in BlitFromTexture()Lioncash
All release() does is relinquish the pointer, rather than free the memory associated with it.
2024-01-23PostProcessing: Remove unnecessary get() calls in BlitFromTexture()Lioncash
We can just use operator-> instead.
2024-01-23Merge pull request #12518 from lioncash/pragmaJosJuice
AchievementSettings: Move pragma once out of ifdef
2024-01-23Merge pull request #12517 from lioncash/allocJosJuice
Jit64/JitRegCache: Simplify GetAllocationOrder()
2024-01-23VideoCommon: add a method to calculate a default value for ShaderAsset and ↵iwubcode
another to list its types
2024-01-23VideoCommon: add function to serialize ShaderAsset to jsoniwubcode
2024-01-23AchievementSettings: Move pragma once out of ifdefLioncash
Makes the header a little more consistent with others (and also we should still have a header guard be present at all times).
2024-01-23Jit64/JitRegCache: Simplify GetAllocationOrder()Lioncash
Given we have fixed allocation orders, we can just directly return a span instead of a pointer and a size via an out parameter. Makes it a little more convenient, since we get both pieces of info at once, and also have the ability to iterate directly off the span out of the box.
2024-01-21Merge pull request #12510 from JosJuice/android-revert-attach-earlyMai
Revert "Android: Attach CPU thread to JVM early"
2024-01-21Merge pull request #12512 from JosJuice/assembler-dirty-flagMai
DolphinQt: Rework dirty flag handling in AssemblerWidget::TabTextForEditor
2024-01-20Merge pull request #12509 from AdmiralCurtiss/bbox-init-only-if-supportedJosJuice
VideoCommon: Only initialize Bounding Box if supported by GPU/driver.
2024-01-20DolphinQt: Rework dirty flag handling in AssemblerWidget::TabTextForEditorJosJuice
Putting the handling of the dirty flag in only one string makes it clearer for translators what's going on.
2024-01-20Partially revert "DolphinQt/Assembler: improve translatability"JosJuice
This reverts the parts of commit c8c9928eb1 that made translatability worse rather than better. Changing "Error in column %2" to "%1 in column %2" not only means that the translators have to check the i18n comments to know what word hides behind %1, but there's also the problem that the translator might need to translate "Error" in this context differently from the standalone string "Error". Having to copy-paste some HTML tags may be annoying for translators, but it's a far less serious problem.
2024-01-20Revert "Android: Attach CPU thread to JVM early"JosJuice
This reverts commit e86d713600b5e97af9904518b47152c97949c85e. A proper fix was added in 86c1f6e1e7e2abcc3f42e1182134e632b218b6d3, so the workaround is no longer necessary.
2024-01-20VideoCommon: Only initialize Bounding Box if supported by GPU/driver.Admiral H. Curtiss
2024-01-18InputCommon/WGInput: Handle add/remove events on separate thread to prevent ↵Admiral H. Curtiss
deadlocks. In particular this is triggered when running Dolphin with the Steam overlay.
2024-01-18Merge pull request #12503 from AdmiralCurtiss/sdl-fixesAdmiral H. Curtiss
InputCommon/SDL: Fix potential issues in controller initialization.
2024-01-15Merge pull request #12488 from JosJuice/jitarm64-psq-stxx-w0Mai
JitArm64: Remove unnecessary locking of W0 in psq_stXX
2024-01-15Merge pull request #12498 from AdmiralCurtiss/globals-socketMai
Core/IOS/Network/Socket: Avoid global system accessor.
2024-01-15InputCommon/SDL: Code style fixes.Admiral H. Curtiss
2024-01-15InputCommon/SDL: Avoid potential infinite loops from integer truncation.Admiral H. Curtiss
2024-01-15InputCommon/SDL: Check for errors from SDL_JoystickNumButtons(), ↵Admiral H. Curtiss
SDL_JoystickNumAxes(), SDL_JoystickNumHats().
2024-01-15InputCommon/SDL: Fix incorrect use of std::vector::assign() and check bounds.Admiral H. Curtiss
2024-01-15Core/Movie: Refactor to class, move to System.Admiral H. Curtiss
A bit of global state remains (the `header` in `BeginRecordingInput()`) due to unclear lifetime requirements.
2024-01-13Merge pull request #12285 from iwubcode/serialize_graphics_modsMai
VideoCommon: add ability to serialize graphics mod to json object
2024-01-13Merge pull request #12085 from SuperSamus/sdl-gamecontrollerAdmiral H. Curtiss
SDL: Add GameController API, cleanup
2024-01-13SDL: Add GameController API, cleanupMartino Fontana
2024-01-13Core/IOS/Network/Socket: Avoid global system accessor.Admiral H. Curtiss
2024-01-13Merge pull request #12500 from AdmiralCurtiss/globals-fiforecorderMai
FifoRecorder: Move instance to System.
2024-01-13Merge pull request #12499 from AdmiralCurtiss/globals-mmiorwMai
Core/HW/MMIO: Pass System through Read() and Write().
2024-01-12Core/FifoPlayer: Avoid global System accessor.Admiral H. Curtiss
2024-01-12FifoRecorder: Move instance to System.Admiral H. Curtiss
2024-01-12Core/HW/MMIO: Pass System through Read() and Write().Admiral H. Curtiss
2024-01-12Merge pull request #12494 from AdmiralCurtiss/globals-wiiipcMai
Core/IOS/WiiIPC: Refactor to class, move to System.
2024-01-12Merge pull request #12496 from AdmiralCurtiss/globals-gbaMai
Core/HW/GBACore: Avoid global System accessor.
2024-01-12Merge pull request #12489 from JosJuice/optimizable-access-sizeAdmiral H. Curtiss
PowerPC: Add access size parameter to MMU::IsOptimizableRAMAddress
2024-01-12Core/HW/GBACore: Avoid global System accessor.Admiral H. Curtiss
2024-01-12Core/IOS/WiiIPC: Add missing variables to savestate.Admiral H. Curtiss
2024-01-12Core/IOS/WiiIPC: Refactor to class, move to System.Admiral H. Curtiss