diff options
author | Max Horn | 2007-06-28 20:09:58 +0000 |
---|---|---|
committer | Max Horn | 2007-06-28 20:09:58 +0000 |
commit | d35861fc4ae5f23126dd7b1a0e512f79b64ff481 (patch) | |
tree | f4800c0cdc9ab8469d2faddcd0d7c916e3080b2f /common | |
parent | 675fc8ab719a2600fb9a0487a056e58b2876ff7d (diff) | |
download | scummvm-rg350-d35861fc4ae5f23126dd7b1a0e512f79b64ff481.tar.gz scummvm-rg350-d35861fc4ae5f23126dd7b1a0e512f79b64ff481.tar.bz2 scummvm-rg350-d35861fc4ae5f23126dd7b1a0e512f79b64ff481.zip |
Changed GOB to use common/frac.h
svn-id: r27763
Diffstat (limited to 'common')
-rw-r--r-- | common/frac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/frac.h b/common/frac.h index d4df455c32..1c2c622a2c 100644 --- a/common/frac.h +++ b/common/frac.h @@ -46,6 +46,7 @@ enum { */ typedef int32 frac_t; -inline frac_t intToFrac(int16 value) { return value << FRAC_BITS; } +inline frac_t intToFrac(int16 value) { return value << FRAC_BITS; } +inline int16 fracToInt(frac_t value) { return value >> FRAC_BITS; } #endif |