Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#1385 closed defect (fixed)

BS2: Currently broken on big-endian?

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Engine: Sword2
Version: Keywords:
Cc: Game: Broken Sword 2

Description

From what I've been told on #scummvm, Broken Sword currently misbehaves on big-endian architectures. Apparently it's playable (with glitches?) up to reaching Quaramone City, where it's crashing frequently.

The crashes so far seem to come primarily from the Router code. Some have been reported from the mixer, but for now I'm going to assume they happen as a result of the router corrupting memory.

From what I understand it used to work fine, but so far I haven't heard any theories on when it broke. I'd really, really like to see this fixed, but I don't have any BE hardware to test it on so I'm going to need some help here.

Ticket imported from: #875386. Ticket imported from: bugs/1385.

Change History (4)

comment:1 by eriktorbjorn, 21 years ago

One of the scenes that has been reported as problematic is leaving the mining office.

By the way, I don't know for certain that the problems are endian-related, but I haven't had any such problems on little-endian.

comment:2 by eriktorbjorn, 21 years ago

Turned out to be a bug in convertEndian() that I accidentally introduced between revisions 1.77 and 1.78. Thanks to olki, it has finally been tracked down and killed.

comment:3 by eriktorbjorn, 21 years ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

comment:4 by SF/khalek, 21 years ago

Component: Engine: Sword2
Game: Broken Sword 2
Note: See TracTickets for help on using tickets.