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); +}