aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.c
diff options
context:
space:
mode:
authortwinaphex2016-08-08 03:51:26 +0200
committertwinaphex2016-08-08 03:51:26 +0200
commit53311c57c4eb1ef7f91dfe87f62323c81d610f7e (patch)
tree3c9833e2d0f3a84ea6fdf594d804bbc7b448496a /source/soundux.c
parentc2e0540fecb7ce6ac11362cc77cf12aa60656516 (diff)
downloadsnes9x2005-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.tar.gz
snes9x2005-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.tar.bz2
snes9x2005-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.zip
Cleanups
Diffstat (limited to 'source/soundux.c')
-rw-r--r--source/soundux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/soundux.c b/source/soundux.c
index 131f7d2..c10abf5 100644
--- a/source/soundux.c
+++ b/source/soundux.c
@@ -181,7 +181,7 @@ void S9xSetEightBitConsoleSound(bool Enabled)
}
}
-STATIC inline uint8_t* S9xGetSampleAddress(int sample_number)
+static inline uint8_t* S9xGetSampleAddress(int sample_number)
{
uint32_t addr = (((APU.DSP[APU_DIR] << 8) + (sample_number << 2)) & 0xffff);
return (IAPU.RAM + addr);