Commit Graph
45601 Commits
Author SHA1 Message Date
Henrik RydgårdandGitHub a27935d5ac Merge pull request #19359 from hrydgard/sanitizer-fixes
Fix some minor issues found by --sanitize. Add --sanitizeub.
2024-07-22 12:03:36 +02:00
Henrik Rydgård fd9daf7594 Fix some minor issues found by --sanitize. Add --sanitizeub.
Unfortunately the ub (undefined behavior) sanitizer has some bugs, it doesn't
understand pointers to member functions, so can't use it in-game (due to the
vertex decoder).

Thanks Nemoumbra for the reminder.
2024-07-22 11:37:18 +02:00
Henrik RydgårdandGitHub 1bb850578d Merge pull request #19357 from hrydgard/ir-interpreter-disable-preload
Disable preloading of function stubs if bPreloadFunctions is off
2024-07-22 10:48:03 +02:00
Henrik RydgårdandGitHub 2a82a46308 Merge pull request #19358 from hrydgard/achievement-crashfix
Two crashfixes: Achievements menu, Outrun
2024-07-22 10:46:58 +02:00
Henrik Rydgård 92938f8283 Vertex decoder, SSE opt: Use the correct store operation to store 64 bits.
The other one duplicates the bits twice and requires alignment.

Fixes #19351
2024-07-22 10:30:57 +02:00
Henrik Rydgård d4aafa3555 Fix crash showing the Achievements screen.
Fixes #19353, thanks Kelvfimer
2024-07-22 10:19:07 +02:00
Henrik Rydgård aa7fd6979e Disable preloading of function stubs if bPreloadFunctions is off
Fixes #19349. Strange that the game worked at all.

The issue is that the arena could get resized due to precompile during
sceKernelModuleLoad . Now respect the flag that turns precompile off
properly (we should probably make it work differently instead, if we're
gonna have it).
2024-07-22 09:51:58 +02:00
Henrik RydgårdandGitHub f317f8179e Merge pull request #19356 from hrydgard/ir-interpreter-work
IR jit/interpreter code cleanup
2024-07-22 09:26:30 +02:00
Henrik Rydgård 44f3d113d0 Buildfix 2024-07-22 09:08:47 +02:00
Henrik Rydgård 85e7ff7ac3 Target->Native renaming. More intuitive (at least to me) 2024-07-22 01:24:34 +02:00
Henrik Rydgård 898774a93d Attempt more thorough block invalidation 2024-07-22 01:22:54 +02:00
Henrik Rydgård d3e6f19b6d Comments, log, cleanup 2024-07-22 01:15:35 +02:00
Henrik Rydgård 78c75e1a0b Delete duplicate function (now that we can easily check for compileToNative) 2024-07-21 19:17:21 +02:00
Henrik Rydgård 9d36a08ec4 Some renaming, remove a gross hack 2024-07-21 19:12:51 +02:00
Henrik Rydgård 8a535ed5d4 Bugfix in DoIRInst, thanks Nemoumbra 2024-07-21 18:56:22 +02:00
Henrik RydgårdandGitHub ec49c7bc8b Merge pull request #19355 from hrydgard/console-listener-cleanup
Console log listener code cleanup
2024-07-21 16:06:21 +02:00
Henrik Rydgård bfd797033e useThread_ in ConsoleListener.cpp can now be used to manually turn off the logging thread. 2024-07-21 15:37:54 +02:00
Henrik Rydgård f50526338b Remove another wonky _beginthreadex() 2024-07-21 14:09:15 +02:00
Henrik Rydgård 44a54892a5 Update the code style of ConsoleListener, remove statics 2024-07-21 14:09:15 +02:00
Henrik RydgårdandGitHub 121e3c1576 Merge pull request #19354 from hrydgard/console-cleanup
Console logging code cleanup
2024-07-21 14:09:09 +02:00
Henrik Rydgård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik RydgårdandGitHub 5edd02ef0a Merge pull request #19347 from hrydgard/scefont-fixes
sceFont and savestate fixes
2024-07-20 13:05:08 +02:00
Henrik RydgårdandGitHub 11a5dc2edd Merge pull request #19348 from hrydgard/force-readback-compat-flag
Implement compat flag proposed in #18423, forcing readbacks in Juiced 2
2024-07-20 13:04:58 +02:00
Henrik Rydgård ef95e24169 Implement compat flag proposed in #18423, forcing readbacks in Juiced 2
In-game, there's no slowdown, and this fixes the decal editor. So it's
no use allowing readbacks to be turned off in this game.

See issue #18423
2024-07-20 11:24:24 +02:00
Henrik Rydgård cf49ff04ca More accurate error reporting for savestate loads 2024-07-20 10:55:16 +02:00
Henrik Rydgård a1010e3b2e Add some more checks in sceFont 2024-07-20 10:42:01 +02:00
Henrik Rydgård 30c768a966 sceFont: Improve debug asserts 2024-07-20 10:32:02 +02:00
Henrik Rydgård 8c0910dd6d If a load-state failed (very bad), don't run the frame. 2024-07-20 00:46:13 +02:00
Henrik Rydgård e504973cf0 On load state failure, don't go off reloading another rewind state, unless we were actually rewinding. 2024-07-20 00:40:21 +02:00
Henrik Rydgård 1eb1a69096 Zip Installation: Show the failed filename in the message 2024-07-20 00:14:23 +02:00
Henrik Rydgård 091535744b SimpleAudioDec: Fix crash in savestate load 2024-07-20 00:00:29 +02:00
Henrik RydgårdandGitHub 5c26aa4c96 Merge pull request #19345 from hrydgard/cleanups-and-fixes
Minor validation fix in Vulkan init, cosmetic UI tweak
2024-07-19 13:54:52 +02:00
Henrik Rydgård 9c49ecea0a Hide an iOS-only setting on other platforms 2024-07-19 12:15:52 +02:00
Henrik Rydgård 417d346e03 Vulkan validation warning fix 2024-07-19 11:43:35 +02:00
Henrik Rydgård d7d37e58d4 Remove the title from the "Rotation" popup button. Fixes #17201 2024-07-19 09:55:22 +02:00
Henrik Rydgård 7c817f3ecd Add helper for Vulkan struct chaining 2024-07-19 09:45:02 +02:00
Henrik RydgårdandGitHub ec4f0d0eac Merge pull request #19344 from fjtrujy/master
Update Docker layer SDL dependency
2024-07-19 00:58:54 +02:00
Henrik RydgårdandGitHub 2036e0fcd7 Merge pull request #19343 from hrydgard/retroachievements-leaderboard-position
RetroAchievements leaderboard: Show new rank, or personal best, after submission
2024-07-19 00:57:44 +02:00
Francisco Javier Trujillo Mata d17c67bcdc Update docker layer GHA workflow 2024-07-19 00:23:09 +02:00
Francisco Javier Trujillo Mata b58b04f6b2 Using latest sdl2 version 2024-07-19 00:23:09 +02:00
Henrik Rydgård fb2722f2c5 RetroAchievements leaderboard: Show new rank, or personal best, after submission. 2024-07-18 23:15:27 +02:00
Henrik RydgårdandGitHub 02abd39479 Merge pull request #19341 from hrydgard/dump-binary-notification
Add a clickable notification if "Dump decrypted EBOOT" is enabled
2024-07-18 14:32:29 +02:00
Henrik RydgårdandGitHub 4b615f00f4 Merge pull request #19340 from hrydgard/getstat-dir-fix
sceIoGetStat: Fix retrieving timestamps from directories
2024-07-18 14:32:15 +02:00
Henrik Rydgård a95ead4847 Add a clickable notification if "Dump decrypted EBOOT" is enabled
Makes it easier to find the file.
2024-07-18 14:08:22 +02:00
Henrik Rydgård d331e80542 sceIoGetStat: Fix retrieving timestamps from directories 2024-07-18 13:37:32 +02:00
Henrik Rydgård 77ad24d8d4 Add basic debug/build config for VS Code. Works in WSL (with CodeLLDB extension installed) 2024-07-18 12:58:53 +02:00
Henrik RydgårdandGitHub a76afa926d Merge pull request #19337 from hrydgard/compile-old-sdl
Add ifdefs to try to be compatible with old SDL versions
2024-07-17 23:45:09 +02:00
Henrik RydgårdandGitHub c880c17327 Merge pull request #19338 from hrydgard/remove-runtime-neon-checks
ARM32: Remove runtime checks for VFPv3 and NEON
2024-07-17 23:44:50 +02:00
Henrik Rydgård fb499bf5bf ARM32: Remove runtime checks for VFPv3 and NEON since we require these when building anyway. 2024-07-17 22:14:24 +02:00
Henrik Rydgård 04c4f7b25a Add ifdefs to try to be compatible with old SDL versions 2024-07-17 22:04:32 +02:00