summaryrefslogtreecommitdiff
path: root/Source/Core/Common
AgeCommit message (Collapse)Author
2023-09-03IOS/KD: Implement NWC24_CHECK_MAIL_NOWSketch
2023-09-02Merge pull request #12079 from JosJuice/blr-no-fastmemJMC47
Jit: Allow BLR optimization without fastmem
2023-09-02Common/MemArena: Add LazyMemoryRegion to represent a zero-initialized memory ↵Admiral H. Curtiss
region whose pages are only allocated on first access.
2023-08-29Jit: Add more error checking to ProtectStackJosJuice
2023-08-26Merge pull request #12117 from JosJuice/config-callback-cpuAdmiral H. Curtiss
Don't call RunAsCPUThread in config callbacks
2023-08-26Merge pull request #12135 from ↵Admiral H. Curtiss
Dentomologist/jitarm64_resolve_deprecated_enum_conversion_warning JitArm64: Resolve deprecated enum conversion warning
2023-08-23JitArm64: Resolve deprecated enum conversion warningDentomologist
Resolve warning caused by using values from two different enums in a conditional expression which was deprecated in c++20. The warning in question is clang -Wdeprecated-anon-enum-enum-conversion and gcc -Wenum-compare.
2023-08-22Move SmallVector to CommonJosJuice
We had one implementation of this type of data structure in Arm64Emitter and one in VideoCommon. This moves the Arm64Emitter implementation to its own file and adds begin and end functions to it, so that VideoCommon can use it. You may notice that the license header for the new file is CC0. I wrote the Arm64Emitter implementation of SmallVector, so this should be no problem.
2023-08-17Use structs for config callback IDsJosJuice
This way you can't mix up regular config callback IDs and CPU thread config callback IDs. (It would be rather bad if you did!)
2023-08-17Config: Don't clear callbacks on shutdownJosJuice
This fixes a problem that started happening in CoreTimingTest after the previous commit. CPUThreadConfigCallback registers a Config callback only once per run of the process, but CoreTimingTest calls Config::Shutdown after each test, and Config::Shutdown was clearing all callbacks, preventing the callback from running after that.
2023-08-17Don't call RunAsCPUThread in config callbacksJosJuice
In theory, our config system supports calling Set from any thread. But because we have config callbacks that call RunAsCPUThread, it's a lot more restricted in practice. Calling Set from any thread other than the host thread or the CPU thread is formally thread unsafe, and calling Set on the host thread while the CPU thread is showing a panic alert causes a deadlock. This is especially a problem because 04072f0 made the "Ignore for this session" button in panic alerts call Set. Because so many of our config callbacks want their code to run on the CPU thread, I thought it would make sense to have a centralized way to move execution to the CPU thread for config callbacks. To solve the deadlock problem, this new way is non-blocking. This means that threads other than the CPU thread might continue executing before the CPU thread is informed of the new config, but I don't think there's any problem with that. Intends to fix https://bugs.dolphin-emu.org/issues/13108.
2023-08-12NandPaths: Use initializer_list instead of unordered_setDentomologist
2023-08-12NandPaths: Resolve Android tautological comparison warningDentomologist
Android interprets char as unsigned char, so comparing with 0 triggers a tautological-unsigned-char-zero-compare warning. Casting c to an unsigned char and removing the comparison with 0 resolves the warning while needing one less comparison on all platforms.
2023-07-29Merge pull request #12073 from AdmiralCurtiss/wiimote-win32errorJosJuice
WiimoteReal/IOWin: Use correct error type in the default case.
2023-07-28CommonFuncs: Add GetWin32ErrorString().Admiral H. Curtiss
2023-07-27GekkoDisassembler: Remove unused parameter dmode from fdabc functionDentomologist
With the removal of m_flags, dmode is no longer used in fdabc.
2023-07-27GekkoDisassembler: Remove unused parameter dmode from ldst functionDentomologist
With the removal of m_flags, dmode is no longer used in ldst.
2023-07-27GekkoDisassembler: Remove unused parameter dmode from rrn functionDentomologist
With the removal of m_flags, dmode is no longer used in rrn.
2023-07-27GekkoDisassembler: Remove unused parameter dmode from dab functionDentomologist
With the removal of m_flags, dmode is no longer used in dab.
2023-07-27GekkoDisassembler: Remove unused parameter dmode from nooper functionDentomologist
With the removal of m_flags, dmode is no longer used in nooper.
2023-07-27GekkoDisassembler: Remove unread variable m_flagsDentomologist
Writes to m_flags are pointless as it's never read.
2023-07-24Merge pull request #12045 from tupfold/masterAdmiral H. Curtiss
[Minor Bugfix] Extremely rare HostID collision bugfix
2023-07-13Fixed a bug where in the extremely unlikely change that HostIDs collide, a ↵Upfoldian
new HostID is generated.
2023-07-12Common/Network: Use StrErrorWrapperSepalani
2023-07-12Common/CommonFuncs: Add StrErrorWrapper functionSepalani
2023-07-01GekkoDisassembler: Remove unread variable m_displacementDentomologist
2023-07-01GekkoDisassembler: Remove unread variable m_sregDentomologist
2023-07-01Merge pull request #11992 from Dentomologist/remove_mtype_and_associated_enumJosJuice
GekkoDisassembler: Remove unread variable and associated enum
2023-06-30Merge pull request #11955 from TellowKrinkle/CMakeDependenciesAdmiral H. Curtiss
CMake: Allow ignoring system packages
2023-06-30Merge pull request #12007 from AdmiralCurtiss/cmake-scmrev-at-build-timeAdmiral H. Curtiss
CMake: Generate scmrev.h at build time instead of configure time.
2023-06-29Common: Better AlignUp implementationTellowKrinkle
2023-06-29CMake: Generate scmrev.h at build time instead of configure time.Admiral H. Curtiss
2023-06-26Merge pull request #11903 from noahpistilli/wiilinkAdmiral H. Curtiss
IOS/KD: Add WiiLink as WC24 service provider by default
2023-06-25Add default support for WiiLink + configurationSketch
2023-06-24GekkoDisassembler: Remove unused enum InstructionTypeDentomologist
2023-06-24GekkoDisassembler: Remove unread variable m_typeDentomologist
Writes to m_type are pointless because it's never read.
2023-06-23Merge pull request #11920 from Minty-Meeo/kill-ascii-to-hexPokechu22
Kill AsciiToHex
2023-06-22Kill AsciiToHexget
Now superseded by Common::FromChars
2023-06-20Rename Symbol constructor parameter to prevent shadowingNicolas van Kempen
2023-06-19Merge pull request #11972 from Minty-Meeo/string-improvements-part-1cAdmiral H. Curtiss
Replace std::ostringstream usage with fmt::format
2023-06-18Replace std::ostringstream usage with fmt::formatget
2023-06-18Merge pull request #11966 from ↵Admiral H. Curtiss
Dentomologist/convert_xemitter_prefetchlevel_to_enum_class xEmitter: Convert PrefetchLevel to enum class
2023-06-18Arm64Emitter/x64Emitter: Use nodiscard for FixupBranchJosJuice
This should prevent future occurrences of the type of problem that was fixed in b713042.
2023-06-17xEmitter: Convert PrefetchLevel to enum classDentomologist
2023-06-17EnumUtils: Add Common::ToUnderlyingget
Mirrors the C++23 <utility> function, std::to_underlying
2023-06-16Merge pull request #11834 from ↵Admiral H. Curtiss
Dentomologist/xemitter_use_pseudonamed_parameter_force5bytes XEmitter: Add enum class Force5Bytes
2023-06-15CMake: Use targets for all optionally-external dependenciesTellowKrinkle
2023-06-13Common: Convert FromWhichRoot to enum classDentomologist
2023-06-13Merge pull request #11941 from ↵Admiral H. Curtiss
Dentomologist/convert_blockingloop_stopmode_to_enum_class Common: Convert BlockingLoop::StopMode to enum class
2023-06-12Common: Convert BlockingLoop::StopMode to enum classDentomologist