Previous 15994 Revisions Next

r13365 Thursday 24th November, 2011 at 16:32:30 UTC by Miodrag Milanović
Fixed image loading for apple2 in cases with tolerated extra bytes [Chad]
[src/lib/formats]ap2_dsk.c

src/lib/formats/ap2_dsk.c
r13364r13365
139139
140140   if (size == expected_size)
141141      *vote = 100;
142   else if (size - expected_size < 8 && size - expected_size > -8)
142   else if (abs(size - expected_size) < 8)
143143      *vote = 90;      /* tolerate images with up to eight fewer/extra bytes (bug #638) */
144144   else
145145      *vote = 0;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team