summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/lphaser.cpp
diff options
context:
space:
mode:
author Enik Land <enikland@gmx.com>2019-07-02 20:51:24 -0300
committer Enik Land <enikland@gmx.com>2019-07-02 20:51:24 -0300
commit2a664c1f23140acc85e2e837da32dabe404f32f3 (patch)
treee09337d13bd1fe3ca36ac8b0cf673d78b86ea570 /src/devices/bus/sms_ctrl/lphaser.cpp
parentb1dff791ed66f114f3b8d63c156d8f16f06c0f0c (diff)
nes, sms: Fix light gun regression
Diffstat (limited to 'src/devices/bus/sms_ctrl/lphaser.cpp')
-rw-r--r--src/devices/bus/sms_ctrl/lphaser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/bus/sms_ctrl/lphaser.cpp b/src/devices/bus/sms_ctrl/lphaser.cpp
index a728930f50e..261f6b13504 100644
--- a/src/devices/bus/sms_ctrl/lphaser.cpp
+++ b/src/devices/bus/sms_ctrl/lphaser.cpp
@@ -231,6 +231,7 @@ int sms_light_phaser_device::bright_aim_area( emu_timer *timer, int lgun_x, int
/* brightness of the lightgray color in the frame drawn by Light Phaser games */
const uint8_t sensor_min_brightness = 0x7f;
+ screen().update_now();
color = screen().pixel(beam_x, beam_y);
/* reference: http://www.w3.org/TR/AERT#color-contrast */