From 344b45b77b8ecffabb0f8ead032f2d9009041756 Mon Sep 17 00:00:00 2001 From: BroGamer <64546358+BroGamer4256@users.noreply.github.com> Date: Wed, 7 Dec 2022 03:28:01 +1300 Subject: [PATCH] Fix --- plugins/8.18/dllmain.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/8.18/dllmain.c b/plugins/8.18/dllmain.c index 916fcfd..fe01d3a 100644 --- a/plugins/8.18/dllmain.c +++ b/plugins/8.18/dllmain.c @@ -134,3 +134,13 @@ PreInit () { INSTALL_HOOK_DYNAMIC (qrVtable1, amHandle + 0x1BA00); INSTALL_HOOK_DYNAMIC (qrReadFromCOM1, amHandle + 0x1BC20); } + +void +BeforeCard1Insert () { + memset (song_data, 0, song_data_size); +} + +void +BeforeCard2Insert () { + memset (song_data, 0, song_data_size); +}