fix an overflow
svn-id: r10095
This commit is contained in:
parent
302974b003
commit
5ecee0f046
1 changed files with 1 additions and 1 deletions
|
@ -1087,7 +1087,7 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
|
|||
// of the ticks value.
|
||||
if (_gameId == GID_INDY3) {
|
||||
// Note: since we fix ppqn at 480, ppqn/473 is almost 1
|
||||
dw = 500000 * 256 * ppqn / 473 / ticks;
|
||||
dw = 500000 * 256 / 473 * ppqn / ticks;
|
||||
} else if (_gameId == GID_LOOM) {
|
||||
dw = 500000 * ppqn / 4 / ticks;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue