mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-19 16:18:45 +00:00
SWORD25: Added implementation of rint method
Windows doesn't seem to implement this method; even examples for FMOD I saw had WIN32 defines that manually provided the method. svn-id: r53256
This commit is contained in:
parent
0a7cdd7128
commit
596684101e
@ -45,6 +45,10 @@ namespace Sword25 {
|
||||
|
||||
#define AUDIOFD_FRAGSIZE 10240
|
||||
|
||||
static double rint(double v) {
|
||||
return floor(v + 0.5);
|
||||
}
|
||||
|
||||
TheoraDecoder::TheoraDecoder(Audio::Mixer *mixer, Audio::Mixer::SoundType soundType) : _mixer(mixer) {
|
||||
_fileStream = 0;
|
||||
_surface = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user