scummvm/engines/illusions
Donovan Watteau a933dc768c ILLUSIONS: Fix text handling crash on big-endian systems
The loop reversing the wide characters on big-endian systems would loop
until _tblPtr, which is way past all TalkEntry text parts, effectively
reversing the string multiple times at incorrect positions.  Thus, some
characters would remain in the incorrect endianness, and the game would
crash.

Trac tickets #11528 and #11236.
2021-07-04 01:20:22 +03:00
..
bbdou
duckman
resources
threads
actor.cpp
actor.h
camera.cpp
camera.h
configure.engine
cursor.cpp
cursor.h
detection.cpp
detection.h
dictionary.cpp
dictionary.h
fileresourcereader.cpp
fileresourcereader.h
fixedpoint.cpp
fixedpoint.h
gamarchive.cpp
gamarchive.h
gamestate.cpp
gamestate.h
gamresourcereader.cpp
gamresourcereader.h
graphics.cpp
graphics.h
illusions.cpp
illusions.h
input.cpp
input.h
menusystem.cpp
menusystem.h
metaengine.cpp
module.mk
pathfinder.cpp
pathfinder.h
POTFILES
resourcereader.cpp
resourcereader.h
resourcesystem.cpp
resourcesystem.h
saveload.cpp
screen.cpp
screen.h
screentext.cpp
screentext.h
scriptopcodes.cpp
scriptopcodes.h
scriptstack.cpp
scriptstack.h
sequenceopcodes.cpp
sequenceopcodes.h
sound.cpp
sound.h
specialcode.cpp
specialcode.h
textdrawer.cpp
textdrawer.h
thread.cpp
thread.h
time.cpp
time.h
updatefunctions.cpp
updatefunctions.h