mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 18:37:01 +00:00
Bugfix to extract correct hotspot offsets list for Italian version
svn-id: r29115
This commit is contained in:
parent
c5edcaa2ef
commit
ef30bc06f6
@ -777,8 +777,10 @@ void read_script2_data(byte *&data, uint16 &totalSize) {
|
||||
}
|
||||
|
||||
void read_hotspot_script_offsets(byte *&data, uint16 &totalSize) {
|
||||
lureExe.seek(dataSegment + HOTSPOT_SCRIPT_LIST);
|
||||
|
||||
uint16 dataStart = 0x57e0;
|
||||
if (language == IT_ITA) dataStart = 0x58a0;
|
||||
|
||||
lureExe.seek(dataSegment + dataStart);
|
||||
totalSize = HOTSPOT_SCRIPT_SIZE;
|
||||
data = (byte *) malloc(totalSize);
|
||||
lureExe.read(data, totalSize);
|
||||
|
@ -47,7 +47,6 @@
|
||||
#define SCRIPT2_SEGMENT_SIZE 0x2800
|
||||
#define FIGHT_SEGMENT_SIZE 0x1850
|
||||
|
||||
#define HOTSPOT_SCRIPT_LIST 0x57e0
|
||||
#define HOTSPOT_SCRIPT_SIZE 0x30
|
||||
|
||||
#define MAX_NUM_ANIM_RECORDS 0x200
|
||||
|
Loading…
x
Reference in New Issue
Block a user