Commit Graph
45601 Commits
Author SHA1 Message Date
Henrik Rydgård 6b2dec91b5 Finish BlueToAlpha functionality 2022-04-30 18:17:17 +02:00
Henrik Rydgård 0c66087cc7 BlueToAlpha hack to avoid clearing the envmap in split/second :( 2022-04-30 18:17:17 +02:00
Henrik Rydgård 462972f7ea Add option to redirect blue to alpha if 565 mode is rendered and mask is 0x0FFFFF.
This is used by several games to render to the alpha channel of RGBA4444
images, which cannot normally be done directly on the PSP.

Can be used as a far more efficient replacement for
ReinterpretFramebuffers/ShaderColorBitmask
2022-04-30 18:17:16 +02:00
Henrik Rydgård 7be86264d0 Move framebufFormat to gstate_c, so we can override it 2022-04-30 18:16:09 +02:00
Henrik Rydgård 5a1ab67cf8 Dirty more state after reinterpret 2022-04-30 18:15:14 +02:00
Henrik Rydgård 6bc7a699fe Minor cleanups in framebuffer manager 2022-04-30 18:14:53 +02:00
Unknown W. Brackets 815910c6f7 Merge pull request #15511 from hrydgard/identify-misnamed-iso
Detect ISO files from file contents if extensions are wrong.
2022-04-30 09:03:27 -07:00
Henrik Rydgård d4dedeeeb8 Detect ISO files from file contents if extensions are wrong.
On older Android versions (that still support Android Storage
Framework), filenames are not always preserved in Content URIs, they can
look like .../msf:342 and things like that. So identify a few more file
types by content if filename identification fails.
2022-04-30 17:47:17 +02:00
Henrik Rydgård 81852b5f8b Merge pull request #15510 from iota97/iscreen-pergame
Allow to set InternalScreenRotation per game
2022-04-30 10:17:42 +02:00
iota97 7ebe69a3b2 Allow to set InternalScreenRotation per game 2022-04-30 09:59:17 +02:00
Henrik Rydgård 430b89a7b6 Merge pull request #15507 from ANR2ME/senseme
Partially fixes SenseMe app
2022-04-27 13:03:23 +02:00
ANR2ME ee3d97a70d Logs unimplemented syscalls as error 2022-04-27 17:03:43 +07:00
ANR2ME 3bb83f03bd Partially fixes SenseMe app (will need HTTP/HTTPS support to be fully working) 2022-04-27 14:28:28 +07:00
Unknown W. Brackets cf9c3e8c76 Merge pull request #15505 from hissingshark/cortex-a53_detection
Vero4k doesn't report its NEON support - so check for underlying Arm …
2022-04-25 20:36:17 -07:00
hissingshark b9c7181808 Vero4k doesn't report its NEON support - so check for underlying Arm Cortex-A53. 2022-04-25 23:39:17 +01:00
Henrik Rydgård 6227537949 Merge pull request #15504 from unknownbrackets/alphasum
GLES: Reverse alphamask when comparing to CLUT
2022-04-25 19:18:10 +02:00
Unknown W. Brackets 8779421a3e GLES: Reverse alphamask when comparing to CLUT.
The CLUT is already reversed.
2022-04-25 08:54:02 -07:00
Unknown W. Brackets ec05bce068 Merge pull request #15502 from hrydgard/gran-turismo-regression-fix
Simplify alphasum checking for DXT textures, and fix a regression
2022-04-24 17:23:59 -07:00
Unknown W. Brackets 676c290af6 Merge pull request #15501 from hrydgard/split-second-simpler-alternative
Make the existing ReinterpretFramebuffers/ShaderColorBitmask path work for Split/Second
2022-04-24 17:22:43 -07:00
Henrik Rydgård 35e7affa3e Simplify alphasum checking for DXT textures, and fix a regression
Got some weird blackness in the sky in Gran Turismo. This fixes that.
2022-04-25 00:54:47 +02:00
Henrik Rydgård 32df78a2cc Make the existing ReinterpretFramebuffers/ShaderColorBitmask path work for Split/Second
It took writing and debugging #15500 for me to understand what the issue with the old path was..

Much simpler alternative to #15500, or we could merge both but disable Split/Second
for this one. Needs some benchmarks I guess...
2022-04-25 00:11:09 +02:00
iota97 9787f6a317 Fix lazy loading of metadata 2022-04-24 14:13:47 +02:00
Henrik Rydgård 2178567ba0 UWP: Fix loading the default theme.
Hopefully takes care of #15496

See also #15464
2022-04-24 14:12:15 +02:00
Henrik Rydgård 13fcff328c Merge pull request #15464 from iota97/theme-atlas
Allow to change atlas per theme
2022-04-24 00:45:15 +02:00
Henrik Rydgård 3d4c4aa5b5 Fix regression with CLUT16 textures. See #12188 2022-04-24 00:43:15 +02:00
Henrik Rydgård a8ddde5a27 Merge pull request #15494 from iota97/InternalRotationBind
Add key bind to hotswap internal screen rotation
2022-04-24 00:06:33 +02:00
Unknown W. Brackets 060d68abe6 Merge pull request #15495 from hrydgard/vulkan-texture-mip-fix
Vulkan texture mip level load fix
2022-04-23 14:42:24 -07:00
Henrik Rydgård 73452b4743 Minor cleanups 2022-04-23 22:52:28 +02:00
Henrik Rydgård ed7dfdc8ad Fix mip level bug in Vulkan texture cache. 2022-04-23 22:51:11 +02:00
iota97 caa9eacf4b Make UI a bit more descriptive 2022-04-23 19:20:38 +02:00
iota97 e93cccf607 Add key bind to hotswap internal screen rotation 2022-04-23 08:52:51 +02:00
Henrik Rydgård 89ce53db44 Merge pull request #15493 from hrydgard/cleanup-fake-mipmap-checks
Fix checks for the "fake mipmap" situation.
2022-04-22 23:58:41 +02:00
Henrik Rydgård c52a5e9e25 Fix checks for the "fake mipmap" situation.
Fixes #15492
2022-04-22 22:59:20 +02:00
Henrik Rydgård 83b8211abf Merge pull request #15489 from unknownbrackets/texreplace
Replacement: Move IO checks to saving thread
2022-04-18 20:10:51 +02:00
Unknown W. Brackets 8f8436fd1a UI: Prevent save textures if not replacing.
For clarity, it's required.
2022-04-17 20:55:39 -07:00
Unknown W. Brackets 34d0acac4e Vulkan: Save textures using a memory copy. 2022-04-17 20:55:39 -07:00
Unknown W. Brackets cc119c923c Replacement: Avoid recheck saving within 5s.
This does mean an actively saved texture won't recheck, but it's close to
the old behavior where you could delete a new texture and it'd soon be
resaved.  This was convenient sometimes.
2022-04-17 20:52:26 -07:00
Unknown W. Brackets e0e3223c19 Replacement: Move IO checks to saving thread.
This will spin up more threads that might not actually save, but it will
remember this in savedCache.
2022-04-17 20:25:41 -07:00
Unknown W. Brackets 39d6dc1740 Vulkan: Allow saving const tex levels.
This might be used for fonts, for example.  They could be replaced, so no
reason not to export.
2022-04-17 20:06:03 -07:00
Unknown W. Brackets 5d22057f80 Merge pull request #15487 from hrydgard/texture-dump-thread
Save textures on background tasks when texture dumping is enabled.
2022-04-17 20:00:20 -07:00
Henrik Rydgård dffc1a9196 Add the slow comment to one more place 2022-04-18 00:40:49 +02:00
Henrik Rydgård b1af940d8e Save textures on background tasks when texture dumping is enabled.
Should help #15478, at least a bit.
2022-04-18 00:26:35 +02:00
Henrik Rydgård 3a09c85fb1 Fix hang when choosing "Skip" in first-time init. Warning fix, comment add.
Fixes #15011
2022-04-17 23:02:37 +02:00
Henrik Rydgård dbce1b06aa Disable the compat.ini workaround for Crash Team Racing. Reported by Panderner to not be needed anymore. 2022-04-16 23:45:43 +02:00
Henrik Rydgård 830420f0c8 Merge pull request #15484 from hrydgard/prototypes-mem-limit
Add contributed data about a couple of prototypes to auto-expand memory to 64MB
2022-04-16 20:42:31 +02:00
Henrik Rydgård 3d6484ee4e Add contributed data about a couple of prototypes to auto-expand memory to 64MB
They were probably only ever running on devkits, that had more memory
than retail consoles.

Reported in 15453 (doesn't fix that issue though)
2022-04-16 20:38:03 +02:00
Henrik Rydgård 93c39f7595 UWP crashfix - serialize accesses to each loader 2022-04-15 20:34:33 +02:00
Henrik Rydgård a31608e557 Crashfix 2022-04-15 19:59:24 +02:00
Henrik Rydgård 8d8a553f5b Fix typo and optimize locking pattern in Event, make it the same as LimitedWaitable. 2022-04-15 18:30:21 +02:00
Henrik Rydgård 9b25093585 Merge pull request #15482 from hrydgard/simplify-checkalpha
Delete a lot of specialized alpha checking code.
2022-04-15 14:05:43 +02:00