From 5284e44ee2f0e37a0b8b2c209c53167d3b7d563d Mon Sep 17 00:00:00 2001 From: yz70s Date: Tue, 20 Aug 2019 22:10:59 +0200 Subject: [PATCH] Remove wrong warning about uninitialized variable (nw) --- src/devices/bus/isa/s3virge.cpp | 1 + 1 file changed, 1 insertion(+) 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