summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-18Merge pull request #11521 from t895/adjust-grid-optionsJosJuice
Android: Simplify the grid options dialog fragment
2023-02-18Merge pull request #11578 from Pokechu22/memory-leaks-feb-2023Admiral H. Curtiss
Fix various memory leaks
2023-02-18Merge pull request #11579 from Pokechu22/audio-stretching-label-enableAdmiral H. Curtiss
AudioPane: Fix inconsistent initial state of audio stretching labels
2023-02-17AudioPane: Fix inconsistent initial state of audio stretching labelsPokechu22
This resulted in the labels being solid black even when audio stretching is disabled the first time the settings are opened, but then properly being greyed out after changing a setting (even the audio backend or DSP emulation engine, not just whether audio stretching is enabled).
2023-02-17InputCommon: Fix memory leak in ExpressionParserPokechu22
We allocate in MakeSuppressor via `return unique_ptr(std::make_unique<...>(...).release(), InvokingDeleter{}`, so it wasn't properly getting freed.
2023-02-17CodeViewWidget: Fix memory leakPokechu22
Per https://doc.qt.io/qt-6/qabstractitemview.html#setItemDelegateForColumn setItemDelegateForColumn does not take ownership of the parameter, so it was not being deleted. Specifying a parent to QObject (via QStyledItemDelegate's constructor) will allow it to automatically be deleted, per https://doc.qt.io/qt-6/objecttrees.html. The other instance of a QItemDelegate in IOWindow.cpp already used this.
2023-02-17MemoryViewWidget: Fix memory leaksPokechu22
bp_item/row_item/item were never deleted, and the normal Qt ownership system wasn't applying to them because they were being cloned.
2023-02-17Merge pull request #11576 from yannhodiesne/convert-prevent-file-deletionAdmiral H. Curtiss
Check the input and destination paths before converting a game file onto itself
2023-02-17Merge pull request #11577 from JosJuice/android-armeabi-v7aMarkus Wick
Android: Fix armeabi-v7a build
2023-02-17Android: Fix armeabi-v7a buildJosJuice
This very much isn't a build configuration that we're going to ship, but I want to be able to tell people that they can build it on their own if they really want to see how terribly it performs :) Just like before, you'll need to edit two lines in app/build.gradle to define ENABLE_GENERIC=ON and actually enable armeabi-v7a if you want an armeabi-v7a build. This commit just fixes some compilations errors that crop up if you do so.
2023-02-17Use a success count instead of files countYann Hodiesne
2023-02-17Check the input and destination paths before converting a game file onto itselfYann Hodiesne
Before these changes you could tell Dolphin to convert a game file into the same format it is already in, leading to the FileDialog using the input path as the default destination path An unsuspecting user could then click Save and Dolphin would try to convert the input file by writing the destination file on top of it... leading to an I/O error and the input file being entirely removed
2023-02-17Merge pull request #11574 from K0bin/val-fixScott Mansell
VideoBackends:Vulkan: Fix printing validation errors
2023-02-16Merge pull request #11575 from AdmiralCurtiss/mtmsr-5byte-jmpMarkus Wick
Jit64: Use 5 byte jump in mtmsr for the CP interrupt check.
2023-02-16Jit64: Use 5 byte jump in mtmsr for the CP interrupt check.Admiral H. Curtiss
WriteExternalExceptionExit() can write more than the maximum offset of the small jump.
2023-02-16VideoBackends:Vulkan: Fix printing validation errorsRobin Kertels
2023-02-16Merge pull request #11573 from Pokechu22/freesurround-bad-deleteMai
Externals/FreeSurround: Fix pointer created through new[] being freed via delete
2023-02-16Merge pull request #11569 from Hibyehello/patch-1Scott Mansell
VideoBackend: Make Metal Default on MacOS
2023-02-15Externals/FreeSurround: Fix pointer created through new[] being freed via deletePokechu22
Doing so is not allowed (presumably because compilers are allowed to use a different algorithm for allocating between the two/store extra data such as the length of the array before the pointer). This bug existed in the original implementation at https://web.archive.org/web/20140708092159/http://www.hydrogenaud.io/forums/index.php?showtopic=52235 and causes Valgrind to emit a warning. Note that this ended up happening even if DSPLLE and the DPL decoder are not enabled in Dolphin.
2023-02-16Merge pull request #11572 from Pokechu22/uninitialized-variables-feb-2023Mai
Fix uninitialized variable warnings (C26495)
2023-02-15ControllerInterface: Fix uninitialized variables in DualShockUDPClientPokechu22
Strangely, this case did not trigger a C26495 warning in Visual Studio's analyzer; instead, I spotted this when using Valgrind.
2023-02-15VideoCommon: Remove unused ShutdownImGui function declarationPokechu22
This was moved to the ~OnScreenUI() destructor in 0d4537d60f695e50379c1542d6c4b1e643e8a5a0.
2023-02-15Fix uninitialized variable warnings (C26495)Pokechu22
2023-02-15Android: Convert UserDataActivity to KotlinCharles Lombardo
2023-02-15Keep Vulkan precedence over OpenGLJosh
2023-02-15VideoBackend: Make Metal Default on MacOSJosh
2023-02-15Remove WinAPI-specific type from socket requestSMarioMan
2023-02-15Enable broadcast permissions in socket requestsSMarioMan
2023-02-15Merge pull request #11567 from AdmiralCurtiss/create-full-path-behavior-changeAdmiral H. Curtiss
Common/FileUtil: Revert behavior of CreateFullPath().
2023-02-15Add unit test for File::CreateFullPath().Admiral H. Curtiss
2023-02-15Common/FileUtil: Revert behavior of CreateFullPath().Admiral H. Curtiss
This was accidentally changed in 7e6436db347c3cc479d768180de158a0f9c88226.
2023-02-14Fix build when using mGBA in unorthodox locationValeri
Includes use `mgba/` and `mgba-util/` as part of path, making compilation fail when relying on include directory supplied here was actually needed.
2023-02-14Merge pull request #11564 from JosJuice/jitarm64-cmp-orderAdmiral H. Curtiss
JitArm64: Fix special cases of cmp
2023-02-14Merge pull request #11342 from TellowKrinkle/GLLayerMacAdmiral H. Curtiss
VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)
2023-02-14JitArm64: Fix special cases of cmpJosJuice
This fixes a regression from 592ba31. When `a` was a constant 0 and `b` was a non-constant 0x80000000, the 32-bit negation operation would overflow, causing an incorrect result. The sign extension needs to happen before the negation to avoid overflow. Note that I can't merge the SXTW and NEG into one instruction. NEG is an alias for SUB with the first operand being set to ZR, but "SUB (extended register)" treats register 31 as SP instead of ZR. I've also changed the order for the case where `a` is a constant 0xFFFFFFFF. I don't think the order actually affects correctness here, but let's use the same order for all the cases since it makes the code easier to reason about.
2023-02-14Merge pull request #11563 from JosJuice/host-lock-cpu-fixupsAdmiral H. Curtiss
Follow-up fixes for "Properly lock CPU before accessing emulated memory"
2023-02-14Follow-up fixes for "Properly lock CPU before accessing emulated memory"JosJuice
2023-02-14VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)TellowKrinkle
2023-02-14Merge pull request #11406 from Pokechu22/intel-less-dual-sourceScott Mansell
VideoCommon: Clear blend configuration if color/alpha update disabled
2023-02-13VideoCommon: Clear blend configuration if color/alpha update disabledPokechu22
This works around an Intel driver bug where, on D3D12 only, dual-source blending behaves incorrectly if the second source is unused on. This bug is visible in skyboxes in Super Mario Sunshine, which first draw clouds and sun flare in greyscale and then draw the sky afterwards with a source factor of 1 and a dest factor of 1-src_color (this results in the clouds being tinted blue). This process is done on an RGB888 framebuffer, so alpha update is disabled. (Color update is enabled; note that if you look at this in Dolphin's fifo analyzer, it won't be enabled because they use the BP mask functionality to only change the blending functions and not alpha/color update, for whatever reason.)
2023-02-14Merge pull request #11560 from phire/EventHook_construct_on_first_useAdmiral H. Curtiss
HookableEvent: Switch to construct on first use
2023-02-14Merge pull request #11445 from JosJuice/jit64-wraparound-backpatchAdmiral H. Curtiss
Jit64: Properly handle backpatching overflowed address calculations
2023-02-14Merge pull request #11503 from JosJuice/ppcanalyst-read-crAdmiral H. Curtiss
PPCAnalyst: Actually check if instructions want CR
2023-02-14Merge pull request #11559 from Pokechu22/cache-fix-plru-updatesAdmiral H. Curtiss
PPCCache: Update PLRU on any cache access
2023-02-14Merge pull request #11426 from shuffle2/stdfsAdmiral H. Curtiss
fileutil: use std::filesystem
2023-02-14Disable Immediate XFB in Cubivorekaiboisdumb
Cubivore had an old issue before Hybrid XFB was merged involving the screen shifting left. Immediate XFB actually brings the issue back. It should be disabled for this title.
2023-02-13Merge pull request #11561 from AdmiralCurtiss/hle-execute-fixJosJuice
JIT: Fix calls to HLE::Execute.
2023-02-13JIT: Fix calls to HLE::Execute.Admiral H. Curtiss
This got broken in 7cecb28bdf6443362a6ab20e0042ddb3b407ebec.
2023-02-13HookableEvent: Switch to construct on first useScott Mansell
A registration might happen during static initialization, which opens us up to issues with ordering of static initialization.
2023-02-13Merge pull request #11558 from Pokechu22/vertex-loader-size-assertion-detailsScott Mansell
VertexLoader: Add more info to m_vertex_size == m_src_ofs assertion