mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
small cleanup (nw)
This commit is contained in:
parent
f86fdb70d7
commit
da231b40e7
@ -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"
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user