summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2024-10-09IOS: log cIOS device checks as warnings, not errorsTillmann Karras
Some games do this to detect piracy.
2024-10-09Merge pull request #13086 from Tilka/gameiniJules Blok
GameSettings: safe texture cache for "Winter Sports 3: The Great Tournament"
2024-10-07Simplify `std::fill` with `std::fill_n`mitaclaw
2024-10-07Simplify `std::copy` with `std::copy_n`mitaclaw
+ a surprise `std::memcpy` in VolumeVerifier.cpp.
2024-10-07Merge pull request #13109 from Pokechu22/fifo-player-wii-batsTilka
FifoPlayer: Set up additional BATs in Wii mode
2024-10-06Fifo analyzer: Fix indexed XF loads showing "bytes" instead of "words"Pokechu22
Indexed XF loads specify the number of 32-bit words (generally floats, but light data has some integers) to load, not the number of bytes. This was only a mistake in the fifo analyzer text; the actual implementation already loaded words.
2024-10-06FifoPlayer: Set up additional BATs in Wii modePokechu22
The light LIT fifolog from https://bugs.dolphin-emu.org/issues/13635 has position data at physical address 11ae3180. This works fine when using the memory viewer in physical mode, but the corresponding virtual address (91ae3180) previously didn't show anything in effective mode. It works fine now though. This shouldn't affect playback of fifologs as everything in there uses physical addresses; this only impacts the memory viewer. This logic was copied from CBoot::SetupBAT.
2024-10-06Merge pull request #12918 from JosJuice/revert-revert-audit-get-stateJMC47
Partially revert "Revert "Audit uses of IsRunning and GetState""
2024-10-06Merge pull request #13105 from lycheefox/skylandersJMC47
Skylanders: Fix Head Rush (Nitro)
2024-10-06VideoBackends:Metal: Use standardized C++ features over clang builtinsTellowKrinkle
2024-10-06VideoBackends:Metal: Log file on failed pipeline compileTellowKrinkle
2024-10-05Skylanders: Fix Head Rush (Nitro)lycheefox
2024-10-05VideoBackends:Vulkan: Increase VMA Vulkan Version to 1.2TellowKrinkle
We now use Vulkan 1.2 if available
2024-10-05Merge pull request #13101 from JosJuice/gametdbid-partitionTilka
Core: Include partition when calling GetGameTDBID for non-game partition
2024-10-05Merge pull request #12208 from PatrickFerry/add-vertex-depth-range-caseJules Blok
Use Vertex Depth Range when zRange Exceeds farZ
2024-10-05Core: Include partition when calling GetGameTDBID for non-game partitionJosJuice
This problem was introduced in 8842a0f402ffe60a80ce7894bfd36afd039009fc and is likely a copy-paste error. Fixes the problem mentioned in the issue comment https://bugs.dolphin-emu.org/issues/13640#note-2.
2024-10-05Merge pull request #13050 from TellowKrinkle/HKIsNotMVKJMC47
Vulkan: Don't do MoltenVK things on Asahi Linux
2024-10-04Merge pull request #13088 from TellowKrinkle/iOSFixesOatmealDome
VideoBackends:Metal: Fix bbox on newer iOS devices
2024-10-04Partially revert "Revert "Audit uses of IsRunning and GetState""JosJuice
This reverts the revert commit bc67fc97c39628c76a4dbca411b0e8a9bfaf726a, except for the changes in BaseConfigLoader.cpp, which caused the bug that made us revert 72cf2bdb87f09deff22e1085de3290126aa4ad05. PR 12917 contains an improved change to BaseConfigLoader.cpp, which can be merged (or rejected) independently. A few changes have also been made based on review comments.
2024-10-04Merge pull request #13078 from ↵JosJuice
Dentomologist/videobackendbase_only_populate_backend_info_when_uninitialized VideoBackendBase: Only populate backend info when uninitialized
2024-10-03Merge pull request #13097 from Tilka/vidpidJosJuice
Bluetooth: show vid:pid in error message
2024-10-03Turn off debug mode if hardcore is active on emulator startLillyJadeKatrin
Found this bug while testing; if I manually edit the config files while Dolphin is closed I was able to get debug and hardcore on at the same time, this resolves that.
2024-10-03Add Confirm Popups for Achievements Logout and Hardcore OffLillyJadeKatrin
2024-10-03Migrate Hardcore Toggle Code to Achievement ManagerLillyJadeKatrin
AchievementManager::SetHardcoreMode now handles the (non-Qt) settings disabled by hardcore mode, instead of doing this on the Qt layer. Also ensured Init/Enable Achievements paths run this code, fixing the bug wherein the player can manipulate things when achievements are disabled that persist when turned back on.
2024-10-02Merge pull request #13087 from TellowKrinkle/PresentSkipJMC47
VideoBackends:Vulkan: Prevent freezes during window resize on Linux
2024-10-02VideoBackends:Vulkan: Wait until we've confirmed a successful ↵TellowKrinkle
AcquireNextImage before marking semaphores used
2024-10-02VideoBackends:Vulkan: Don't try to present if swapchain acquire failedTellowKrinkle
2024-10-02Bluetooth: show vid:pid in error messageTillmann Karras
2024-10-02Merge pull request #12953 from LillyJadeKatrin/retroachievements-fail-messagingJMC47
Achievements Fail Messaging
2024-10-01Properly Notify when Achievements Login FailsLillyJadeKatrin
2024-09-30VideoBackends:Metal: subgroup_ops requires Apple7, not Apple6TellowKrinkle
SIMD-scoped permute operations are Apple6, but reduction operations are Apple7
2024-10-01WII_IPC: rewrite multiply as 100_tbticks literal (NFC)Tillmann Karras
2024-09-30VideoCommon: Dirty pixel shader manager on efb scale changesTellowKrinkle
2024-09-29VideoBackends:Metal: Use ios_use_simdgroup_functions with SPIRV-CrossTellowKrinkle
It defaults to trying to emulate simdgroup functions on iOS
2024-09-29Merge pull request #13083 from Tilka/apploaderTilka
Boot: write Apploader version into memory
2024-09-28VolumeVerifier: Promote `DEBUG_ASSERT` to `static_assert`mitaclaw
This runtime assertion was added before `std::is_sorted` became constexpr in the codebase.
2024-09-29Boot: write Apploader version into memoryTillmann Karras
When HLE-ing the apploader, this is necessary to avoid "Error #002" errors. Homebrew doesn't care.
2024-09-27linux: Use D-Bus to inhibit screensaverrobxnano
2024-09-27VideoBackendBase: Only populate backend info when uninitializedDentomologist
Prevent potential issues when creating the Graphics window (and thus calling PopulateBackendInfo) while the core state is Stopping, like we already do while it's Starting or Running.
2024-09-27DolphinQt: Remove unneeded Win32 coderobxnano
Dolphin already uses QStyleHints::colorScheme to detect dark mode, so this code is now redundant.
2024-09-27Merge pull request #13062 from ↵Tilka
Dentomologist/graphics_clarify_relationship_between_incompatible_settings Graphics: Clarify relationship between incompatible settings
2024-09-27Merge pull request #13077 from ↵Tilka
Dentomologist/graphicswindow_fix_first_opening_during_emulation_startup_crash GraphicsWindow: Fix crash when opening for the first time during emulation startup
2024-09-26VideoBackendBase: Check Core state in PopulateBackendInfoDentomologist
Remove the PopulateBackendInfoFromUI function, which had a single caller (GraphicsWindow::OnBackendChanged) and checked that the core wasn't running or starting before calling PopulateBackendInfo. Move the core state check into PopulateBackendInfo and have OnBackendChanged call that instead. This guarantees the check is performed by all callers of PopulateBackendInfo, preventing potential reintroduction of the crash fixed in 3d4ae63f if another call to PopulateBackendInfo is added. As of the previous commit the only other caller of PopulateBackendInfo is Core::Init shortly before s_state is set to Starting, so it will always pass the check and so maintain its current behavior.
2024-09-26Core: Remove redundant call to PopulateBackendInfoDentomologist
Remove the second of two calls to PopulateBackendInfo during emulation startup. This call was originally the only one, but b214e0e added an earlier call to handle the backend being changed by the GameINI. The PR discussion doesn't explain why the original call was left in; I suspect it was just overlooked. As a bonus, this removes one of the extra copies of the "Video Info" On Screen Display message at startup when using OpenGL.
2024-09-26GraphicsWindow: Fix crash when opening during emulation startupDentomologist
Fix a crash when opening the Graphics window for the first time during emulation startup when the backend is Vulkan, D3D11, or D3D12. Don't call PopulateBackendInfo() from the Host thread when the core is starting up. First, the function has already been called in Core::Init() so we don't need to again. More importantly, PopulateBackendInfo() calls g_video_backend->InitBackendInfo(), and the Vulkan and D3D implementations of those functions load and then unload libraries (and their associated function pointers) which are potentially in use by other threads. This crash was reliably reproducible with the following steps: 1) Select an affected backend. 2) Enable "Compile Shaders Before Starting" 3) Delete the cached shaders (but not the .uidcache file) for the game you're testing. 4) Close and reopen Dolphin. 5) Start the game. 6) While the game is still booting or compiling shaders, open the Graphics window for the first time in that Dolphin session. Fixes https://bugs.dolphin-emu.org/issues/13634.
2024-09-26Merge pull request #13068 from mitaclaw/redundant-case-insensitiveJMC47
IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtil
2024-09-26Merge pull request #13065 from mitaclaw/ppc-breakpoints-signalJMC47
DolphinQt: A Ubiquitous Signal For When Breakpoints Change
2024-09-26Merge pull request #13070 from mitaclaw/remove-join-stringsJMC47
StringUtil: Remove `JoinStrings`
2024-09-25Merge pull request #13071 from Pokechu22/cheat-search-crashJMC47
Fix random crash when using the cheat search
2024-09-24Sw/Tev: drop unused macroTillmann Karras