1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

At least added a fast return.

This commit is contained in:
Thomas Harte 2017-08-19 22:22:51 -04:00
parent 57c5b38a6d
commit 911ee5a0d3

View File

@ -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();
} }