mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
apple/apple2video.cpp: Don't try and do double-hires or lores on a 64K system. (Github #13111) [R. Belmont, tomcw]
This commit is contained in:
parent
06069b4a07
commit
36db9effad
@ -971,7 +971,7 @@ uint32_t a2_video_device::screen_update(screen_device &screen, bitmap_ind16 &bit
|
||||
|
||||
if (m_hires)
|
||||
{
|
||||
if ((Model == model::IIE || Model == model::IIGS) && m_dhires && m_80col)
|
||||
if ((Model == model::IIE || Model == model::IIGS) && m_dhires && m_80col && m_aux_ptr)
|
||||
{
|
||||
dhgr_update(screen, bitmap, cliprect, 0, text_start_row - 1);
|
||||
}
|
||||
@ -982,7 +982,7 @@ uint32_t a2_video_device::screen_update(screen_device &screen, bitmap_ind16 &bit
|
||||
}
|
||||
else // lo-res
|
||||
{
|
||||
if ((Model == model::IIE || Model == model::IIGS) && m_dhires && m_80col)
|
||||
if ((Model == model::IIE || Model == model::IIGS) && m_dhires && m_80col && m_aux_ptr)
|
||||
{
|
||||
lores_update<true>(screen, bitmap, cliprect, 0, text_start_row - 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user