mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2024-11-27 09:35:41 -05:00
fixed music insertion for multiple languages
This commit is contained in:
parent
b315183236
commit
029593f167
1 changed files with 18 additions and 2 deletions
|
@ -741,6 +741,24 @@ namespace Rebuilder
|
||||||
WriteByte(lego1dll, 0x0D);
|
WriteByte(lego1dll, 0x0D);
|
||||||
WriteByte(lego1dll, 0x10);
|
WriteByte(lego1dll, 0x10);
|
||||||
break;
|
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);
|
WriteString(lego1dll, jukebox_path, jukebox_path_offset);
|
||||||
|
@ -1097,8 +1115,6 @@ namespace Rebuilder
|
||||||
{
|
{
|
||||||
if (key != null)
|
if (key != null)
|
||||||
{
|
{
|
||||||
key.CreateSubKey(temp_path + "\\ISLE.EXE");
|
|
||||||
|
|
||||||
//string compat_string = "HIGHDPIAWARE";
|
//string compat_string = "HIGHDPIAWARE";
|
||||||
string compat_string = "HIGHDPIAWARE DWM8And16BitMitigation";
|
string compat_string = "HIGHDPIAWARE DWM8And16BitMitigation";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue