From 8b7ccfeca57347950ee1ad69ad7e0eb5f0a3b754 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 30 Sep 2022 19:33:03 -0700 Subject: [PATCH] Core: Remove disallowed register. --- Core/Util/AudioFormat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Util/AudioFormat.h b/Core/Util/AudioFormat.h index 8774e83546..06d53676cd 100644 --- a/Core/Util/AudioFormat.h +++ b/Core/Util/AudioFormat.h @@ -49,7 +49,7 @@ static inline s16 clamp_s16(int i) { static inline s16 ApplySampleVolume(s16 sample, int vol) { #if PPSSPP_ARCH(ARM) && !defined(_MSC_VER) - register int r; + int r; asm volatile("smulwb %0, %1, %2\n\t" \ "ssat %0, #16, %0" \ : "=r"(r) : "r"(vol), "r"(sample));