From 5dfa7e1e981ef0c7c2876c4eb01e418cde348cf2 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 23 Dec 2024 14:21:16 +0200 Subject: [PATCH] cdrom: some cleanup --- libpcsxcore/cdrom.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index a8eb6d9b..e6ea22b2 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1304,16 +1304,6 @@ void cdrInterrupt(void) { setIrq(IrqStat, Cmd); } -#ifdef HAVE_ARMV7 - #define ssat32_to_16(v) \ - asm("ssat %0,#16,%1" : "=r" (v) : "r" (v)) -#else - #define ssat32_to_16(v) do { \ - if (v < -32768) v = -32768; \ - else if (v > 32767) v = 32767; \ - } while (0) -#endif - static void cdrPrepCdda(s16 *buf, int samples) { #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ -- 2.39.5