mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Init to fix valgrind use-of-uninitialized problem
This commit is contained in:
parent
9b7517fde5
commit
401b93baa9
@ -126,6 +126,8 @@ ImageDrive::ImageDrive(IEC *iec, const char *filepath) : Drive(iec), the_file(NU
|
||||
}
|
||||
ch[15].mode = CHMOD_COMMAND;
|
||||
|
||||
memset(&this->desc, 0, sizeof(this->desc));
|
||||
|
||||
Reset();
|
||||
|
||||
// Open image file
|
||||
|
Loading…
Reference in New Issue
Block a user