diff -ur ScummVM-cvs20020922/scummvm/common/gameDetector.cpp ScummVM-cvs20020922+hack/scummvm/common/gameDetector.cpp
old
|
new
|
|
375 | 375 | |
376 | 376 | /* Scumm version 5 */ |
377 | 377 | {"monkeyVGA", "Monkey Island 1 (256 color Floppy version)", GID_MONKEY_VGA, 5, 0, 16, |
378 | | GF_SMALL_HEADER | GF_USE_KEY | GF_AUDIOTRACKS | GF_ADLIB_DEFAULT}, |
| 378 | GF_SMALL_HEADER | GF_USE_KEY | GF_ADLIB_DEFAULT}, |
379 | 379 | {"loomcd", "Loom (256 color CD version)", GID_LOOM256, 5, 1, 42, |
380 | 380 | GF_SMALL_HEADER | GF_USE_KEY | GF_AUDIOTRACKS | GF_ADLIB_DEFAULT}, |
381 | 381 | {"monkey", "Monkey Island 1", GID_MONKEY, 5, 2, 2, |
diff -ur ScummVM-cvs20020922/scummvm/scumm/scummvm.cpp ScummVM-cvs20020922+hack/scummvm/scumm/scummvm.cpp
old
|
new
|
|
340 | 340 | |
341 | 341 | int Scumm::scummLoop(int delta) |
342 | 342 | { |
| 343 | static int counter = 0; |
| 344 | |
343 | 345 | #ifndef _WIN32_WCE |
344 | 346 | if (_debugger) |
345 | 347 | _debugger->on_frame(); |
… |
… |
|
378 | 380 | _vars[VAR_MOUSE_Y] = mouse.y; |
379 | 381 | _vars[VAR_DEBUGMODE] = _debugMode; |
380 | 382 | |
381 | | if (_features & GF_AUDIOTRACKS) { |
| 383 | if (_gameId == GID_MONKEYVGA) { |
| 384 | // FIXME: Is all this really necessary now? |
| 385 | if (delta == 1) |
| 386 | _vars[VAR_MI1_TIMER]++; |
| 387 | else if (++counter != 2) |
| 388 | _vars[VAR_MI1_TIMER] += 5; |
| 389 | else { |
| 390 | counter = 0; |
| 391 | _vars[VAR_MI1_TIMER] += 6; |
| 392 | } |
| 393 | } else if (_features & GF_AUDIOTRACKS) { |
382 | 394 | _vars[VAR_MI1_TIMER] = _sound->readCDTimer(); |
383 | 395 | } else if (_features & GF_OLD256) { |
384 | 396 | |