small cleanup (nw)

This commit is contained in:
Miodrag Milanovic 2014-03-25 07:36:24 +00:00
parent f86fdb70d7
commit da231b40e7
2 changed files with 1 additions and 4 deletions

View File

@ -35,8 +35,6 @@ More information can be found at http://www.seasip.info/AmstradXT/1640tech/index
#include "machine/pic8259.h"
#include "machine/pit8253.h"
#include "video/pc_vga.h"
#include "video/pc_cga.h"
#include "video/pc_aga.h"
#include "machine/pc_fdc.h"

View File

@ -118,7 +118,7 @@ PALETTE_INIT_MEMBER(hp48_state, hp48)
#define draw_pixel \
state->m_screens[ state->m_cur_screen ][ y ][ xp + 8 ] = (data & 1) ? fg : 0; \
m_screens[ m_cur_screen ][ y ][ xp + 8 ] = (data & 1) ? fg : 0; \
xp++; \
data >>= 1
@ -129,7 +129,6 @@ PALETTE_INIT_MEMBER(hp48_state, hp48)
UINT32 hp48_state::screen_update_hp48(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
hp48_state *state = machine().driver_data<hp48_state>();
address_space &space = m_maincpu->space(AS_PROGRAM);
int x, y, xp, i, addr;
int display = HP48_IO_4(0) >> 3; /* 1=on, 0=off */