mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
My version of the compile fix
This commit is contained in:
parent
5e58f75109
commit
bffe58b498
@ -381,7 +381,7 @@ void vga_device::vga_vh_ega(bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
int height = vga.crtc.maximum_scan_line * (vga.crtc.scan_doubling + 1);
|
||||
UINT32 *bitmapline;
|
||||
pen_t pen;
|
||||
int pel_shift = (vga.attribute.pel_shift);
|
||||
int pel_shift = (vga.attribute.pel_shift & 7);
|
||||
|
||||
// popmessage("%08x %02x",EGA_START_ADDRESS,pel_shift);
|
||||
|
||||
|
@ -137,7 +137,7 @@ protected:
|
||||
bool m_g7400;
|
||||
|
||||
inline UINT16 ef9340_get_c_addr(UINT8 x, UINT8 y);
|
||||
//inline UINT16 ef9340_get_c_addr() { return ef9340_get_c_addr( m_ef9340.X, m_ef9340.Y ); };
|
||||
// inline UINT16 ef9340_get_c_addr() { return ef9340_get_c_addr( m_ef9340.X, m_ef9340.Y ); };
|
||||
inline void ef9340_inc_c();
|
||||
// Calculate the external chargen address for a character and slice
|
||||
inline UINT16 external_chargen_address(UINT8 b, UINT8 slice);
|
||||
|
@ -808,7 +808,7 @@ void odyssey2_state::ef9341_w( UINT8 command, UINT8 b, UINT8 data )
|
||||
{
|
||||
if ( b )
|
||||
{
|
||||
UINT16 addr = ef9340_get_c_addr() & 0x3ff;
|
||||
UINT16 addr = ef9340_get_c_addr( m_ef9340.X, m_ef9340.Y ) & 0x3ff;
|
||||
|
||||
m_ef9341.TB = data;
|
||||
m_ef9341.busy = 0x80;
|
||||
|
Loading…
Reference in New Issue
Block a user