UINT32 interact_state::screen_update_interact(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { UINT8 *videoram = m_videoram; screen.set_visible_area(0, 113, 0, 75); hector_hr(bitmap, videoram, 77, 32); return 0; }
static SCREEN_UPDATE( interact ) { interact_state *state = screen->machine().driver_data<interact_state>(); UINT8 *videoram = state->m_videoram; screen->set_visible_area(0, 113, 0, 75); hector_hr( screen->machine(), bitmap, videoram, 77, 32); return 0; }
UINT32 hec2hrp_state::screen_update_hec2hrp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { UINT8 *videoram = m_videoram; UINT8 *videoram_HR = m_hector_videoram; if (m_hector_flag_hr==1) { if (m_hector_flag_80c==0) { screen.set_visible_area(0, 243, 0, 227); hector_hr(bitmap , &videoram_HR[0], 227, 64); } else { screen.set_visible_area(0, 243*2, 0, 227); hector_80c(bitmap , &videoram_HR[0], 227, 64); } } else { screen.set_visible_area(0, 113, 0, 75); hector_hr(bitmap, videoram, 77, 32); } return 0; }