Commit Graph
5614 Commits
Author SHA1 Message Date
Henrik Rydgård 5c368cb965 More buildfixes 2024-07-26 15:22:35 +02:00
Henrik Rydgård 9fb97add3f Bugfixes 2024-07-26 14:22:31 +02:00
Henrik Rydgård 5926886c0c Some include cleanup, delete some obsolete code 2024-07-25 14:52:41 +02:00
Henrik Rydgård 5d4f413085 Demote a very common log message from ERROR to DEBUG 2024-07-23 22:17:06 +02:00
Henrik Rydgård 5fdff10be5 Minor logging tweak 2024-07-23 22:13:24 +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ård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +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 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 320a1cfc8f Merge pull request #19325 from Nabile-Rahmani/display-refresh-rate-option
[Feature] Option to override the display refresh rate
2024-07-17 20:25:38 +02:00
Henrik Rydgård 4582ee692a More logging changes 2024-07-16 22:04:41 +02:00
Henrik Rydgård f8bf0bfbb5 Add some new logging to sceUtility to try to figure out the Silent Hill problem 2024-07-16 22:04:41 +02:00
Katharine Chui d7fd44280a allow binding custom right stick to analog 2024-07-16 16:06:13 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Nabile Rahmani 9272f02ba2 Initialise framerate-related variables in __DisplayInit()
This takes into account the user configuration a frame in advance.
2024-07-14 08:21:46 +02:00
Nabile Rahmani 273f4cce31 Refresh rate: don't programmatically set configuration, detect VR instead 2024-07-14 04:47:26 +02:00
Nabile Rahmani 7af15c73bc [Feature] Option to override the display refresh rate
This adds a per-game graphics option, `DisplayRefreshRate`, to override the display refresh rate.

It defaults to 60 Hz, and is located in Dev tools.

Games using variable timesteps benefit from higher refresh rates.

Closes #19319
2024-07-13 15:04:20 +02:00
AdamN c389ede092 Update deleteAllAdhocSockets 2024-06-29 00:57:16 +07:00
AdamN 9e8e43f7b7 Update NetAdhocPtp_Close 2024-06-29 00:46:44 +07:00
AdamN 2222254f3e Update NetAdhocPdp_Delete 2024-06-29 00:44:51 +07:00
AdamN 6cccb9cb72 add SD_RECEIVE definition 2024-06-29 00:29:15 +07:00
Henrik Rydgård cbdb2a37eb Merge pull request #19264 from LunaMoo/30FPS_workarounds
Change GOWFramerateHack30 to FramerateHack30 and workaround timing issues
2024-06-20 11:42:09 +02:00
Henrik Rydgård 0080f71ca4 Implement FPU rounding mode support in the IR interpreter for x86/x64 2024-06-19 18:09:38 +02:00
LunaMoo 1f21ebdff3 Change GOWFramerateHack30 to FramerateHack30 and workaround problems in:
- Blitz: Overtime,
- Brian Lara 2007: Pressure Play.
2024-06-08 18:02:44 +02:00
Henrik Rydgård e5baebf139 Prevent a buffer overflow at the end of Atrac tracks.
Fixes #19177
2024-05-27 12:36:19 +02:00
Henrik Rydgård bdf7f5f40f IRInterpreter: Fix issue where we could accidentally optimize out CallReplacement ops. 2024-05-26 00:12:48 +02:00
Henrik Rydgård 5e3abe3def IRInterpreter compiler: Reject all vec2ops where the prefix is unknown
Fixes #19164

May help #19172
2024-05-22 23:19:14 +02:00
Henrik Rydgård aa94867128 Warning fixes 2024-05-20 10:04:11 +02:00
Henrik Rydgård a059750f5a Add basic checkbox UI for GPI switched, add display of GPO LEDs
Try it with Parappa.
2024-05-12 18:01:25 +02:00
Henrik Rydgård 8bfba2ce35 Fix mono audio with sceAtracLowLevelDecode.
Fixes #19117
2024-05-10 13:36:37 +02:00
Nemoumbra 8409914b79 Added deciphering of ~SCE headers (cracked by me) 2024-05-09 04:43:45 +03:00
Henrik Rydgård 0b91aa50ee Improve memory safety, add bugfix to little-used sysclib functions 2024-05-05 14:19:49 +02:00
Henrik Rydgård d769c3223c Fix camera mirroring color issue, fix warning 2024-05-05 11:20:29 +02:00
Henrik Rydgård e631be3607 Make a simpler CMakeLists.txt for zstd 2024-05-04 10:48:54 +02:00
Katharine Chui b570cacd90 add Memory::IsValidNullTerminatedString 2024-05-01 22:58:01 +08:00
Katharine Chui 49cd9c76d9 sysclib_sprintf psp memory bound checking instead of length limits 2024-05-01 20:23:47 +08:00
Katharine Chui fa0eaebfb5 cleanup 2024-05-01 17:32:13 +08:00
Katharine Chui 7ff48f97c3 implement sysclib_sprintf 2024-05-01 01:43:24 +08:00
Henrik Rydgård 917f5897bd Add back a lost-in-refactoring hack for the SasAudio/sceAtrac integration.
Fixes #19075
2024-04-29 19:58:11 +02:00
AdamN bbe2c341ed oops 2024-04-20 12:41:27 +07:00
AdamN 1cf7254cb0 Update sceAudio.cpp 2024-04-20 12:06:49 +07:00
Henrik Rydgård 7d46f5a0a8 Merge pull request #19074 from hrydgard/more-atrac-updates
More sceAtrac code cleanup and comments
2024-04-17 01:37:27 +02:00
Henrik Rydgård 5b625bfd3e Share GetSecondBufferInfo between implementations 2024-04-16 23:07:03 +02:00
Henrik Rydgård f05f9a6de3 Code cleanup and comments 2024-04-16 22:54:53 +02:00
Henrik Rydgård 1b366afa35 Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode. 2024-04-16 15:31:11 +02:00
Henrik Rydgård 5470885178 Add some basics. 2024-04-15 14:08:01 +02:00
Henrik Rydgård f3d6c93339 Add empty AtracCtx2 implementation, and a dev setting to select it. Savestates don't work. 2024-04-15 13:50:16 +02:00
Henrik Rydgård 5e8a46fde0 Slim down the AtracBase class 2024-04-15 12:50:51 +02:00
Henrik Rydgård 6c648a2cdd Use AtracBase instead of Atrac in sceAtrac (so now we can replace it) 2024-04-15 12:50:51 +02:00