| Age | Commit message (Collapse) | Author |
|
Android: Simplify the grid options dialog fragment
|
|
Fix various memory leaks
|
|
AudioPane: Fix inconsistent initial state of audio stretching labels
|
|
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).
|
|
We allocate in MakeSuppressor via `return unique_ptr(std::make_unique<...>(...).release(), InvokingDeleter{}`, so it wasn't properly getting freed.
|
|
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.
|
|
bp_item/row_item/item were never deleted, and the normal Qt ownership system wasn't applying to them because they were being cloned.
|
|
Check the input and destination paths before converting a game file onto itself
|
|
Android: Fix armeabi-v7a build
|
|
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.
|
|
|
|
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
|
|
VideoBackends:Vulkan: Fix printing validation errors
|
|
Jit64: Use 5 byte jump in mtmsr for the CP interrupt check.
|
|
WriteExternalExceptionExit() can write more than the maximum offset of the small jump.
|
|
|
|
Externals/FreeSurround: Fix pointer created through new[] being freed via delete
|
|
VideoBackend: Make Metal Default on MacOS
|
|
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.
|
|
Fix uninitialized variable warnings (C26495)
|
|
Strangely, this case did not trigger a C26495 warning in Visual Studio's analyzer; instead, I spotted this when using Valgrind.
|
|
This was moved to the ~OnScreenUI() destructor in 0d4537d60f695e50379c1542d6c4b1e643e8a5a0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Common/FileUtil: Revert behavior of CreateFullPath().
|
|
|
|
This was accidentally changed in 7e6436db347c3cc479d768180de158a0f9c88226.
|
|
Includes use `mgba/` and `mgba-util/` as part of path, making compilation fail when relying on include directory supplied here was actually needed.
|
|
JitArm64: Fix special cases of cmp
|
|
VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)
|
|
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.
|
|
Follow-up fixes for "Properly lock CPU before accessing emulated memory"
|
|
|
|
|
|
VideoCommon: Clear blend configuration if color/alpha update disabled
|
|
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.)
|
|
HookableEvent: Switch to construct on first use
|
|
Jit64: Properly handle backpatching overflowed address calculations
|
|
PPCAnalyst: Actually check if instructions want CR
|
|
PPCCache: Update PLRU on any cache access
|
|
fileutil: use std::filesystem
|
|
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.
|
|
JIT: Fix calls to HLE::Execute.
|
|
This got broken in 7cecb28bdf6443362a6ab20e0042ddb3b407ebec.
|
|
A registration might happen during static initialization, which opens
us up to issues with ordering of static initialization.
|
|
VertexLoader: Add more info to m_vertex_size == m_src_ofs assertion
|