Henrik Rydgård
8b99c9f9d9
GE dump playback: Don't flip unless DISPLAY is the last command. This messes up the frame structure.
2024-01-30 11:14:38 +01:00
Henrik Rydgård
ea180e54c9
Fix some "double-binds" of the backbuffer.
...
These are already eliminated by the queuerunner, but better not to
generate them in the first place, for easier sanity checks.
2024-01-30 10:44:18 +01:00
Henrik Rydgård
c5191cad4c
Disable 16-bit textures on PowerVR.
...
Fixes #18780
2024-01-29 15:48:27 +01:00
Henrik Rydgård
0615ba3e54
Some paranoia and a comment
2024-01-29 00:54:18 +01:00
Henrik Rydgård
8b4f80c562
GPUCommonHW: Check range of indexes for indexed draws.
2024-01-28 22:58:20 +01:00
Henrik Rydgård
cb79783539
Expand primitives: Check the vertex count too.
...
Still getting a few crashes, let's get rid of the last of them from this,
hopefully.
2024-01-28 22:48:40 +01:00
Henrik Rydgård
493122a2fc
v1.17
2024-01-27 14:48:00 +01:00
Henrik Rydgård
22e91c98db
More asserts
2024-01-24 11:36:25 +01:00
Henrik Rydgård
0d2e5c32ab
More sanity checks
2024-01-24 00:50:32 +01:00
Henrik Rydgård
51097279c9
Vulkan: Fix race condition when changing MSAA mode with the game running "behind" the menu.
2024-01-23 11:28:45 +01:00
Henrik Rydgård
768520dd0e
Separate out the checks for save vs replace textures more, fixing some issues
2024-01-23 01:07:31 +01:00
Henrik Rydgård
2e16fd3bcc
Fix fake game ID generation to work with scoped storage
2024-01-23 01:06:56 +01:00
Henrik Rydgård
c6c0d0bf42
Android memstick folder moves: Do recursive moves if in the same device. Drastically faster.
2024-01-22 16:26:29 +01:00
Henrik Rydgård
6ae9d42516
Preparations for reworking the memstick folder move functionality
2024-01-22 15:56:07 +01:00
Henrik Rydgård
0bf7a98aff
Replace DrainAndBlockCompileThreads with StopThreads, and same for resuming.
2024-01-22 11:06:50 +01:00
Henrik Rydgård
103d8b1019
Don't apply smart 2d texture filter to video.
2024-01-18 23:38:44 +01:00
Henrik Rydgård
74f5be02a1
GameInfo: Try to reduce the locking a bit.
2024-01-18 22:52:56 +01:00
Henrik Rydgård
d45f95e304
Limit to Windows to fix linker error
2024-01-18 16:08:23 +01:00
Henrik Rydgård
531f145e0b
Fix NEON compilation error on strict compilers. Fixes #18688
2024-01-18 10:38:30 +01:00
Henrik Rydgård
e908034ad3
Revert back to the old way of fitting into 16:9: Crop one line at the top and bottom
...
I seem to have switched to a stretch at some point, which isn't ideal and can be
achieved anyway with the stretch option. A two-line crop (1 at top, 1 at bottom)
is generally the better option.
There's now also a hidden ini setting to turn it off. I might be
convinced to add it as a real setting once I figure out a good name for
it. The setting:
```ini
[Graphics]
DisplayCrop16x9 = True
```
Fixes #18693
2024-01-15 22:04:42 +01:00
Henrik Rydgård
dac4c7adb0
Add checks against overrunning the index buffer space
2024-01-15 10:25:18 +01:00
Henrik Rydgård
db94b0b696
Pass the limit on the number of indices to generate to BuildDrawingParams.
2024-01-15 10:09:04 +01:00
Henrik Rydgård
cf5d76faf5
Continue replacing 'maxIndex' with 'numDecodedVerts'. Not an ideal name but better.
2024-01-14 23:41:05 +01:00
Henrik Rydgård
4360fe786c
Add a setting for smart 2D texture filtering
2024-01-12 11:10:53 +01:00
Henrik Rydgård
8de7a97883
Check small triangle draws in through-mode for pixel mapping too
2024-01-11 14:32:52 +01:00
Henrik Rydgård
09d8bc5c43
Don't override "Linear"-forced texture filtering
2024-01-11 12:56:03 +01:00
Henrik Rydgård
e3841ddb4a
Accept 1D stretch as pixel mapped
2024-01-11 12:56:03 +01:00
Henrik Rydgård
341fe04f4b
Apply nearest filter for pixel-mapped draws
2024-01-11 12:56:03 +01:00
Henrik Rydgård
944b3c5be5
Add pixel mapping detection for through mode RECT primitives
2024-01-11 12:56:03 +01:00
Henrik Rydgård
6e12465dc4
Move through-mode UV scaling for rects from Transform to ExpandRectangles
2024-01-11 12:56:03 +01:00
Henrik Rydgård
0b6ea4b2e5
Use the Tokimeki / old Juiced 2 method for Breath of Fire III
...
Allows us to delete a bunch of complex code.
2024-01-11 10:44:13 +01:00
Henrik Rydgård
b4fe03de8b
Better solution, still pretty much optimal.
2024-01-10 18:14:59 +01:00
Henrik Rydgård
d0817c4c0a
Vulkan: Fix trying to compare uninitialized parts of packed descriptors
...
Found by Valgrind.
Other minor cleanup, too.
2024-01-10 12:10:20 +01:00
Henrik Rydgård
a6f041568b
Allow merging framebuffers vertically like the old Juiced 2 fix.
...
Fixes Tokimeki Memorial 4 rendering.
Fixes #6379 , see comments.
2023-12-30 22:40:07 +01:00
Unknown W. Brackets
80bd328a9d
Merge pull request #18638 from hrydgard/more-tex-replacement-details
...
Fix two minor tex replacement issues
2023-12-29 10:21:43 -08:00
Henrik Rydgård
daa9fab32a
Don't try to replace textures if there's just an empty TEXTURES/{GAMEID} folder.
2023-12-29 19:06:43 +01:00
Henrik Rydgård
3ffcf267cb
Allow replacing mip levels of a texture even without a ini file. Probably niche.
2023-12-29 19:06:20 +01:00
Henrik Rydgård
46b25d20a4
Merge pull request #18637 from unknownbrackets/riscv-more
...
Add some more RISC-V extensions to emitter
2023-12-29 19:03:49 +01:00
Unknown W. Brackets
d6ce03e1db
Audio: Correct log function name.
2023-12-29 09:42:23 -08:00
Unknown W. Brackets
15cb782f85
riscv: Implement Zfa encoding.
...
Not yet enabled/detected.
2023-12-29 09:42:23 -08:00
Henrik Rydgård
e3177ac870
Make some global string pointers const, not just the strings.
...
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård
f22249cef5
Reject zero-vertex-count draws.
...
I thought all the code was safe against it, but it isn't.
2023-12-29 14:09:45 +01:00
Henrik Rydgård
126d88ecfc
Back out clearly inconsequential/useless .reserve() calls
2023-12-29 08:27:56 +01:00
Henrik Rydgård
acbd32c5f1
Fix GE frame dumps, no longer produces only 1kb files.
...
Broke in ca94de8d4b
2023-12-28 20:27:32 +01:00
Henrik Rydgård
80c6dbfdfe
Minor: bugfix in texreplacer, darker alpha chessboard in texture viewer
2023-12-28 19:46:36 +01:00
Henrik Rydgård
3895cfff74
Add "Analog trigger threshold" setting, for conversion of analog trigger inputs to digital button inputs.
2023-12-28 13:36:03 +01:00
Henrik Rydgård
822ebf9dfb
Use the correct culling function in the fast draw-continuation loop
2023-12-28 10:40:56 +01:00
Henrik Rydgård
faef4aae2c
Add a comment on how to fix the actual bug.
2023-12-25 17:39:28 +01:00
Henrik Rydgård
c2963c7941
Fix issue where "Texture replacement pack activated" wasn't displayed without an ini
2023-12-25 13:25:28 +01:00
Henrik Rydgård
126d70cf9d
Improve handling of texture packs without .ini files (not recommended, but exists)
2023-12-25 13:25:28 +01:00