mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
At least added a fast return.
This commit is contained in:
parent
57c5b38a6d
commit
911ee5a0d3
@ -353,6 +353,19 @@ class CRTCBusHandler {
|
|||||||
|
|
||||||
void patch_mode_table(int pen) {
|
void patch_mode_table(int pen) {
|
||||||
// TODO: patch, don't rebuild.
|
// TODO: patch, don't rebuild.
|
||||||
|
switch(mode_) {
|
||||||
|
case 0:
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
if(pen > 3) return;
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
if(pen > 1) return;
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
if(pen > 3) return;
|
||||||
|
break;
|
||||||
|
}
|
||||||
build_mode_table();
|
build_mode_table();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user