Opened 8 months ago

#11236 new defect

ILLUSIONS: Endianness issue in text handling

Reported by: bgK Owned by:
Priority: normal Component: Engine: Illusions
Keywords: Cc:
Game:

Description

Duckman Demo, ScummVM 5d0206b9c297837fddb038601bdfb42b0fcb8016 on the PlayStation 3.

This ticket is the result of investigating the user report from here: https://forums.scummvm.org/viewtopic.php?f=4&p=87890

The game enters an infinite loop in TextDrawer::wrapText. This appears to be because TalkThread_Duckman::insertText casts _currEntryText from byte * to uint16 *. The resulting array has different values on little endian and big endian systems.

Change History (0)

Note: See TracTickets for help on using tickets.