Commit graph

7609 commits

Author SHA1 Message Date
Hyllian 4bd7256a37
Add Gaussian blur shaders and update psx.jpg (#3247)
- Add gsharp2-resampler.fx shader and a fast version;
- Update Power LED in psx.jpg.
2024-07-09 21:49:17 +10:00
Stenzek a56ebf24b2
Qt: Fix incorrect sort indicator on loading 2024-07-09 21:49:17 +10:00
Stenzek 93836636a1
Qt: Center type icon in game list 2024-07-09 21:49:17 +10:00
Stenzek addadbabc6
Qt: Use memory card icon as window icon 2024-07-09 21:49:12 +10:00
Stenzek 9143116616
Qt: Show memory card icons in game list
You can disable it if you really hate it.
2024-07-09 21:38:38 +10:00
Stenzek 8659c8cca6
Core: Add MemoryCardIconCache 2024-07-09 21:38:38 +10:00
Stenzek ec851c9d6d
FileSystem: Add FTruncate64() 2024-07-09 21:38:38 +10:00
Stenzek 36abbd97e8
GameDB: Set DisablePGXPOn2DPolygons on Xenogears
Fixes misaligned UI. For future reference: game does a multiply by 4096,
then a right shift of 12, which should give back the same value, but
with it being implemented in PGXP-CPU with a divide that does not round
down, it ends up being off by one.

Rounding down loses precision in other games, so that's not an option.
2024-07-09 20:38:21 +10:00
Stenzek de27e5de92
GPU: Add option to disable PGXP on 2D polygons 2024-07-09 20:37:58 +10:00
Stenzek f0e2d1a9fa
CPU/PGXP: Rewrite SLTI/SLTIU handlers
Don't read uninitialized memory...
2024-07-09 20:14:08 +10:00
Stenzek d922a43127
CPU/PGXP: Don't force valid input on slt/sltu 2024-07-09 19:45:44 +10:00
Stenzek 3b7844be5a
CPU/PGXP: Don't force valid inputs on mult/div 2024-07-09 19:21:47 +10:00
Stenzek d831cb69a9
CPU/PGXP: Normalize variable names 2024-07-09 19:16:16 +10:00
Stenzek 5410a42fd7
CPU/PGXP: Explicitly handle addi rt, zero, nnnn 2024-07-09 19:07:17 +10:00
Hyllian 22b273800e
Add geom-overlay and fix other shaders. (#3245)
- Add geom-overlay.fx shader + psx.jpg texture;
- Add crt-consumer.fx and delete crt-consumer.glsl;
- Fix corner parameters from crt-geom.fx and geom.fx;
- Fix coords from super-xbr. Now it works with more aspect ratio options.
2024-07-08 17:22:09 +10:00
Stenzek 985b9f8a38
GameDB: CPU-PGXP for Xenogears 2024-07-08 17:20:46 +10:00
Stenzek b6f7420018
CPU/PGXP: Don't force inputs to valid on add/sub 2024-07-08 17:18:27 +10:00
Stenzek f5cc70923b
CMake: Fix typo in Mac CMAKE_CXX_FLAGS 2024-07-07 15:12:49 +10:00
Stenzek 7373342ea9
GameDB: CPU-PGXP for Resident Evil 3
And disable WS for Japanese releases of RE1-3.
2024-07-07 14:29:29 +10:00
Stenzek 7f21226a99
GameDatabase: Warn if vertex cache is enabled but unnecessary 2024-07-07 14:29:29 +10:00
Stenzek fe055280e1
Deps: Patch macdeployqt timeout 2024-07-07 14:10:24 +10:00
Stenzek aac7a9992c
CI/AppImage: Drop gcc13 workaround
Been fixed upstream for some time now.
2024-07-07 14:10:24 +10:00
Stenzek e1a9c69a4a
Deps: Bump to SDL 2.30.5 2024-07-07 14:10:18 +10:00
Stenzek d63ae8718f
GPU: Always calculate draw rect
Stops postfx shaders that depend on the draw rect going into NaN
territory.
2024-07-07 12:46:09 +10:00
Stenzek ff7bfaaadb
dep/reshadefx: Avoid emitting more reserved keywords as identifiers 2024-07-07 12:46:09 +10:00
Stenzek 6f50e12ea2
PostProcessing/FX: Remove debug shader dump 2024-07-07 12:46:09 +10:00
Nik Chizhov a3d600d5c3 fix: moved vairable access 2024-07-07 12:45:49 +10:00
Nik Chizhov 5cdcdb565f fix: string to c-string to string 2024-07-07 12:45:49 +10:00
Nik Chizhov 40048cbbc8 fix: remove duplicated code 2024-07-07 12:45:49 +10:00
Nik Chizhov e4470a9929 fix: out-of-border access 2024-07-07 12:45:49 +10:00
PugsyMAME d372609bdc
Add memory contents to "Addr=" string in debugger
Tweaks the format of the addr= string in the debugger/trace so that it includes the memory contents.
It will also take the 2nd character of the opcode and if it's b or h it will size it accordingly.
so
addr=800BC2D0
becomes
addr=800BC2D0[00000000]  or addr=800BC2D0[0000]  or addr=800BC2D0[00]

This change amongst other things will facilitate a widescreen cheat scanner, that will take a lot of the work away from making widescreen cheats.
2024-07-06 22:51:59 +10:00
Stenzek ed5a99066f
GPU: Cull off-screen sprites/lines
And further optimizations to culling in general.
2024-07-06 22:13:46 +10:00
Stenzek bc73dacea4
System: Use socket multiplier for sleeping when connected
Should significantly reduce PINE latency.
2024-07-06 21:56:30 +10:00
Stenzek 1fd8d2701d
Sockets: Add HasAnyClientSockets() 2024-07-06 21:56:30 +10:00
Stenzek b06fceffa4
GDB/PINE: Fix listen socket leak on shutdown 2024-07-06 21:56:30 +10:00
Stenzek 9a70003b70
MSBuild: Silence MSVC warning C4324 2024-07-06 19:45:16 +10:00
Stenzek eba0794b4f
FileSystem: Add Error to file writing 2024-07-06 19:36:15 +10:00
Stenzek 29b3fa2b95
GSVector: Add {min,max}v_{u8,u16} 2024-07-06 19:36:15 +10:00
Hyllian 91962508fe
Fix crt-cyclon and update others (#3240)
* Fix crt-cyclon and update others

- Fix some crt-cyclon parameters;
- Update bicubic and lanczos3.

* Update crt-geom.fx and geom.fx

- Added image center X and Y to crt-geom.fx and geom.fx.
2024-07-06 19:35:17 +10:00
Anderson Cardoso b9155ec5ac
Atualização Português do Brasil (#3242)
Atualizado para a última versão.
2024-07-06 19:34:58 +10:00
shikulja c51db5c6a7
Update Russian translation (#3241)
* Update ts

* Update Russian translation

* .
2024-07-06 19:34:48 +10:00
Stenzek 23962fd07e
GTE: Pack local config in struct 2024-07-06 19:33:38 +10:00
Stenzek b6a264b8b4
TimingEvents: Pack state in struct 2024-07-06 19:18:25 +10:00
Stenzek a57101c1f0
Timers: Pack state in struct 2024-07-06 19:18:25 +10:00
Stenzek f5cae1957b
MDEC: Pack state in struct 2024-07-06 19:18:25 +10:00
Stenzek e1a4c7dfdd
DMA: Pack state in struct 2024-07-06 19:18:25 +10:00
Stenzek 536b48d706
SPU: Pack state in struct 2024-07-06 19:18:25 +10:00
Stenzek 77488db3dc
Misc: Align CPU state and SPU voices to cache lines
Fixes the ~12% performance regression from the texture replacement
namespace'ify commit. Apparently LTO was placing the CPU struct in the
middle of a cache line...
2024-07-06 18:49:37 +10:00
Stenzek d021a61eb5
GameDB: PGXP-CPU for Rat Attack 2024-07-04 22:11:16 +10:00
Stenzek 4c0250716d
GPU/HW: Ensure buffers are freed prior to recreating 2024-07-04 21:54:44 +10:00