mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
reset flag less agressively
This commit is contained in:
parent
afa33a4710
commit
027b113cd4
@ -953,8 +953,9 @@ export class VideoModes2D implements VideoModes {
|
|||||||
text(on: boolean) {
|
text(on: boolean) {
|
||||||
const old = textMode;
|
const old = textMode;
|
||||||
textMode = on;
|
textMode = on;
|
||||||
this._flag = 0;
|
if (on) {
|
||||||
|
this._flag = 0;
|
||||||
|
}
|
||||||
if (old != on) {
|
if (old != on) {
|
||||||
this._refresh();
|
this._refresh();
|
||||||
}
|
}
|
||||||
@ -984,7 +985,9 @@ export class VideoModes2D implements VideoModes {
|
|||||||
hires(on: boolean) {
|
hires(on: boolean) {
|
||||||
const old = hiresMode;
|
const old = hiresMode;
|
||||||
hiresMode = on;
|
hiresMode = on;
|
||||||
this._flag = 0;
|
if (!on) {
|
||||||
|
this._flag = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (old != on) {
|
if (old != on) {
|
||||||
this._refresh();
|
this._refresh();
|
||||||
|
Loading…
Reference in New Issue
Block a user