summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2020-09-29 15:36:19 +0200
committerGravatarGravatar GitHub <noreply@github.com>2020-09-29 15:36:19 +0200
commitc2c22491ef063c533f9c915228aa18fe4c06feaf (patch)
treed61f96ace9e560244f7d2fb2b5ae7b7fe4d9ac23
parent9c36ee3d9db6fccb0fa93e64af8ff2b9fc79fcf9 (diff)
video/apple2e.cpp: initialized variable which caused the drivers to start sometimes in color and sometimes in monochrome mode, now that the framework doesn't initialize everything by default
-rw-r--r--src/mame/video/apple2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/video/apple2.cpp b/src/mame/video/apple2.cpp
index b69561e2331..65c50741d7f 100644
--- a/src/mame/video/apple2.cpp
+++ b/src/mame/video/apple2.cpp
@@ -138,6 +138,7 @@ void a2_video_device::device_reset()
m_monohgr = false;
m_newvideo = 0x01;
m_rgbmode = 3; // default to color DHGR
+ m_monochrome = 0; // TODO: never set, but if left uninitialized could cause the emulation to start in monochrome by accident. Default to color for now
}
WRITE_LINE_MEMBER(a2_video_device::txt_w)