TellowKrinkle
3204b98aaf
microVU: Fix mVUcustomSearch
...
Apparently NOT doesn't set flags
2022-12-16 08:18:49 +00:00
refractionpcsx2
a7687947e6
GS: Fix crash if FXAA/Shadeboost enabled with Bilinear Sharp
2022-12-13 01:21:29 +00:00
Connor McLaughlin
06081ca18b
GSDumpReplayer: Fix frame advancing
...
It would always advance by two frames before.
2022-12-12 14:34:22 +00:00
Connor McLaughlin
34fad0bf98
GS: Ensure screenshots are saved before shutting down
2022-12-12 14:34:22 +00:00
AKuHAK
78ad2cfb88
CDVD: set default region data for PStwo nvram, set iLink ID checksum for bios v1.70 and up
2022-12-12 13:38:42 +00:00
Connor McLaughlin
9da8e9280f
Qt: Add disc path option for ELF game list entries
2022-12-12 13:35:37 +00:00
Connor McLaughlin
98038201b3
GS: Always allocate wrapped local memory
...
Simplifies things since we don't need to care about <Win10 support now.
Also gets rid of vmalloc() in favor of the common routines.
2022-12-12 11:54:25 +00:00
refractionpcsx2
6d5c05fba3
GS: Enable memory wrapping always
2022-12-12 09:31:26 +00:00
Connor McLaughlin
d93b49cc4f
GS: Use point sampling for shadeboost
...
DX12/Vulkan already did, but DX11/GL used linear.
2022-12-12 09:31:11 +00:00
Connor McLaughlin
6ccb55d6f7
GS: Remove additional copy in FXAA/ShadeBoost
2022-12-12 09:31:11 +00:00
Connor McLaughlin
a1fb735fde
GS/DX12: Ensure utility root signature is set before constants
...
Fixes a validation error when using shade boost.
2022-12-12 09:31:11 +00:00
KrossX
5c952fbbd6
GS: Preserve deinterlacing render target when Shadeboost or FXAA are
...
enabled.
2022-12-11 19:07:38 +00:00
refractionpcsx2
1242f6c942
GS-SW: Don't anti-blur frame rect when same source and not anti-bluring
2022-12-11 06:41:48 +00:00
Connor McLaughlin
1920bff007
x86/iR5900: Fix msub.s/madd.s when ACC isn't live
...
Don't read EEREC_nnn without checking the process/valid bit first.
2022-12-11 05:43:49 +00:00
Connor McLaughlin
05c12e2505
x86/iR5900: Don't flush regcache for store logging
...
Makes it a bit easier to debug register cache issues.
2022-12-11 05:43:49 +00:00
Connor McLaughlin
354951f1d6
GS: Add internal resolution screenshot option
2022-12-11 03:00:49 +00:00
Connor McLaughlin
a67d3e9aee
GS: Remove Zoom and Offsets
...
Crop is far superior since it operates at pixel increments, and lets
you control all four edges independently.
2022-12-11 03:00:49 +00:00
TellowKrinkle
05a9a71f4a
Updater: Support multi-isa switchover
2022-12-10 20:06:05 +00:00
lightningterror
bebb748546
wx: Rename some options to match recent Qt changes.
...
TV Shader drop down list:
None -> None (Default)
Sharpening drop down list:
Disabled -> None (Default)
Renderer Automatic -> Automatic (Default)
2022-12-08 19:18:20 +01:00
lightningterror
20602650c4
FullscreenUI: Rename some options.
...
TV Shader drop down list:
None -> None (Default)
Sharpening drop down list:
Disabled -> None (Default)
Renderer Automatic -> Automatic (Default)
2022-12-08 19:18:20 +01:00
RedDevilus
208812347f
Qt: Resizes + better tooltips + Savestate warning
...
Bigger tooltip window
Controllers button shows up correctly at different DPI percentages
Rename some options
2022-12-08 16:06:31 +00:00
Connor McLaughlin
77e9938f0f
GS: Manually throttle fullscreen UI rendering
...
Fixes rendering at thousands of FPS when pausing if FSUI is active.
Avoids flickering when recreating swap chain in vulkan on menu open,
because we're no longer doing it.
2022-12-08 09:36:41 +00:00
TellowKrinkle
a346cff472
CMake: Fix issues with linkers failing on Linux
2022-12-07 22:31:33 -06:00
Connor McLaughlin
1b3c3efcd5
Achievements: Add option to disable notifications
2022-12-07 00:25:13 +00:00
Connor McLaughlin
898055a3c2
GS/HW: Don't consider custom textures in hash cache overflow
...
Prevents hash cache from being disabled due to a large number of custom
textures. The VRAM usage from the custom textures will still be shown in
the OSD.
2022-12-07 00:24:51 +00:00
Connor McLaughlin
a5f323e4e3
GS: Add missing initialization of m_skipped_duplicate_frames
2022-12-06 13:04:12 +00:00
lightningterror
bdb1fd517b
gui-wx: Fix OsdShowFrameTimes default config.
2022-12-05 23:00:33 +01:00
Connor McLaughlin
7e939b7535
SaveState: Bump version
...
[SAVEVERSION+] 44e69a9
changed the size of the microVU state struct, which is saved
(to resume incomplete micros), without bumping the version.
2022-12-05 04:07:15 +01:00
Connor McLaughlin
2584835176
CMake: Drop SPU2X_PULSEAUDIO define
2022-12-04 20:56:48 +00:00
refractionpcsx2
40cb41399f
VU: Correct XGKick timing when using XGKickSync
2022-12-04 19:44:15 +00:00
Connor McLaughlin
bd97a7a216
FullscreenUI: Allow unbinding a hotkey/controller with Triangle
...
Previously this wasn't possible with a controller, only the mouse.
Follow the same convention as other UI options (alternate action =
triangle/Y).
2022-12-04 14:33:23 +00:00
Connor McLaughlin
1cb10eb889
FullscreenUI: Don't clear state when switching renderers
...
Fixes things like the achievement summary not being displayed, or if the
pause menu is never accessed, the popups from showing at all.
2022-12-04 04:27:38 +00:00
Connor McLaughlin
d52352966e
InputManager: Add IsInputSourceEnabled
2022-12-04 04:27:38 +00:00
TellowKrinkle
d47c9b0773
CMake: Fix LTO_PCSX2_CORE + DISABLE_ADVANCE_SIMD
2022-12-03 14:42:22 -06:00
TellowKrinkle
1a383de5c4
IPU: MultiISA IPU
2022-12-03 00:52:10 -06:00
TellowKrinkle
44e69a9603
microVU: Adjust microRegInfo to match size of mVUCustomSearch
2022-12-03 00:52:10 -06:00
TellowKrinkle
91cba0ec45
microVU: Fix up mVUCustomSearch
...
Fixes SSE4 version to follow WIN32 x86-64 calling convention (don't clobber xmm6 or xmm7)
Fixes AVX version to properly include fourth ymm register in result
2022-12-03 00:52:10 -06:00
TellowKrinkle
e0a0e0b00c
microVU: Choose AVX2/SSE at runtime
2022-12-03 00:52:10 -06:00
TellowKrinkle
4e09f903ca
GS: MultiISA XXH3
2022-12-03 00:52:10 -06:00
TellowKrinkle
a45f674bc1
GS: Use MultiISA ProcessorFeatures struct for SW codegen
2022-12-03 00:52:10 -06:00
TellowKrinkle
75da9809e9
GS: Single build with all ISAs
2022-12-03 00:52:10 -06:00
TellowKrinkle
561fb7a4be
GS: Prepare for separation of multi-isa code
2022-12-03 00:52:10 -06:00
TellowKrinkle
b0da6361cb
GS: Mark SW renderer as multi-isa unshared
2022-12-03 00:52:10 -06:00
TellowKrinkle
bc74c9064a
GS: Make g_const constant initialized
...
We never took advantage of the ability to relocate the pointer
2022-12-03 00:52:10 -06:00
TellowKrinkle
66133b8b21
GS: GSVertexTrace Multi-ISA Support
2022-12-03 00:52:10 -06:00
TellowKrinkle
b69c270c31
GS: GSLocalMemory Multi-ISA support
2022-12-03 00:52:10 -06:00
TellowKrinkle
d56e6427a9
GS: Add MultiISA files
2022-12-03 00:52:10 -06:00
TellowKrinkle
0692a9ff51
Core: Use GCC-style defines for sse detection
...
Much nicer for adding extensions afterwards
2022-12-03 00:52:10 -06:00
Connor McLaughlin
4bf6b1df5e
ImGuiOverlays: Add frame time graph
2022-12-03 04:07:31 +00:00
TellowKrinkle
c12422b2cd
MTGS: Fix spinning when out of space with MTVU off
2022-12-03 02:44:25 +01:00
TellowKrinkle
faf750a544
GS: Use semaphores with a fast userspace path
2022-12-03 02:44:25 +01:00
lightningterror
e4da6829d3
InputRecording: Fix Wunused-private-field warning.
2022-12-02 20:23:25 +01:00
TheLastRar
a22b34ed25
DEV9: Use native APIs to check for holes
2022-12-01 21:40:31 +00:00
TheLastRar
31c045fdb5
DEV9: Allow sparse writing to HDD file
2022-12-01 21:40:31 +00:00
TheLastRar
887a1685dd
DEV9: Create Sparse files
2022-12-01 21:40:31 +00:00
TellowKrinkle
ec887d5aaf
GS:MTL: Clear a few warnings
2022-11-30 18:21:49 -06:00
TellowKrinkle
08f503748e
GS:MTL: Use presentDrawable on Ventura and during vsync
2022-11-30 18:21:49 -06:00
TellowKrinkle
656f0f7b16
GS:MTL: Fix spin timer initialization
2022-11-30 18:21:49 -06:00
refractionpcsx2
ff22a32a61
CDVD: Escape descriptor read on iso read failure
2022-11-29 20:45:42 +00:00
lightningterror
f76559b791
GS: Remove external shader support.
2022-11-29 09:46:31 +01:00
lightningterror
ea6d276a46
config: Remove external shader support.
2022-11-29 09:46:31 +01:00
lightningterror
a323145344
gui-wx: Remove external shader support.
2022-11-29 09:46:31 +01:00
lightningterror
26aa7ef09f
MemoryCardFile: Fix Wunused-result warnings.
2022-11-29 01:55:22 +01:00
lightningterror
4a5f9df7bf
Sio: Fix Wunused-variable warning.
2022-11-29 01:55:22 +01:00
Tyler Wilding
07c3b6ad04
input-rec: remove input recording code from wx-related source
2022-11-28 14:25:11 +00:00
lightningterror
276b1b5539
iR3000A: Fix variable is assigned a value that is never used warning.
...
Codacy.
2022-11-28 01:33:01 +01:00
lightningterror
fbc4a5cac2
PAD: Fix variable is assigned a value that is never used warnings.
...
Codacy.
2022-11-28 01:33:01 +01:00
lightningterror
8b01fb0bcf
USB: Fix variable is assigned a value that is never used warnings.
...
Codacy.
2022-11-28 01:33:01 +01:00
lightningterror
f565014203
GS-sw: Fix Winconsistent-missing-override warning.
2022-11-28 01:33:01 +01:00
Tyler Wilding
3a048dafab
gui/qt: allow the opened recording to be closed
2022-11-27 20:02:29 +00:00
Tyler Wilding
7383bc3f44
input-rec: remove integration from SIO/Counters, fix imgui updating
2022-11-27 20:02:29 +00:00
Tyler Wilding
96d9eadb4b
gui/wx: disable input recording on the wxWidgets side
2022-11-27 20:02:29 +00:00
Tyler Wilding
199db12565
input-rec: integrate with new SIO code
2022-11-27 20:02:29 +00:00
Tyler Wilding
f66ea63b7e
input-rec: ensure wx code is frozen for PadData files
2022-11-27 20:02:29 +00:00
sonicfind
bed53be218
input-rec: fix captialization of IRFile function names
2022-11-27 20:02:29 +00:00
sonicfind
af1e41681c
input-rec: move IRFileHeader & IRSavestate privately into the IRFile class
...
+ Add getters for the header char array variables. No longer allow direct access to header content outside of the class.
2022-11-27 20:02:29 +00:00
sonicfind
7987430825
input-rec: Always show current GSFrame on any savestate load or reset
...
Knowing the frame count after either can be very useful, so that should be displayed regardless of the blank screen.
2022-11-27 20:02:29 +00:00
sonicfind
592395d15c
input-rec: Set frame count to zero on "reset"
2022-11-27 20:02:29 +00:00
sonicfind
f699807cae
input-rec: updates to bulk read implementation
...
+ Handles edge cases where the file is too small
+ Minor performance optimizations around reserving vector memory space
+ Simpler file seeking
2022-11-27 20:02:29 +00:00
sonicfind
5ea882dae3
input-rec: remove excessive returns in ControllerInterrupt
2022-11-27 20:02:29 +00:00
sonicfind
1628237ba7
input-rec: replace u64s with u32
...
+ Converts g_inputRecordingFile's total frame count to unsigned long to match.
2022-11-27 20:02:29 +00:00
sonicfind
b86241695d
input-rec: remove private InputRecordingFile::open()
...
The code that gets ran by each branch differs enough that just moving them into openNew() & openExisting() is more beneficial. Removes the unnecessary runtime boolean check.
2022-11-27 20:02:29 +00:00
sonicfind
7bab2d197e
input-rec: touch up InputRecordingFile.h/.cpp
2022-11-27 20:02:29 +00:00
sonicfind
6288f945cd
input-rec: refactor PadData button state control
2022-11-27 20:02:29 +00:00
sonicfind
1356171af5
input-rec : additional m_/s_ variable tags and constexpr placements
2022-11-27 20:02:29 +00:00
Tyler Wilding
409c285f36
input-rec: refresh imgui overlay when recording mode changes while paused
2022-11-27 20:02:29 +00:00
Tyler Wilding
844ff5bb04
input-rec: fix running input recording functions from UI thread
2022-11-27 20:02:29 +00:00
Tyler Wilding
6ae9e7edb5
input-rec: facilitate changing controls immediately for certain edge-cases
2022-11-27 20:02:29 +00:00
Tyler Wilding
a38fbb157d
input-rec: necessary renaming on the wx side
2022-11-27 20:02:29 +00:00
Tyler Wilding
b4db00b979
input-rec: display recording related information with imgui
2022-11-27 20:02:29 +00:00
Tyler Wilding
142a1a392f
input-rec: wire up changes to the rest of the project
2022-11-27 20:02:29 +00:00
Tyler Wilding
c98b90a4e2
input-rec: cleanup irrelevant input recording controls
2022-11-27 20:02:29 +00:00
Tyler Wilding
c5298cf12d
input-rec: refactor main input recording class
2022-11-27 20:02:29 +00:00
Tyler Wilding
9e30fa81de
input-rec: refactor and cleanup the file and logging classes
2022-11-27 20:02:29 +00:00
Tyler Wilding
8f5458f3ae
input-rec: Add very basic file viewer to assist with debugging
2022-11-27 20:02:29 +00:00
refractionpcsx2
0a8f5e97e4
GS-HW: Update validity when resizing a texture during the draw.
2022-11-27 19:15:59 +00:00
refractionpcsx2
92bec955a8
GS-SW: Revert software clamp changes from large TH/TW PR.
...
This change didn't need to be done as the th and tw are sized based on the actual sizes anyway, if these are wrong, the software renderer can crash when trying to draw out of bounds, so this needs to stay as it is.
2022-11-27 08:47:46 +00:00
Connor McLaughlin
89c0d95a94
Common: Slim down RedtapeWindows and correct case
2022-11-27 03:45:54 +00:00
refractionpcsx2
e4cc0e04e8
GS-DX11: Fix D3D11_BOX parameters (missing "front")
2022-11-26 18:24:12 +00:00
refractionpcsx2
01179c69ec
CDVD: Correct DMA timing if sectors are buffered.
2022-11-26 18:03:05 +00:00
Connor McLaughlin
038e22e5db
MTGS: Make PresentCurrentFrame() callable from CPU thread
...
GS thread can use GSPresentCurrentFrame().
2022-11-26 16:32:39 +00:00
Connor McLaughlin
ebeba2ba17
GS/Vulkan: Enable samplerAnisotropy before using
2022-11-26 16:17:20 +00:00
Connor McLaughlin
daebb5753a
GS/HW: Fix various issues with texture replacements
...
- Replacement textures now show in HC usage to give a clearer picture
of VRAM usage.
- Fixed crashes when loading compressed and mipmapped DDS textures.
- Fixed compressed mipmapped textures in Direct3D 12.
- Fixed GPU crashes in D3D11/D3D12/Vulkan when compressed textures went
down the last 1x1 mipmap level.
2022-11-26 16:17:20 +00:00
EdnessP
470bbc9899
Patches: Add extended PS2rd support; used by OPL ( #7381 )
2022-11-26 05:07:36 +00:00
refractionpcsx2
527fa587ce
CDVD: Don't account for rotation if sectors are buffered
2022-11-26 05:04:49 +00:00
refractionpcsx2
8a22e44f3b
GS-TC: Make sure if we have an old frame check bounds of other frame
2022-11-26 05:04:38 +00:00
AKuHAK
2ab27ef42a
formatter: apply editorconig into various files
2022-11-25 22:41:00 +00:00
TellowKrinkle
314c840293
VIF: Reduce alignment of empty hash buckets
...
They'll never be in hot codepaths (since they're empty) and memalign with 64-byte alignment is noticeably slower than 16-byte alignment
2022-11-25 20:20:24 +00:00
Connor McLaughlin
31c02e5915
FullscreenUI: Don't show game fixes unless advanced is enabled
2022-11-25 16:46:26 +00:00
Connor McLaughlin
d08f4df146
ImGuiFullscreen: Fix navigating to root on Linux
2022-11-25 16:46:26 +00:00
lightningterror
50bb362dc9
GS-hw: Further optimize blending equations.
...
Allow to run free sw blend with no texture barriers, more speed for all renderers.
CLAMP 1, negative result will be clamped to 0.
Condition 1:
(0 - Cs)*Alpha + 0, (0 - Cd)*Alpha + 0
Condition 2:
Alpha is either As or F higher than 1.0f
(0 - Cd)*Alpha + Cd, (0 - Cs)*F + Cs
2022-11-25 15:04:04 +01:00
refractionpcsx2
498fe48255
GS: Combine dirty rects when having matching edges
2022-11-24 11:43:16 +00:00
Connor McLaughlin
2b75f9638d
GS/DX12/Vulkan: Handle out-of-VRAM better
...
Instead of immediately failing the allocation, flush the texture pool,
and execute/wait for the command buffer. This will clear out any
textures which have already been freed, and the storage can be reused
for.
2022-11-24 10:38:53 +00:00
Connor McLaughlin
f159d1de55
GS/TextureCache: Better handle batched tiny moves
...
e.g. Dark Cloud's menu.
Also prevents an out-of-VRAM situation from crashing.
2022-11-24 10:38:53 +00:00
Connor McLaughlin
eb67c87e20
FullscreenUI: Match settings grouping with Qt
2022-11-24 09:46:49 +00:00
Connor McLaughlin
95953c86ae
VMManager: Write unsafe settings to emulog
2022-11-24 09:46:49 +00:00
lightningterror
0466114f67
gui-wx: Add FidelityFX CAS support.
...
Add FidelityFX CAS support to wxwidgets.
Rename Texture Filtering of Display to Bilinear filtering.
Remove Debug box.
Misc cleanup.
2022-11-23 22:52:10 +01:00
lightningterror
0a585e00e5
gui-wx: Add default configs for CAS filtering.
2022-11-23 22:52:10 +01:00
refractionpcsx2
7e66eb856c
GS: Add sharp bilinear post filter
...
Remove internal screenshot setting, all screenshots are internal (and it wasn't hooked up)
2022-11-23 17:28:54 +00:00
Connor McLaughlin
edb9a5ba3c
Qt: Add -testconfig option
2022-11-23 15:55:39 +00:00
TellowKrinkle
2fb8ecbf02
GS:MTL: CAS support
2022-11-23 11:45:37 +00:00
Connor McLaughlin
f7c79fe3cc
GS: Implement FidelityFX CAS
2022-11-23 11:45:37 +00:00
refractionpcsx2
26075a9520
GS-HW: Remove mistake from old frame PR
2022-11-23 10:27:03 +00:00
TellowKrinkle
bae4a2df7e
GS:MTL: Fix mad shader on M1
2022-11-23 00:57:03 -06:00
refractionpcsx2
e8ce1e3445
GS-TC: Only reset age when it's definitely an EE write
2022-11-22 20:00:31 +00:00
AKuHAK
90a4025bcc
BiosTools: improve region codes
...
Region code numbering now matches regions inside CDVD_internal.h
Added region assignment for non-standard romver
Renamed HK region to Asia as 'H' covers not only Hong Kong, but also Korea and Taiwan
2022-11-22 17:19:01 +00:00
Connor McLaughlin
f66797c5cf
Qt: Add option to reset play time for games
2022-11-22 17:14:56 +00:00
Connor McLaughlin
bd22d29d58
Host: Make OSD message timing consistent
...
It was all over the place previously.
2022-11-22 17:14:56 +00:00
Connor McLaughlin
5026dda9ca
Qt: Fix Enable Per-Game Settings option
2022-11-22 17:14:56 +00:00
Connor McLaughlin
b30e93389c
GS/OpenGL: Remove disable_hw_gl_draw option
...
I'm not sure what the point of it ever was..
2022-11-22 14:56:57 +00:00
refractionpcsx2
a2a635a141
GS: Favour newer targets unless no match found. No age update on frame.
2022-11-22 10:51:09 +00:00
refractionpcsx2
05dd0831c1
GS: Avoid large clears in HW
2022-11-22 10:51:09 +00:00
refractionpcsx2
db788452bd
PAD: increase number of macros per controller from 4 to 16
2022-11-22 10:50:44 +00:00
JordanTheToaster
5c5fdcf14d
Qt: Change dump compression to Zstandard
...
Until XZ stops exploding we should default to Zstandard for dump compression.
2022-11-22 10:50:28 +00:00
RedPanda4552
b96a252a61
Memory Card: Make access denied pop-up actually explain the problem
2022-11-22 00:08:24 +00:00
Connor McLaughlin
d0673f9133
Sio: Fix host pointer getting serialized
...
[SAVEVERSION+] It wasn't saving the FIFO anyway. Sorry for the save
state bump, but it's unavoidable :(
2022-11-21 13:40:01 +00:00
refractionpcsx2
e212c611be
GS-HW: Expand target on EE write and improve overlap check
2022-11-20 18:51:13 +00:00
refractionpcsx2
a95492f7a0
GS-TC: Only reset age on new Tex in RT targets.
...
Caused huge GS usage on Urban Reign due to old target.
2022-11-20 18:50:40 +00:00
refractionpcsx2
ff3c22fc2b
GS: Allow negative offset on single display
2022-11-20 18:50:21 +00:00
refractionpcsx2
226b188eaf
WX-UI: Fix deinterlace dropdown.
2022-11-20 16:25:32 +00:00
JordanTheToaster
d54dab87ef
Metal: Fix usage of MAD
...
Fixes pink or frozen images of the last frame in games when using MAD with Metal.
2022-11-20 00:47:01 -06:00
Connor McLaughlin
ef8e35032e
x86/iR5900: Don't swap loadstore delay slots for BC0/BC2 conditions
...
Swapping the loadstore could affect the condition of the instruction,
leading to incorrect code execution.
Fixes lock up in Oni after intro FMVs.
2022-11-20 04:47:08 +00:00
Connor McLaughlin
599e291824
R5900: Fix disassembling of BC0 instructions
2022-11-20 04:47:08 +00:00
TellowKrinkle
3d8fe01bc6
Input:DInput: Fix build after adding FullAxis support for SDL
2022-11-20 02:40:07 +00:00
TellowKrinkle
a72cecd235
Input: Add FullAxis modifier
2022-11-19 19:16:52 -06:00
TellowKrinkle
02a2e8a7f1
Input:SDL: Support Joystick axes that aren't used in GameController mappings
2022-11-19 19:16:52 -06:00
TellowKrinkle
38c1b031c2
Input:SDL: Allow use of axes and buttons outside the normal range
2022-11-19 19:16:52 -06:00
lightningterror
3ba72e8728
MemoryCardFolder: Fix Wsign-compare warning.
2022-11-19 19:28:52 +01:00
lightningterror
5286b19af5
MultitapProtocol: Fix Wtype-limits warning.
2022-11-19 19:28:52 +01:00
lightningterror
0988b08f7a
GS interlace: Fix Wreturn-type, Wunused-variable, Wsometimes-uninitialized warnings.
2022-11-19 19:28:52 +01:00
lightningterror
bfcd5c84ca
IopHwRead: Fix Wmaybe-uninitialized warning.
2022-11-19 19:28:52 +01:00
lightningterror
93b24f98a6
microVU_Macro: Fix Wunused-variable warning.
2022-11-19 19:28:52 +01:00
lightningterror
32d52cb0dd
recVTLB: Fix Wsign-compare warnings.
2022-11-19 19:28:52 +01:00
lightningterror
552d5d8928
iR5900Templates: Fix Wunused-variable warnings.
2022-11-19 19:28:52 +01:00
lightningterror
5b583fefbc
MemoryCardProtocol: Fix Wimplicit-fallthrough warnings.
2022-11-19 19:28:52 +01:00
lightningterror
3c4d48f45d
SIO: Fix Wunused-variable warning.
2022-11-19 19:28:52 +01:00
lightningterror
f6b8b6cb9b
gui-wx: Fix Deinterlace option.
2022-11-19 18:20:28 +01:00
Connor McLaughlin
5ab4263c0a
MemoryCardFolder: Add missing bounds check to Read()
2022-11-19 16:55:16 +00:00
Connor McLaughlin
6793a84f9b
x86/iR5900: Fix compiling with DUMP_BLOCKS
2022-11-19 06:16:44 +00:00
Connor McLaughlin
c883e9d792
Sio: Only eject memory cards when loading state if changed
...
[SAVEVERSION+] Regression from #6741 .
2022-11-19 06:01:09 +00:00
Connor McLaughlin
0e73bf1e6d
SaveState: Only remap changed TLB slots on load
2022-11-19 04:59:10 +00:00
Connor McLaughlin
1ccddb92d4
EE Rec/IOP Rec: Rewrite large portions
...
- Add fastmem
- Add delay slot swapping
- Add COP2 sync elision
- Add block analysis and use analysis
- Add GPR register caching and renaming
2022-11-19 04:59:10 +00:00
Connor McLaughlin
8de4e190dc
EERec: Disable large block splitting
2022-11-19 04:59:10 +00:00
Connor McLaughlin
d17ceec14b
EERec: Add block dumping
2022-11-19 04:59:10 +00:00
Connor McLaughlin
fd194124a9
x86: Move cycle/writeback fields to CPU structs
...
[SAVEVERSION+] Potentially better locality, keeps everything we're
accessing from the rec together.
2022-11-19 03:54:02 +00:00
refractionpcsx2
be438587c7
mVU: Clean up range function and improve merging. Slim down cmpProg.
2022-11-19 02:35:25 +00:00
RedPanda4552
1146175648
SIO: Separate SIO2 from SIO0, reimplement memcard protocol
...
[SAVEVERSION+] Fixes memcard issues in MGS3, Shining Force EXA, and others which do 4 sector reads
2022-11-19 02:08:13 +00:00
sideprojectslab
93abf66240
GameDB: forced Alpine Racer 3 deinterlacing to Adaptive BFF when Auto
2022-11-18 21:29:37 +00:00
sideprojectslab
6924249bcf
GS: Reverted field order in MAD shader updated weave shader to same field order as MAD and merged two Weave shaders into one
...
GS: corrected refactoring errors in interlace shaders
2022-11-18 21:29:37 +00:00
sideprojectslab
21fa2ee87b
GS: Improved MAD compatibility with other graphics settings
2022-11-18 21:29:37 +00:00
sideprojectslab
50861dc5c1
UI/GameDB: fixed issues with MAD integration in UI and GameDB
...
GameDB: fixed compile error
2022-11-18 21:29:37 +00:00
sideprojectslab
64f6bf52b0
GS: Cleaned up and commented Motiond Adaptive Deinterlacing shader code
...
GS: fixed compile error in Metal interlace shader
GS fixed more compile errors in Metal interlace shader
GS: Adjusted code indentation in interlace shader for all renderers
2022-11-18 21:29:37 +00:00
sideprojectslab
e9d256aa74
INI: created new deinterlace_mode config setting to force new default to Automatic
2022-11-18 21:29:37 +00:00
sideprojectslab
79b5f2154f
GS: added Motion Adaptive Deinterlacing support for Metal renderer
2022-11-18 21:29:37 +00:00
sideprojectslab
0f42eab7a4
UI: Integrated Motion Adaptive Deinterlacing with UI
...
[SETTINGSVERSION+]
Added entries in the drop-down menu for Adaptive Deinterlacing
Re-arranged deinterlacing mode order in the drop-down menu.
"Auto" mode defaults to MAD.
Adjusted GameDB entries to be compatible with the new order of entries.
Improved Bob description for WX
2022-11-18 21:29:37 +00:00
sideprojectslab
f10e7f4ab7
GS: Implemented Motion Adaptive Deinterlacing for all renderers
...
implemented FastMAD motion-adaptive deinterlacing for OpenGL renderer, other renderers will crash. FastMAD is replacing blend (either mode) so select blend to activate MAD under the hood
fixed an assert and assessed that one MUST select mode Blend bottom field first to enable MAD
removed forced mode 2, added separate motion thresholds for current field and alternate field motion and optimized MAD for Top-FIeld-First mode
committing kind-of broken status for review
the algorithm works well on most games, but somehow Kingdom Hearts works at half resolution
completely fixed weird artifacts on MAD, I only need to fix a 1-line offset that is causing the top of the screen to flicker
fixed flicker on first line, I still need to fine-tune some coefficients
solved all nastiness by realizing that MAD MUST work on an even resolution, so odd resolutions are rounded up. Now all games I tried look great
made MAD sensitivity adjustable inside GDDevice.h and passed to shaders as a parameters. For this purpose ZrH is now a vec4 to hold more parameters conveniently
ported MAD to DX11 and DX12
removed rounding of texture size to closest multiple of 2 and fized odd number of lines inside the shaders by also passing the vertical resolution as a parameter
improved compatibility of upper buffer offset adjustment for odd resolutions
added Vulkan support
2022-11-18 21:29:37 +00:00
Ty Lamontagne
e1f7fe5700
GIF: Fix MFIFO DMAStalls. Fix InstantDMA with PSE bit set
2022-11-18 01:55:43 +00:00
refractionpcsx2
630ebb0583
GS: Expand "progressive" analogue games to full height, in case they lie
2022-11-18 01:32:09 +00:00
JordanTheToaster
748dcbd989
ImGuiOverlays: Add missing fixes
...
Adds the last of the fixes to the overlay
2022-11-18 00:38:14 +00:00
refractionpcsx2
8ba768ecec
GIF: Fix reset functionality to properly abort the current packet
2022-11-17 11:18:48 +00:00
refractionpcsx2
cfb5e203b3
GS-HW: Increase channel shuffle sizes to resolution or higher.
...
GS-TC: Fix small bug which could end up with an invalidation being skipped.
2022-11-17 11:18:24 +00:00
RedDevilus
e5bc1defa2
Documentation: VSCode integration addendum + y2022
...
- GameIndex.md updated with the year 2022.
- GameIndex.pdf updated with VSCode integration for yaml.
2022-11-15 18:12:49 +01:00
lightningterror
4537342ec2
FullscreenUI: Fix Wunused-variable warnings.
2022-11-15 16:47:51 +01:00
lightningterror
ee80bca994
GS: Fix Wunused-variable warnings.
2022-11-15 13:03:51 +01:00
lightningterror
55c1012d1c
GS: Fix Wsign-compare warnings.
2022-11-15 13:03:51 +01:00
Tyler Wilding
df5a7d4fb1
ci/lint: add `InstantDMAHack` to valid list of game fixes
2022-11-15 12:15:42 +01:00
Tyler Wilding
fba0e5932f
ci: use the json schema to validate the GameDB
2022-11-15 12:15:42 +01:00
Tyler Wilding
28c2c8d179
docs: update relevant documentation
2022-11-15 12:15:42 +01:00
Tyler Wilding
d1459650e1
ci/lint: remove GameDB python lint script, replace with json-schema
2022-11-15 12:15:42 +01:00
Ty Lamontagne
6138ac009f
Core: Sign extend the interpreter impl of MFC0
2022-11-15 08:50:00 +00:00
Connor McLaughlin
a7af3cd483
x86/microVU: Write VIs from CTC2 as 16 bits
...
The micro recompilers only write as 16 bit, so in case the value in the
register was greater than 0xFFFF, we don't want to store higher bits
that get stuck.
2022-11-13 16:15:36 +00:00
Connor McLaughlin
a12accf3fa
x86/iR5900: Align LQC2/SQC2 to 16 bytes
...
LQ/SQ were already 16 byte aligned.
2022-11-13 16:15:36 +00:00
David Scholberg
ffe669137b
Qt: fix inhibit screensaver on Linux (X11)
...
This change fixes https://github.com/PCSX2/pcsx2/issues/7367 .
xdg-screensaver expects the given window ID to be that of the top level
window.
2022-11-13 09:29:41 +00:00
refractionpcsx2
a874c5455d
GS-TC: Reset age on Host->Local dirty textures
2022-11-12 21:47:36 +00:00
refractionpcsx2
d70b7e5bc7
GS-TC: Don't shufflemove data which isn't in the texture.
...
Allowing this could expand the texture to just be black, causing bad copies.
2022-11-12 21:46:44 +00:00
refractionpcsx2
8e80662bb0
GS-TC: Invalidate videomem still if surface becomes invalid
2022-11-12 21:46:34 +00:00
refractionpcsx2
dbd7d2e290
GS: Correct the height on reversed local->local transfers
...
Also avoid messing around in reverse if possible
2022-11-12 21:46:13 +00:00
Silent
c69c7ce59c
GS/TextureCache: Add a CRC hack in InvalidateVideoMemType for Getaway games
2022-11-10 10:30:10 +00:00
refractionpcsx2
79c79b06ca
GS: Don't add overscan to offsets when looking up output texture.
...
This can cause mis-detection when Show Overscan is enabled, making it miss the target.
2022-11-10 09:28:45 +00:00
refractionpcsx2
9bfe89f115
CDVD: Adjust rotational delay after seek behaviour
2022-11-09 22:49:10 +00:00
Ty Lamontagne
4975f7f098
Profiling: Fix QT builds where USE_VTUNE is true
2022-11-09 19:00:11 +00:00
refractionpcsx2
e9ec9e79ac
GS-HW: Assume points of right size are paletted, regardless of Z writes.
...
Adds Clannad CLUT setting in the gamedb.
2022-11-09 10:24:47 +00:00
refractionpcsx2
5321ca913e
EE: Implement Instant DMA hack for some cache problematic games
...
Bump savestate version for new dma stall flag
[SAVEVERSION+]
2022-11-07 18:56:04 +00:00
refractionpcsx2
b8c7ac4529
GS: On Local->Local transfer wrap around 2048
2022-11-07 09:46:27 +00:00
refractionpcsx2
7ed4e3ae35
GS-HW: Further restrict CLUT heuristics.
...
Reduces readbacks in Burnout by like 75%
2022-11-06 17:02:59 +00:00
refractionpcsx2
250b266321
GS: Pass original height for feedback lookup.
2022-11-05 18:18:01 +00:00
refractionpcsx2
2221a12950
GS-HW: GetOutput loop on 2048 and restrict height.
2022-11-05 04:57:44 +00:00
refractionpcsx2
6b2a20231d
SPU: On config change don't reinit sample rate.
...
Also fix up some other samplerate related things and turn the soundtouch pointer in to a unique pointer.
2022-11-04 16:45:26 +00:00
refractionpcsx2
975aac5a00
GS-HW: Further restrict CLUT width to 8, 16, 32, 64
2022-11-04 16:45:07 +00:00
refractionpcsx2
87aa7bbb76
GS: Restrict age of targets for GS Download invalidation.
2022-11-03 15:26:25 +00:00
refractionpcsx2
6103d07d07
GS: Restrict CLUT SW draw widths to multiples of 8
...
code does 0-7 for points (inclusive) and 0-8 for anything else (exclusive)
2022-11-02 12:17:29 +00:00
Fothsid
03f7002711
GS/TextureCache: remove an unnecessary TBW check
2022-11-01 21:25:46 +00:00
lightningterror
9a4585d438
gui-wx: Comment out config guide code.
...
Outdated.
2022-11-01 16:06:32 +01:00
Fothsid
e2e9249d40
GS: Check memory overlaps with targets for GS downloads
2022-11-01 10:55:02 +00:00
Connor McLaughlin
9cc852a097
GS/Vulkan: Copy entire target when ds == tex
...
Also for DX12. Shadow Hearts 3 does a downsample, and we don't copy enough
if we limit to the render area.
Really, the texture cache should be handling this. But since we have the
target height more correct now, the perf hit shouldn't be much.
2022-11-01 09:55:17 +00:00
Connor McLaughlin
0b98c7a352
D3D12HostDisplay: Fix defaulting to vsync off
2022-11-01 09:47:24 +00:00
Connor McLaughlin
4463531f1e
FullscreenUI: Various improvements
2022-11-01 09:47:24 +00:00
refractionpcsx2
fd6b0d07fb
GS: Fix small config refresh bug.
2022-10-31 21:04:18 +00:00
refractionpcsx2
fc87b54439
GS-HW: Fix bugs in CLUT draw heuristics, fixes up Driver Parallel Lines
2022-10-30 23:58:11 +00:00
refractionpcsx2
fe53a3f52c
GSHW: Ignore recursive draws in CLUT heuristics.
2022-10-30 20:39:34 +00:00
refractionpcsx2
bc2f576b30
GS-HW: SW Render CLUT draws
2022-10-30 14:46:11 +00:00
refractionpcsx2
c6924ccaeb
HW-TC: Keep old frames usable a bit longer.
...
The old value was a bit too violent on loading screens which didn't update very frequently (Mission Impossible), this new value works pretty well with both.
2022-10-28 23:04:56 +01:00
TheLastRar
6ad98e2c70
DEV9: Sockets: Fix UDP FixedPort
2022-10-27 23:53:37 +02:00
TheLastRar
0ee28f3433
DEV9: Sockets: Log correct UDP port
2022-10-27 23:53:37 +02:00
TheLastRar
25107bd2db
DEV9: Fix setting response code
2022-10-27 23:53:37 +02:00
TheLastRar
304f260cff
DEV9: Fix DNS Internal mode acting as Auto mode
2022-10-27 23:53:37 +02:00
Geordie
e129a06436
MemoryCard: Fix a crash that happens when copying from one card to a folder memory card via BIOS. ( #6746 )
...
This fixes a crash that happens if you attempt to copy from one memory card to a formatted folder memory card.
2022-10-26 18:30:44 +02:00
lightningterror
c99714dbb2
GSClut: Fix Wsign-compare warning.
2022-10-26 13:54:14 +02:00
lightningterror
8771d3bc19
GS-hw: Use GSVector for rb ga masks in texture shuffle.
2022-10-26 13:16:49 +02:00
Mrlinkwii
e5964ae35b
GS-hw: purge DBZBT3 upscaling CRC hack
2022-10-25 10:14:38 +01:00
lightningterror
cdb886a454
GS-hw: Implement missing st_int shader bit.
...
Was causing bad shader errors in GT4.
2022-10-24 16:22:44 +02:00
TellowKrinkle
ac1f31f2cd
GS:HW: Add option to spin CPU during readbacks
2022-10-24 14:33:17 +01:00
TellowKrinkle
923b0817ce
GS:Vk: Add option to spin GPU during readbacks
2022-10-24 14:33:17 +01:00
TellowKrinkle
73044dffed
GS:MTL: Add option to spin GPU during readbacks
2022-10-24 14:33:17 +01:00
Connor McLaughlin
5e9710a8c6
Qt: Support overriding log file on command line
2022-10-22 23:19:54 +01:00
Connor McLaughlin
61de98d651
Vulkan: Support running surfaceless
2022-10-22 23:19:54 +01:00
Connor McLaughlin
9daedf6f09
x86/microVU: Fix last block comparison for AVX2
2022-10-22 23:19:54 +01:00
Connor McLaughlin
dad1e659a5
Achievements: Disable challenge mode on shutdown
2022-10-22 23:19:54 +01:00
Connor McLaughlin
5647ca7f08
Qt: Add play time tracking based on serials
2022-10-22 11:08:23 +01:00
Connor McLaughlin
2815bd177c
GS/HW: Fix RGB/A splitting on accumulation blend with DSB off
2022-10-22 10:13:30 +01:00
refractionpcsx2
7aa05c08f1
EEJIT/COP2: Remove redundant instruction/allocation
2022-10-22 03:42:31 +01:00
refractionpcsx2
112ba57729
EE/JIT: Flush Rt on LDR/LDL before write
2022-10-22 03:42:31 +01:00
refractionpcsx2
bdac7672b7
SPU2: Move ADMA clear to ADMA disable.
...
Fix bug with errantly setting data size if there isn't any.
2022-10-22 01:51:22 +01:00
refractionpcsx2
08cac6affd
CDVD: Partial revert change from #5142 keep read state when buffering.
2022-10-21 12:41:11 +01:00
refractionpcsx2
c9826cb26a
GS: Only allow recently updated frames for display.
2022-10-21 12:02:53 +01:00
refractionpcsx2
32d1105833
GS: Improve upload TEX overwrite detection
2022-10-21 11:04:45 +01:00
Connor McLaughlin
5ffcbad18b
GSDumpReplayer: Support no-looping/frame number queries
2022-10-20 19:43:29 +01:00
Ty Lamontagne
3289cd1e2b
Move some IPU logging to systrace instead of devcon
...
My code emits 64 bit reads for some reason, and it's slowing me down.
2022-10-20 18:39:18 +01:00
refractionpcsx2
4127253650
GS/State: Correct CLUT invalidation range check
2022-10-20 14:57:30 +01:00
Connor McLaughlin
2c55cce6ba
GS/TextureCache: Use Inside() for checking display target
...
The existing code was adding however many pages the framebuffer crossed unconditionally,
when practically this last row will only be read when the height isn't page-aligned.
2022-10-20 14:57:30 +01:00