Rename the get-memory-pointer functions to make it clear where CPU exceptions can happen.

This commit is contained in:
Henrik Rydgård committed 2026-08-12 14:06:16 +02:00
1 parent e9a3449ede
commit c5e4d0d90d
53 files changed
+224 -224

No files matched your search

+1 -1
View File
@@ -497,7 +497,7 @@ size_t AuCtx::FindNextMp3Sync() {
// return output pcm size, <0 error
u32 AuCtx::AuDecode(u32 pcmAddr) {
u32 outptr = PCMBuf + nextOutputHalf * PCMBufSize / 2;
auto outbuf = Memory::GetPointerWriteRange(outptr, PCMBufSize / 2);
auto outbuf = Memory::GetPointerWriteRangeOrException(outptr, PCMBufSize / 2);
int outpcmbufsize = 0;
if (pcmAddr)