summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cdrom.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-12 08:58:57 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-12 08:58:57 +0100
commit379581fb3690d92f7e3815534a479823aee8ddcc (patch)
tree77b4a080ba46ba58bfd8382926580cb2aad5a69d /src/lib/util/cdrom.h
parentafe2bbe6481acf518e384509586ada235e106c54 (diff)
macro removal INLINE -> static inline (nw)
Diffstat (limited to 'src/lib/util/cdrom.h')
-rw-r--r--src/lib/util/cdrom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/cdrom.h b/src/lib/util/cdrom.h
index c0115701e35..c495a405513 100644
--- a/src/lib/util/cdrom.h
+++ b/src/lib/util/cdrom.h
@@ -145,12 +145,12 @@ void ecc_clear(UINT8 *sector);
INLINE FUNCTIONS
***************************************************************************/
-INLINE UINT32 msf_to_lba(UINT32 msf)
+static inline UINT32 msf_to_lba(UINT32 msf)
{
return ( ((msf&0x00ff0000)>>16) * 60 * 75) + (((msf&0x0000ff00)>>8) * 75) + ((msf&0x000000ff)>>0);
}
-INLINE UINT32 lba_to_msf(UINT32 lba)
+static inline UINT32 lba_to_msf(UINT32 lba)
{
UINT8 m, s, f;
@@ -167,7 +167,7 @@ INLINE UINT32 lba_to_msf(UINT32 lba)
// segacd needs it like this.. investigate
// Angelo also says PCE tracks often start playing at the
// wrong address.. related?
-INLINE UINT32 lba_to_msf_alt(int lba)
+static inline UINT32 lba_to_msf_alt(int lba)
{
UINT32 ret = 0;