1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-25 12:29:34 +00:00

We can only write latch data that is > 128

This commit is contained in:
Peter Evans 2018-02-20 14:43:33 -06:00
parent 98f640f0d1
commit e826fc05d9

View File

@ -299,9 +299,9 @@ Test(apple2_dd, switch_rw)
cr_assert_eq(apple2_dd_switch_rw(drive), 234);
drive->write_protect = false;
drive->latch = 111;
drive->latch = 191;
cr_assert_eq(apple2_dd_switch_rw(drive), 0);
cr_assert_eq(vm_segment_get(drive->data, drive->sector_pos - 1), 111);
cr_assert_eq(vm_segment_get(drive->data, drive->sector_pos - 1), 191);
}
// Ignoring these right now, as they are calling the other switch_*