summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2019-08-20 22:10:59 +0200
committer yz70s <yz70s@users.noreply.github.com>2019-08-20 22:12:04 +0200
commit5284e44ee2f0e37a0b8b2c209c53167d3b7d563d (patch)
treeafa874243a46560592fe2814895b71b12427fccf
parent3852fa37cff1f8da62cf213683235fb33aca5bf8 (diff)
Remove wrong warning about uninitialized variable (nw)
-rw-r--r--src/devices/bus/isa/s3virge.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/bus/isa/s3virge.cpp b/src/devices/bus/isa/s3virge.cpp
index ec5ac81c8c0..46a35ff752d 100644
--- a/src/devices/bus/isa/s3virge.cpp
+++ b/src/devices/bus/isa/s3virge.cpp
@@ -248,6 +248,7 @@ uint8_t s3virge_vga_device::s3_crtc_reg_read(uint8_t index)
switch(s3virge.linear_address_size & 0x03)
{
case 0: // 64kB
+ default:
res = (s3virge.linear_address & 0x00ff0000) >> 16;
break;
case 1: // 1MB