aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.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/engine/kernel.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/engine/kernel.cpp')
-rw-r--r--engines/sci/engine/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index b9434aa937..34912d2dc0 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -922,7 +922,7 @@ int kernel_matches_signature(EngineState *s, const char *sig, int argc, reg_t *a
return (*sig == 0 || (*sig & KSIG_ELLIPSIS));
}
-static inline void *_kernel_dereference_pointer(EngineState *s, reg_t pointer, int entries, int align) {
+static void *_kernel_dereference_pointer(EngineState *s, reg_t pointer, int entries, int align) {
int maxsize;
void *retval = s->seg_manager->dereference(pointer, &maxsize);