Skip to content

Commit 43a8eb1

Browse files
committed
Fix ear blast when entering score screen in DTA
1 parent 6f2a4c4 commit 43a8eb1

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ OBJS += src/allow_building_placement_over_overlay.o
299299
OBJS += src/change_projectile_degeneration_speed.o
300300
OBJS += src/change_score_screen_music.o
301301
OBJS += src/dump_globals.o
302+
OBJS += src/fix_ear_blast.o
302303
OBJS += src/ingame_ui_text_color.o
303304
OBJS += src/remove_ion_storm_effects.o
304305
OBJS += src/score_screen_player_always_on_left.o

src/fix_ear_blast.asm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
%include "macros/patch.inc"
2+
3+
; Fixes an audio glitch sometimes happening in the multiplayer score screen in DTA
4+
; Author: Rampastring, with a tip from ZivDero
5+
6+
; Hack MultiScore to immediately kill the audio engine
7+
hack 0x005685CE
8+
mov ecx, 0x007A2448 ; audio object
9+
call 0x00488380 ; kill audio
10+
jmp 0x005685DF

0 commit comments

Comments
 (0)