PCjr sound problems on AMD64

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
tburke
Posts: 13
Joined: Sun Sep 23, 2007 12:15 am

PCjr sound problems on AMD64

Post by tburke »

A couple days ago, I noticed when playing Maniac Mansion V1 (from dott CD) that the opening music is absolutely atrocious under 64-bit Linux. It didn't make any sense; it worked fine under OS X, Windows, and 32-bit Linux.

After digging through 0.10.0's source a bit, I think I've hunted down the problem to engines/scumm/player_v2.cpp, on line 853:

Code: Select all

unsigned int duration = 0;
If I switch that to

Code: Select all

unsigned long duration = 0;
and recompile, the problem is fixed.

Sorry, I suppose this should go in the bug tracker, but I wanted to get this out there before I forgot about it. I hadn't signed up for the forum or sourceforge before; the forum sent out the confirmation email first.
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

Thanks, good catch. I just commited an alternate patch to SVN (rev. 29042), maybe you can try whether that also fixes the issue..
tburke
Posts: 13
Joined: Sun Sep 23, 2007 12:15 am

Post by tburke »

It does indeed. Thanks for the quick turnaround!
Post Reply