notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b244864
)
cdrom: some cleanup
author
notaz
<notasas@gmail.com>
Mon, 23 Dec 2024 12:21:16 +0000
(14:21 +0200)
committer
notaz
<notasas@gmail.com>
Mon, 23 Dec 2024 12:21:16 +0000
(14:21 +0200)
libpcsxcore/cdrom.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdrom.c
b/libpcsxcore/cdrom.c
index
a8eb6d9
..
e6ea22b
100644
(file)
--- 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__