aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/softseq/opl2.cpp
diff options
context:
space:
mode:
authorMax Horn2009-03-12 03:26:47 +0000
committerMax Horn2009-03-12 03:26:47 +0000
commit642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c (patch)
treef5682e55198f5cce21b4e610b9d2a272572415d6 /engines/sci/sfx/softseq/opl2.cpp
parent40b313c28ee947f3e5a908f56efacbbcedf63a88 (diff)
downloadscummvm-rg350-642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c.tar.gz
scummvm-rg350-642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c.tar.bz2
scummvm-rg350-642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c.zip
SCI: Removed most uses of the 'inline' keyword. It is usually better to let the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;)
svn-id: r39352
Diffstat (limited to 'engines/sci/sfx/softseq/opl2.cpp')
-rw-r--r--engines/sci/sfx/softseq/opl2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/sfx/softseq/opl2.cpp b/engines/sci/sfx/softseq/opl2.cpp
index e228b9e963..fad7883b6d 100644
--- a/engines/sci/sfx/softseq/opl2.cpp
+++ b/engines/sci/sfx/softseq/opl2.cpp
@@ -157,25 +157,25 @@ void adlibemu_init_lists() {
/* more shamelessly lifted from xmp and adplug. And altered. :) */
-static inline int opl_write_L(int a, int v) {
+static int opl_write_L(int a, int v) {
adlib_reg_L[a] = v;
OPLWrite(ym3812_L, 0x388, a);
return OPLWrite(ym3812_L, 0x389, v);
}
-static inline int opl_write_R(int a, int v) {
+static int opl_write_R(int a, int v) {
adlib_reg_R[a] = v;
OPLWrite(ym3812_R, 0x388, a);
return OPLWrite(ym3812_R, 0x389, v);
}
-static inline int opl_write(int a, int v) {
+static int opl_write(int a, int v) {
opl_write_L(a, v);
return opl_write_R(a, v);
}
/*
-static inline uint8 opl_read (int a) {
+static uint8 opl_read (int a) {
OPLWrite (ym3812_L, 0x388, a);
return OPLRead (ym3812_L, 0x389);
}