mirror of https://github.com/OpenRCT2/OpenRCT2.git
make all sounds play correctly through hook
This commit is contained in:
parent
ca6c3d68aa
commit
72d16dd4d0
|
@ -191,6 +191,7 @@ bool openrct2_initialise()
|
|||
addhook(0x006E7499, (int)gfx_redraw_screen_rect, 0, (int[]){ EAX, EBX, EDX, EBP, END }, 0); // remove when 0x6E7FF3 is decompiled
|
||||
addhook(0x006B752C, (int)ride_crash, 0, (int[]){ EDX, EBX, END }, 0); // remove when all callers are decompiled
|
||||
addhook(0x0069A42F, (int)peep_window_state_update, 0, (int[]){ ESI, END }, 0); // remove when all callers are decompiled
|
||||
addhook(0x006BB76E, (int)sound_play_panned, 0, (int[]){EAX, EBX, ECX, EDX, EBP, END}, EAX); // remove when all callers are decompiled
|
||||
|
||||
if (!rct2_init())
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue