mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
nubus/nubus_specpdq.cpp: Adjust the drawing offset to match the new CRTC parameter calculation. [R. Belmont]
This commit is contained in:
parent
192dc72cc6
commit
34cb0a7630
@ -38,7 +38,8 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
//#define VERBOSE 1
|
||||
#define VERBOSE 1
|
||||
#define LOG_OUTPUT_FUNC osd_printf_info
|
||||
#include "logmacro.h"
|
||||
|
||||
|
||||
@ -347,7 +348,7 @@ uint32_t nubus_specpdq_device::screen_update(screen_device &screen, bitmap_rgb32
|
||||
{
|
||||
auto const screenbase = util::big_endian_cast<uint8_t const>(&m_vram[0]) + 0x9000;
|
||||
|
||||
int const hstart = m_crtc.h_start(16);
|
||||
int const hstart = (m_crtc.h_start(1) + 3) << 4;
|
||||
int const width = m_crtc.h_active(16);
|
||||
int const vstart = m_crtc.v_start();
|
||||
int const vend = m_crtc.v_end();
|
||||
|
Loading…
Reference in New Issue
Block a user