1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-13 22:32:03 +00:00
Thomas Harte 2016-11-22 22:35:43 +08:00
parent 5ebc1c63ff
commit 7c2d9f3752

View File

@ -48,7 +48,7 @@ void Microdisc::set_control_register(uint8_t control)
// b7: EPROM select (0 = select) // b7: EPROM select (0 = select)
// b1: ROM disable (0 = disable) // b1: ROM disable (0 = disable)
int new_paging_flags = ((control & 0x02) ? 0 : BASICDisable) | ((control & 0x80) ? 0 : MicrodscDisable); int new_paging_flags = ((control & 0x02) ? BASICDisable : 0) | ((control & 0x80) ? 0 : MicrodscDisable);
if(new_paging_flags != paging_flags_) if(new_paging_flags != paging_flags_)
{ {
paging_flags_ = new_paging_flags; paging_flags_ = new_paging_flags;