mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
Fix 1690836: "BASS: Speed difference"
The original game's delay was 4 50hz ticks = 80ms (1000 / 50 * 4). Changing gameSpeed to match this makes it run at exactly the same speed as in dosbox. svn-id: r36318
This commit is contained in:
parent
aa82c6fa7b
commit
f7b963101f
@ -115,7 +115,7 @@ struct MegaSet;
|
||||
#define SLOW 0
|
||||
#define FAST 1
|
||||
|
||||
#define SPEED_MULTIPLY 8
|
||||
#define SPEED_MULTIPLY 12
|
||||
|
||||
//-
|
||||
#define SAVE_EXT 1
|
||||
|
@ -220,7 +220,7 @@ Common::Error SkyEngine::go() {
|
||||
else {
|
||||
delayCount += _systemVars.gameSpeed;
|
||||
int needDelay = delayCount - (int)_system->getMillis();
|
||||
if ((needDelay < 0) || (needDelay > 4 * _systemVars.gameSpeed)) {
|
||||
if ((needDelay < 0) || (needDelay > _systemVars.gameSpeed)) {
|
||||
needDelay = 0;
|
||||
delayCount = _system->getMillis();
|
||||
}
|
||||
@ -282,7 +282,7 @@ Common::Error SkyEngine::init() {
|
||||
_systemVars.systemFlags |= SF_ALLOW_TEXT;
|
||||
|
||||
_systemVars.systemFlags |= SF_PLAY_VOCS;
|
||||
_systemVars.gameSpeed = 50;
|
||||
_systemVars.gameSpeed = 80;
|
||||
|
||||
_skyCompact = new SkyCompact();
|
||||
_skyText = new Text(_skyDisk, _skyCompact);
|
||||
|
Loading…
x
Reference in New Issue
Block a user