gdrom: use memset to reset read_buff

This commit is contained in:
Flyinghead 2019-05-21 11:34:51 +02:00
parent 74e7a95484
commit a17b8355e5
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ void libCore_gdrom_disc_change()
read_params = { 0 };
set_mode_offset = 0;
packet_cmd = { 0 };
read_buff = { 0 };
memset(&read_buff, 0, sizeof(read_buff));
pio_buff = { gds_waitcmd, 0 };
ata_cmd = { 0 };
cdda = { 0 };