Commit graph

40684 commits

Author SHA1 Message Date
takayhan-AMD
7c26dedc0b
Remove out-dated hack of AMD driver issue WRT dual-source blending output index. 2023-08-16 21:13:44 -04:00
MikeIsAStar
1626824bc3
Retrieve page table information from the data cache
Thanks to @mkwcat for identifying the problematic code.
2023-08-16 21:13:43 -04:00
iwubcode
d72bb37095
VideoBackends: update SRVDescriptorTable size in DX12 to use pixel sampler constant 2023-08-16 21:13:43 -04:00
Dentomologist
bc05f15271
NandPaths: Use initializer_list instead of unordered_set 2023-08-16 21:13:42 -04:00
Dentomologist
1a21380cd3
NandPaths: Resolve Android tautological comparison warning
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-08-16 21:13:42 -04:00
JosJuice
97e9251ca4
ControllerInterface/Android: Add null check to AddDevice
The Google Play Console is showing some users getting a crash here,
and indeed, InputDevice.getDevice can return null.
2023-08-16 21:13:41 -04:00
Martino Fontana
c1816f13bd
CMake: use version flags if Git isn't found 2023-08-16 21:13:41 -04:00
Admiral H. Curtiss
4e94ca53f1
DolphinQt: Add ToolTipPushButton. 2023-08-16 21:13:41 -04:00
Mandar1jn
381121f2d5
Skylanders: expand and improve character list
The previous list had some issues. A lot of variant id's were set to 0x0000. Althought this works for some figures, on a technicallity implemented into the games, they are technically wrong and don't result in exactly the same experience as the real figures. For example, the previous small fry got a "series 1" text in the summon screen. The real small fry does not have this. I also added figure types so I can add seperate generation logic later.
The Kaos element only applies to 3 items. So, I decided to throw it under others since it's not listed as an element in the manual and you can easily search for Kaos
2023-08-16 21:13:40 -04:00
Dentomologist
2baf6803d8
GCAdapter: Fix Android unused constant warning
CONTROLLER_OUTPUT_INIT_PAYLOAD_SIZE is only used by the libusb
implementation.
2023-08-16 21:13:40 -04:00
Dentomologist
d211d0df06
GCAdapter: Fix spelling of constants 2023-08-16 21:13:39 -04:00
riidefi
dbc2b71469
[Core] Prevent SD data loss from silent resync failure 2023-08-16 21:13:39 -04:00
Bram Speeckaert
8cf0fabf58
JitArm64: Use LogicalImm in boolX
ARM64 has a special logical immediate encoding scheme, that can be used
with AND, ORR, and EOR. By taking advantage of this, we no longer need
to materialize the immediate value in a register, saving instructions
and/or reducing register pressure.

- orx

Before:
mov    w23, #0x1
orr    w23, w25, w23

After:
orr    w23, w25, #0x1

- andx

Before:
mov    w26, #-0x80000000
and    w27, w27, w26
sxtw   x24, w27

After:
and    w27, w27, #0x80000000
sxtw   x26, w27

- eqvx

Before:
mov    w23, #0x4
eon    w26, w23, w22

After:
eor    w26, w22, #0xfffffffb

- xorx

Before:
mov    w23, #0x1e
eor    w23, w27, w23

After:
eor    w23, w27, #0x1e

- norx

Before:
mov    w25, #-0x2001
orr    w23, w23, w25
mvn    w23, w23

After:
orr    w23, w23, #0xffffdfff
mvn    w23, w23
2023-08-16 21:13:38 -04:00
Pokechu22
6617f8ddcf
Disable right-click menu on main window
Before, right-clicking on the toolbar would allow toggling all dock widgets, including the debugger ones even when they are disabled. (See https://doc.qt.io/qt-5/qmainwindow.html#createPopupMenu for this behavior, and https://bugs.dolphin-emu.org/issues/13306 for an example of where it caused issues.)
2023-08-16 21:13:38 -04:00
Dentomologist
0f33e71912
AbstractFramebuffer: Fix Android reorder-ctor warning
Move declaration of m_additional_color_attachments so its initialization
order matches that of the constructor.
2023-08-16 21:13:38 -04:00
Harkaran Mann
88de876810
DolphinQt: Turn of wii save options during emulation 2023-08-16 21:13:37 -04:00
Admiral H. Curtiss
521d6e93c7
DolphinQt: Adjust panel-specific colors and syntax highlighting for dark theme. 2023-08-16 21:13:37 -04:00
Admiral H. Curtiss
887b07af71
DolphinQt: Set the theme before constructing the MainWindow, some panels that explicitly request palette colors get the wrong colors otherwise. 2023-08-16 21:13:36 -04:00
Admiral H. Curtiss
84861e7514
DolphinQt: Set the application palette to a matching one when the Windows dark theme is in use. 2023-08-16 21:13:36 -04:00
Admiral H. Curtiss
94c954ce17
DolphinQt: Switch dark/light theme when Windows theme changes. 2023-08-16 21:13:35 -04:00
Admiral H. Curtiss
0a73df6b7b
DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-16 21:13:35 -04:00
Admiral H. Curtiss
0d0f821f96
DolphinQt: Add function to set a QWidget's window decorations to dark ones on Windows. 2023-08-16 21:13:34 -04:00
Admiral H. Curtiss
1b255c3fd9
DolphinQt: Auto-load embedded dark theme on Windows if the user uses a system-wide dark theme. 2023-08-16 21:13:34 -04:00
Admiral H. Curtiss
9a9d27936d
DolphinQt: Embed custom dark theme for Windows. 2023-08-16 21:13:34 -04:00
Admiral H. Curtiss
1983af9fb1
DolphinQt: On Windows, detect whether the system is using a dark theme.
Co-authored-by: FearlessTobi <thm.frey@gmail.com>
2023-08-16 21:13:33 -04:00
Admiral H. Curtiss
badf39a467
CMake: Turn on rcc file embedding. 2023-08-16 21:13:33 -04:00
Shawn Hoffman
672170526c
msbuild: auto generate and embed qt rcc files 2023-08-16 21:13:32 -04:00
iwubcode
89723e03c1
VideoCommon: fix regression with texture load order where the custom texture code was always updating the asset map for each texture with each entry, making it so the last value actually would be loaded instead of the first 2023-08-16 21:13:32 -04:00
iwubcode
805a8b5fa0
VideoBackends: add support for cube maps for OGL, Vulkan, and D3D 2023-08-16 21:13:31 -04:00
Sketch
a00c97f0d8
Remove force disable WC24 Standby 2023-08-16 21:13:31 -04:00
Dentomologist
5793a7436f
D3D12: Only use framebuffer integer descriptor if allocated
Verify that DXFramebuffer's integer RTV descriptor's cpu_handle has been
allocated before using it, and if it hasn't use the non-integer RTV
descriptor instead. This fixes a Dolphin crash in Twilight Princess, and
possibly other games (Issue 13312).

As an optimization to save space in the descriptor heap, DXFramebuffer's
integer descriptor is only initialized if the given abstract texture
format has different integer and non-integer RTV formats. This
previously wasn't accounted for by GetIntRTVDescriptorArray, which could
cause DX12::Gfx::BindFramebuffer to call OMSetRenderTargets with an
invalid descriptor which would lead to a crash.

Triggering the bug was fortunately rare because integer formats are only
used when blending is disabled and logic ops are enabled. Furthermore,
the standard integer abstract format is RGBA8 which has different
integer and non-integer RTV formats, causing the integer descriptor to
be initialized and avoiding the bug.

The crash started appearing in a2702c6 because it changed the
swapchain's abstract texture format from RGBA8 to RGB10_A2. Unlike
RGBA8, RGB10_A2 has the same integer and non-integer RTV formats and so
the bug can be triggered if the other requirements are met.
2023-08-16 21:13:30 -04:00
JosJuice
5c0ff26c7a
JitArm64: Prefer MOVI with 64-bit elements for zeroing
The Cortex-X2 and Cortex-X3 (and possibly others) recognize MOVI with
64-bit elements as a zeroing idiom, but not MOVI with other sizes.
2023-08-16 21:13:30 -04:00
JosJuice
1796df6923
Translation resources sync with Transifex 2023-08-16 21:13:29 -04:00
Admiral H. Curtiss
da9e57203c
Qt: Add file size stats to NAND Check. 2023-08-16 21:13:28 -04:00
Admiral H. Curtiss
b6e9531ea5
IOS/FS: Implement GetExtendedDirectoryStats().
Behaves like GetDirectoryStats() but doesn't clamp to the Wii limits, so we can tell the user exactly how overfull their NAND is.
2023-08-16 21:13:28 -04:00
Admiral H. Curtiss
ebbb6c67e7
IOS/FS: Move NAND size related constants to FileSystem.h.
That way they're available for calculating NAND stats to display to the user. This also adds a few more constants.
2023-08-16 21:13:27 -04:00
Admiral H. Curtiss
c5e95f559e
WiimoteReal/IOWin: Use correct error type in the default case. 2023-08-16 21:13:27 -04:00
Admiral H. Curtiss
14a5aefc27
CommonFuncs: Add GetWin32ErrorString(). 2023-08-16 21:13:27 -04:00
iwubcode
7957dbc343
VideoCommon: update NetplayChatUI's chat message input to use a hidden label. This avoids an error thrown by imgui 2023-08-16 21:13:26 -04:00
iwubcode
f69a13d313
Externals: add misc/cpp/imgui_stdlib to imgui build in order to use std::string in InputText 2023-08-16 21:13:26 -04:00
iwubcode
0d2316adca
VideoCommon: update imgui to 1.89.7 (and implot to 0.15); fix issues with upgrade; keep the demo code in case someone wants to reference it but don't compile it by enabling 'IMGUI_DISABLE_DEMO_WINDOWS' in config 2023-08-16 21:13:25 -04:00
Dentomologist
421c2739e5
GekkoDisassembler: Remove unused parameter dmode from fdabc function
With the removal of m_flags, dmode is no longer used in fdabc.
2023-08-16 21:13:25 -04:00
Dentomologist
37874f689a
GekkoDisassembler: Remove unused parameter dmode from ldst function
With the removal of m_flags, dmode is no longer used in ldst.
2023-08-16 21:13:24 -04:00
Dentomologist
418fe353ec
GekkoDisassembler: Remove unused parameter dmode from rrn function
With the removal of m_flags, dmode is no longer used in rrn.
2023-08-16 21:13:24 -04:00
Dentomologist
e4d093f8d5
GekkoDisassembler: Remove unused parameter dmode from dab function
With the removal of m_flags, dmode is no longer used in dab.
2023-08-16 21:13:23 -04:00
Dentomologist
a5a4489818
GekkoDisassembler: Remove unused parameter dmode from nooper function
With the removal of m_flags, dmode is no longer used in nooper.
2023-08-16 21:13:23 -04:00
Dentomologist
1f0fec1c63
GekkoDisassembler: Remove unread variable m_flags
Writes to m_flags are pointless as it's never read.
2023-08-16 21:13:23 -04:00
JosJuice
2f04404ac7
Android: Fix SettingsActivity.onActivityResult
`or` is the bitwise or operator.

Fixes file pickers in the settings not saving your choice.
2023-08-16 21:13:22 -04:00
Admiral H. Curtiss
ea435d077e
UnitTests: Enable cluster check in FileSystemTest.GetDirectoryStats. 2023-08-16 21:13:22 -04:00
Martino Fontana
9292c4c6d8
Qt/GameConfigWidget: Add Manual Texture Sampling 2023-08-16 21:13:21 -04:00