mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
[APPLE2] Uninitialized variable fix
This commit is contained in:
parent
4a6a897b74
commit
bbea4d52a9
@ -309,6 +309,14 @@ void apple525_floppy_image_device::device_start()
|
||||
{
|
||||
legacy_floppy_image_device::device_start();
|
||||
floppy_set_type(this,FLOPPY_TYPE_APPLE);
|
||||
|
||||
state = 0;
|
||||
tween_tracks = 0;
|
||||
track_loaded = 0;
|
||||
track_dirty = 0;
|
||||
position = 0;
|
||||
spin_count = 0;
|
||||
memset(track_data, 0, sizeof(track_data));
|
||||
}
|
||||
|
||||
bool apple525_floppy_image_device::call_load()
|
||||
|
Loading…
Reference in New Issue
Block a user