mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +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;
|
ch[15].mode = CHMOD_COMMAND;
|
||||||
|
|
||||||
|
memset(&this->desc, 0, sizeof(this->desc));
|
||||||
|
|
||||||
Reset();
|
Reset();
|
||||||
|
|
||||||
// Open image file
|
// Open image file
|
||||||
|
Loading…
Reference in New Issue
Block a user