Connor McLaughlin
324eb4d4bf
Qt: Fix crash on clearing controller bindings
2022-09-15 16:46:44 +01:00
Connor McLaughlin
0f24048cd5
GameDatabase: Add gpuPaletteConversion = 2 value
...
Some games (e.g. Metal Gear Solid 2) use large-ish textures, with a
bunch of different CLUTs/palettes, depending on the draw. Kind-of like a
texture atlas.
This causes issues when texture preloading is enabled, as both VRAM and
GS CPU thread usage increase proporiately to the number of texture:clut
pairs (since it has to be hashed).
An alternative to disabling preloading, which is what we currently do,
is enabling GPU palette conversion in these games. Even though we
ever-so-slightly increase the GPU load due to having to do shader
sampling, the CPU load on the GS thread is considerably reduced, and
overall performance is greater. In theory it'll also achieve higher
cache hit rates on the GPU, since we're not duplicating a bunch of
textures.
However, as a general rule of thumb, we don't want to encourage people
to enable paltex, as most games run slower with it on. So, what this PR
does, is add a GameDB option for these types of games, to enable paltex
when texture preloading is set to full/hash cache, but otherwise leave
the setting alone. The best of both worlds.
NOTE: I've also forced paltex=0 for Spider-Man 2, as it uses a massive
number of palettes which can cause descriptor issues in DX12/Vulkan. A
perfect example of where you *don't* want to use paltex.
2022-09-15 12:24:43 +01:00
noigeaR
0ffdc485d7
GameDB: Fix DOA 2 naming. Yamasa Digi World add missing & fix naming
2022-09-15 12:23:50 +01:00
Connor McLaughlin
6810a9d593
Qt: Deduplicate interface code and reduce core coupling
...
This enables more code sharing between interfaces in the future (e.g.
nogui, gsrunner, etc). Eventually I'll move everything in Frontend/ to
its own project.
- VMManager now no longer depends on anything in Frontend.
- Moved INISettingsInterface out of Frontend.
- Log settings can now be overridden per-game (if you really want to)..
- Hotkeys get their own file.
2022-09-15 11:50:51 +01:00
Connor McLaughlin
c96f1d28e6
Qt: Fix fullscreen/window size being enabled in game list
2022-09-15 11:50:40 +01:00
neonoxd
f2d86f2782
Qt: Scroll GameList by pixels using scrollwheel
2022-09-14 00:38:49 +02:00
noigeaR
ee88ea90ee
GameDB: Fix Kaidou Battle upscaling and add missing games
2022-09-13 21:50:12 +01:00
lightningterror
7c1bf15618
tools: Cleanup trailing whitespace.
...
Codacy warning.
2022-09-13 20:19:53 +02:00
lightningterror
fdb170b443
Core: Remove unused IopSif.cpp file.
...
Codacy warnings.
2022-09-13 20:19:53 +02:00
lightningterror
1fa7ae4f0d
PAD: Cleanup unused variable warnings.
...
Codacy.
2022-09-13 20:19:53 +02:00
PCSX2 Bot
7641890910
PAD: Update to latest controller database.
2022-09-12 18:16:09 +02:00
JordanTheToaster
72c78fc163
UI: Fullscreen UI typo fix
...
Fixes a typo in cycle skip.
2022-09-12 10:23:27 +01:00
SupervisedThinking
8d8c076931
CMake: fix Xrandr
...
- fix path to includes
- fix lib name
2022-09-11 16:30:21 +02:00
JordanTheToaster
f3f495d23b
WX: Add Disable Hardware Readbacks option
...
Adds the missing disable hardware readback option to WX.
2022-09-11 01:10:31 +01:00
Connor McLaughlin
bc3729c930
iR5900: Skip reloading COP2 flags register when it's not used
2022-09-10 15:26:30 +01:00
Connor McLaughlin
5a0c8c9f32
iR5900Analysis: Always set COP2 status flag bit for VSQRT/VRSQRT/VDIV
...
These update flags unconditional on FMAC.
2022-09-10 15:26:30 +01:00
JordanTheToaster
367a69cdfe
GameDB: MGS2 Document of text fixes for more versions
...
Adds EETimingHack to more versions of MGS2 the document of to fix the flickering broken text.
2022-09-10 14:47:34 +01:00
Connor McLaughlin
e8230ee01f
Qt: Fix load input profile/reset controller defaults
...
Same deal as #7029 .
2022-09-10 05:19:09 +01:00
Connor McLaughlin
99f1ad0ea6
Qt: Fix crash when autobinding controller
...
Regression from #7016 .
2022-09-10 04:40:56 +01:00
JordanTheToaster
11d3326d73
GameDB: Beyond Good and Evil rendering fix
...
Fixes shield rendering on BGAE.
2022-09-10 02:59:27 +01:00
KrossX
7dd88213b1
Qt: include more entry strings in search
2022-09-09 21:25:49 +01:00
Connor McLaughlin
e0cb165927
LRUCache: Fix Evict() removing too many items
2022-09-09 21:21:14 +01:00
Connor McLaughlin
1e660c8e85
Qt: Fix possible crash when starting game while scanning
2022-09-09 21:21:14 +01:00
Connor McLaughlin
e8704adc67
GzippedFileReader: Don't double open when creating index
2022-09-09 21:21:14 +01:00
Connor McLaughlin
43d6ddd7cf
VMManager: Add warning for unsafe settings on boot
2022-09-09 21:21:14 +01:00
Connor McLaughlin
6e0ac7fa75
HostDisplay: Make GL/D3D timestamp queries slightly less rubbish
2022-09-09 21:21:14 +01:00
Connor McLaughlin
800aca6f0f
GS/OpenGL: Force UBO reupload on restore api state
2022-09-09 21:21:14 +01:00
Connor McLaughlin
a228582984
Host: Add GetResourceFileTimestamp()
2022-09-09 21:21:14 +01:00
Connor McLaughlin
9f9f8e0e39
GameList: Fix title for ELFs
2022-09-09 21:21:14 +01:00
Connor McLaughlin
3d6f4629e9
PAD: Fix copying input sources
2022-09-09 21:21:14 +01:00
Connor McLaughlin
6fca0dac0e
VMManager: Only trigger hotkeys with valid VM
2022-09-09 21:21:14 +01:00
Connor McLaughlin
22e9aea827
Config: Fix frame rate being parsed ever-so-slightly off
...
Also converts from double to float, we don't need additional precision
for storing these values.
2022-09-09 21:21:14 +01:00
Connor McLaughlin
e064e96c96
HostDisplay: Make global pointer instead of function
2022-09-09 21:21:14 +01:00
Connor McLaughlin
b667236c92
Qt: Combine EmuThread.cpp and QtHost.cpp
...
These mostly called back between one another.
2022-09-09 21:21:14 +01:00
Connor McLaughlin
e4df563811
Qt: Implement settings reset
2022-09-09 21:21:14 +01:00
Connor McLaughlin
d86abebb50
VMManager: Add SetDefaultSettings()
...
Also removes the affinity control default for <=2 threads, best to let
the OS handle this.
2022-09-09 21:21:14 +01:00
Connor McLaughlin
1b3bf89ee8
PAD: Split set default controller and hotkey settings
2022-09-09 21:21:14 +01:00
noigeaR
291063bd98
GameDB: Add missing games
2022-09-09 20:04:10 +01:00
TellowKrinkle
4c298ca484
GS: Add zequal to GSScanlineSelector to_string
2022-09-08 19:55:09 -05:00
TellowKrinkle
650dc8bc6a
GS: Fix zequal handling in CDrawScanline
...
I somehow didn't use the same algorithm as the asm version originally
2022-09-08 19:55:09 -05:00
Mrlinkwii
2ee8236365
Gamedb: upscaling fixes for 'Urbz, The - Sims in the City'
2022-09-08 22:30:00 +01:00
JordanTheToaster
4707c02a34
GameDB: Deus Ex various fixes
...
Adds round sprite half preload frame data and partial texture preloading to Deus Ex.
2022-09-08 21:38:01 +01:00
JordanTheToaster
d0faa14760
GameDB: Death by Degrees FMV line fixes
...
Adds align sprite to Death by Degrees to fix FMV lines.
2022-09-08 18:28:01 +01:00
Connor McLaughlin
19725deb7e
FullscreenUI: Remove accurate DATE option
...
It doesn't exist anymore.
2022-09-08 12:45:48 +02:00
TellowKrinkle
81cafd21d0
GS:MTL: Don't override GSTexture::Save with a TODO
...
There's a working default implementation
2022-09-08 02:20:26 -05:00
TellowKrinkle
365c1c3f3e
GS:MTL: Implement GPU usage tracking
2022-09-08 02:20:26 -05:00
TellowKrinkle
fbc3120c47
GS:MTL: Ensure prim id init actually writes
2022-09-08 02:20:26 -05:00
TellowKrinkle
66093c3278
GS:MTL: Add barrier counting
2022-09-08 02:20:26 -05:00
Ty Lamontagne
7d4ca441d5
clang-format: pcsx2/IopBios.cpp
2022-09-07 20:54:12 +01:00
Ty Lamontagne
cee8598b3f
IOPBios: Hook iomanx library as well as ioman
...
Fixes fileXio incompatibility
2022-09-07 20:54:12 +01:00