mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2024-11-23 15:48:03 -05:00
Merge pull request #14 from xoascf/master
fixed music insertion for multiple languages
This commit is contained in:
commit
397075a15f
1 changed files with 18 additions and 2 deletions
|
@ -774,6 +774,24 @@ namespace Rebuilder
|
|||
WriteByte(lego1dll, 0x0D);
|
||||
WriteByte(lego1dll, 0x10);
|
||||
break;
|
||||
case Version.kGerman11:
|
||||
WriteByte(lego1dll, 0xA6, 0x52195);
|
||||
WriteByte(lego1dll, 0x3C);
|
||||
WriteByte(lego1dll, 0x0D);
|
||||
WriteByte(lego1dll, 0x10);
|
||||
break;
|
||||
case Version.kDanish11:
|
||||
WriteByte(lego1dll, 0x56, 0x52195);
|
||||
WriteByte(lego1dll, 0x3C);
|
||||
WriteByte(lego1dll, 0x0D);
|
||||
WriteByte(lego1dll, 0x10);
|
||||
break;
|
||||
case Version.kSpanish11:
|
||||
WriteByte(lego1dll, 0x96, 0x52195);
|
||||
WriteByte(lego1dll, 0x3B);
|
||||
WriteByte(lego1dll, 0x0D);
|
||||
WriteByte(lego1dll, 0x10);
|
||||
break;
|
||||
}
|
||||
|
||||
WriteString(lego1dll, jukebox_path, jukebox_path_offset);
|
||||
|
@ -1139,8 +1157,6 @@ namespace Rebuilder
|
|||
{
|
||||
if (key != null)
|
||||
{
|
||||
key.CreateSubKey(temp_path + "\\ISLE.EXE");
|
||||
|
||||
//string compat_string = "HIGHDPIAWARE";
|
||||
string compat_string = "HIGHDPIAWARE DWM8And16BitMitigation";
|
||||
|
||||
|
|
Loading…
Reference in a new issue