Commit Graph

14759 Commits

Author SHA1 Message Date
Henrik Rydgård dbe6ec80a0 Fix some bad "for (auto x : y)" usage 2025-04-29 16:46:14 +02:00
Henrik Rydgård ef97eb668a ImDebugger: Add a Time window to check various counters 2025-04-23 17:10:31 +02:00
Henrik Rydgård ecff4d03ee Update the naming of functions called by SavedataParam::EncryptData. Thanks Linblow, and Nemo for the reminder 2025-04-23 16:49:04 +02:00
Henrik Rydgård f3127346d4 Add a setting (in developer tools) to control texture replacement load speed 2025-04-22 20:57:32 +02:00
Henrik Rydgård 0f18f054ab Make the frame-time budget for uploading replacement textures take framerate into account 2025-04-22 20:19:43 +02:00
Henrik Rydgård 08d1e0b3d8 Logspam cleanup 2025-04-17 11:06:06 +02:00
Henrik Rydgård 486370852f Restrict SDL audio buffer setting to 128, 256, 512, 1024, 2048. UI improvmeents 2025-04-15 19:26:26 +02:00
Jamie Bainbridge 3d0ef8c6e1 SDL audio: Add config slider for audio samples
As described on Issue #12705 several users have problems with audio
popping, crackling, and distorion with different sample values.

Previous commit ece6edf reduced default samples from 1024 to 256 but
there does not seem to be an ideal value for all platforms.

Make the option configurable in Audio Backend Settings.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
2025-04-15 18:18:42 +02:00
Henrik Rydgård 71533ac2b7 Trash handling is too high level for FileUtil, move it up. 2025-04-15 17:42:24 +02:00
Henrik Rydgård ef2451fc45 Merge pull request #20258 from hrydgard/config-fixes
Fix GPU backend fallback (oops), turn RA off by default
2025-04-15 16:17:43 +02:00
Henrik Rydgård dcbe5b8f46 Fix logic flaw introduced in #18421, breaking GPU fallbacks
See #18421
2025-04-15 14:27:34 +02:00
Henrik Rydgård f36f52ef35 Turn off retroachievements by default (this was never intended to be on by default..) 2025-04-15 13:25:38 +02:00
Henrik Rydgård d9eab4e4a2 sceAudio: Add per-channel mute checkboxes in the debugger 2025-04-15 11:44:28 +02:00
Henrik Rydgård af30c04711 Rename 'chans' to g_audioChans 2025-04-15 11:18:53 +02:00
Henrik Rydgård 6fe537df55 Revert to using FFMPEG as decoding backend for sceMp3 again, instead of minimp3. 2025-04-14 22:38:25 +02:00
Henrik Rydgård 52a7709fb5 Log cleanup. Fix very minor memory leak 2025-04-14 22:38:22 +02:00
Henrik Rydgård 41b77bf1ae More log cleanup 2025-04-14 22:27:51 +02:00
Henrik Rydgård e9ac447b86 Merge pull request #20247 from ANR2MERefork/adhoc
[Adhoc] Fixed truncated adhoc group name issue.
2025-04-13 16:57:53 +02:00
Henrik Rydgård 77b5fcad39 Merge pull request #20246 from hrydgard/audiocodec-work
sceAudiocodec: Restore AAC support, add AT3 (non-plus) support
2025-04-13 16:10:16 +02:00
AdamN 4a0ae39293 Fixed truncated adhoc group name issue. 2025-04-13 21:01:26 +07:00
Henrik Rydgård 3cd1f2f832 sceAudioCodec: Fix AT3 and AAC playback (possibly limited to certain bitrates) but fixes Kosmodrones 2025-04-13 15:48:11 +02:00
AdamN 2a59e75ea3 This too. 2025-04-13 16:16:46 +07:00
AdamN fe71a10945 Let's not changed the SO_LINGER time, since RST signal can be faster than incoming data, thus could lost the data. 2025-04-13 16:15:05 +07:00
Henrik Rydgård 70c341ab35 Buildfix 2025-04-13 01:12:38 +02:00
Henrik Rydgård 1babbca72a Move the zip file content checker into Loaders.cpp, should fix the libretro build 2025-04-12 23:38:59 +02:00
Henrik Rydgård fffbed53bc Add a ZipFileLoader, which can let us load any single-file file type from a zip.
Useful for loading framedumps from github without manually having to
unzip each one, for example.
2025-04-12 22:23:23 +02:00
Henrik Rydgård 200edfaa96 Add a developer setting to force using FFMPEG for audio decoding. 2025-04-12 11:35:55 +02:00
Henrik Rydgård f7ff2e2d20 Remove redundant constants 2025-04-12 11:35:55 +02:00
Henrik Rydgård 3c4566717c Add muting flag to sceSasAudio as well. 2025-04-12 11:35:55 +02:00
Henrik Rydgård 4e8e6312e0 ImDebugger: Implement mute controls for individual sceAtrac channels 2025-04-12 11:35:55 +02:00
Henrik Rydgård ff9b009661 Add a new NID to SysMemForKernel, used by LightMP3 2025-04-12 11:35:55 +02:00
Henrik Rydgård 9241d09c56 Show little indicators on achievements of the type (progression, missable, win) 2025-04-11 18:27:41 +02:00
Henrik Rydgård f9cc797328 Fix MP3 mono playback 2025-04-11 13:12:28 +02:00
Henrik Rydgård 693f84d2fb sceAtrac logspam reduction 2025-04-11 13:12:14 +02:00
Henrik Rydgård 6d6291a12c Semaphore logspam reduction 2025-04-11 12:59:26 +02:00
Henrik Rydgård 67dfbfe97e Add developer setting to prevent loading overlays (and other 'implicit' Vulkan layers) 2025-04-10 18:56:05 +02:00
Henrik Rydgård 670ff21529 Make the Vulkan init flags a proper enum class 2025-04-10 18:16:05 +02:00
Henrik Rydgård 7712cf5331 When deleting important files like savedata or games, move to trash.
This currently only works on Windows, where it changes the Delete button
to "Move to trash".
2025-04-10 09:02:44 +02:00
Henrik Rydgård a4e6e84a0a Move achievement handling to EmuScreen and the main thread. Fixes black screen. 2025-04-09 18:07:13 +02:00
Henrik Rydgård e90b91701f Warning fixes 2025-04-09 13:13:13 +02:00
Henrik Rydgård 3676f4792e GE debugger: Split out the vertices window, show matrices in state window 2025-04-09 11:58:31 +02:00
Henrik Rydgård 6de3d47f6e Minor logging fixes 2025-04-09 11:58:31 +02:00
Henrik Rydgård da7c99a585 sceNetInet: Implement per-thread errno. Reduce some log levels 2025-04-08 08:31:09 +02:00
Henrik Rydgård 0450728399 Add a super simple session cache for direct DNS lookups.
Dont even try to download the json if dontdownloadjson is set.
2025-04-08 00:41:08 +02:00
Henrik Rydgård ebcf6be42c When (successfully) using dyn_dns, remove fixed lookups.
Additionally some various cleanup.
2025-04-08 00:32:40 +02:00
Henrik Rydgård 9738a9511f Build and warning fixes 2025-04-07 23:17:56 +02:00
Henrik Rydgård b34f34ebde Move some more error codes to the big enum 2025-04-07 22:25:36 +02:00
Henrik Rydgård 89c0b5f20b sceNetResolver: Move error codes to enum, modernize logging 2025-04-07 22:16:32 +02:00
Henrik Rydgård 242fd20798 Fix bug preventing the json from being fetched a second time 2025-04-07 22:14:36 +02:00
Henrik Rydgård 279c6fdd3c Don't leave a shared_ptr to the json download sticking around, consume it. 2025-04-07 21:41:41 +02:00