Henrik Rydgård
178fe27263
Merge pull request #17269 from unknownbrackets/debugger-minor
...
Debugger: Avoid unaligned reads in expressions
2023-04-12 10:38:08 +02:00
Unknown W. Brackets
9cebfc31b3
Debugger: Avoid unaligned reads in expressions.
...
Potentially, a watch or break condition could crash if it was unaligned
between mirrors. This might happen if it's not the condition you wanted,
especially. Play it safe.
2023-04-12 01:14:30 -07:00
Henrik Rydgård
88899984e3
Correctly pass un-rotated width/height to presentation pipeline.
2023-04-11 22:27:26 +02:00
Henrik Rydgård
652612cf15
Fix issue in present where we applied the UV range at the wrong place when post-processing.
...
Fixes #17249
2023-04-11 22:27:26 +02:00
Henrik Rydgård
4f6e5e73a6
PresentationCommon: Simplify Y flip handling.
...
Don't manipulate the UVs, manipulate the vertex coordinates instead.
This will simplify the next change that will fix the pixel accuracy
problems in post-processing.
2023-04-10 21:58:34 +02:00
Henrik Rydgård
d26700820c
Minor buildfix/cleanup
2023-04-09 22:47:34 +02:00
Henrik Rydgård
d630d3c751
Presentation: Switch from indexed trilist to plain tristrip
...
Insignificant performance difference, but nice to get rid of the index
buffer.
2023-04-08 13:02:18 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
cf28556d6d
When integer scaling, take the internal render resolution into account.
2023-04-05 09:48:28 +02:00
Henrik Rydgård
8f96ec371e
Rename iBufFilter -> iDisplayFilter
2023-04-05 09:34:18 +02:00
Henrik Rydgård
c08c711006
Fix portrait mode integer scaling
2023-04-02 22:35:51 +02:00
Henrik Rydgård
d223d3c316
Rename CenterDisplayOutputRect to CalculateDisplayOutputRect
2023-04-02 22:29:08 +02:00
Henrik Rydgård
2fa93982ea
Add support for integer scale factor for display
...
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.
Fixes #17093
2023-04-02 22:29:08 +02:00
Герман Семенов
122b63b9a8
GPU: using if constexpr C++17 optimization
2023-04-02 16:36:37 +02:00
Henrik Rydgård
5332850b00
More accurate check for LoadCLUT from framebuffer margins.
...
Fixes #16819
2023-03-31 21:24:21 +02:00
Henrik Rydgård
ba705dcabd
Fix typo
2023-03-28 15:44:35 +02:00
Henrik Rydgård
55e9d9a3eb
Code cleanup
2023-03-28 11:18:45 +02:00
Henrik Rydgård
cdfe4524ea
ReplacedTexture: Opportunistically delete the waitable
2023-03-28 09:21:41 +02:00
Henrik Rydgård
1fbabed7ff
Simplify the semantics, makes more sense now.
2023-03-27 22:09:10 +02:00
Henrik Rydgård
4e41233bb7
Replacement: Save textures even if already replaced, if the png is missing.
...
Fixes #17182
Not exactly sure what behavior we really want, but I think this one is
OK, and at least more similar to the old one. Now we save
already-replaced textures if the named replacement texture is missing, and there
isn't already a hash-named one in new or the "root".
2023-03-27 15:43:18 +02:00
Henrik Rydgård
acb61e4781
Merge pull request #17189 from unknownbrackets/minor-cleanup
...
Miscellaneous cleanup from recent changes
2023-03-26 09:44:29 +02:00
Henrik Rydgård
f3076294b2
Merge pull request #17192 from unknownbrackets/saveicon-download
...
GPU: Add xfer flag to ignore create vfb flags
2023-03-26 08:51:27 +02:00
Unknown W. Brackets
2d13b40123
GPU: Rename match flags to avoid confusion.
2023-03-25 23:25:42 -07:00
Unknown W. Brackets
05c225655d
GPU: Add xfer flag to ignore create vfb flags.
...
Save icons need CPU reads to work.
2023-03-25 23:19:21 -07:00
Unknown W. Brackets
5aeaeb83de
GPU: Fix intra-block transfers in ToP CE.
...
Used in Olive Village.
2023-03-25 23:06:44 -07:00