epos.cpp: added flip screen support [Angelo Sslese]

This commit is contained in:
angelosa 2017-05-12 03:14:20 +02:00
parent 27e82a07f5
commit 38d401dd6e
2 changed files with 11 additions and 9 deletions

View File

@ -776,7 +776,7 @@ GAME( 1983, theglob, suprglob, epos, suprglob, driver_device, 0, ROT270
GAME( 1983, theglob2, suprglob, epos, suprglob, driver_device, 0, ROT270, "Epos Corporation", "The Glob (earlier)", MACHINE_SUPPORTS_SAVE )
GAME( 1983, theglob3, suprglob, epos, suprglob, driver_device, 0, ROT270, "Epos Corporation", "The Glob (set 3)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, igmo, 0, epos, igmo, driver_device, 0, ROT270, "Epos Corporation", "IGMO", MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE )
GAME( 1984, dealer, 0, dealer, dealer, epos_state, dealer, ROT270, "Epos Corporation", "The Dealer", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE )
GAME( 1984, revngr84, 0, dealer, beastf, epos_state, dealer, ROT270, "Epos Corporation", "Revenger '84 (set 1)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE )
GAME( 1984, revenger, revngr84, dealer, beastf, epos_state, dealer, ROT270, "Epos Corporation", "Revenger '84 (set 2)", MACHINE_NOT_WORKING | MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE )
GAME( 1984, beastf, suprglob, dealer, beastf, epos_state, dealer, ROT270, "Epos Corporation", "Beastie Feastie", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE )
GAME( 1984, dealer, 0, dealer, dealer, epos_state, dealer, ROT270, "Epos Corporation", "The Dealer", MACHINE_SUPPORTS_SAVE )
GAME( 1984, revngr84, 0, dealer, beastf, epos_state, dealer, ROT270, "Epos Corporation", "Revenger '84 (set 1)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, revenger, revngr84, dealer, beastf, epos_state, dealer, ROT270, "Epos Corporation", "Revenger '84 (set 2)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE )
GAME( 1984, beastf, suprglob, dealer, beastf, epos_state, dealer, ROT270, "Epos Corporation", "Beastie Feastie", MACHINE_SUPPORTS_SAVE )

View File

@ -99,12 +99,14 @@ uint32_t epos_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap,
if (flip_screen())
{
x = 270 - x; // wrong
y = 240 - y; // wrong
bitmap.pix32(240 - y, 270 - x + 1) = m_palette->pen((m_palette_bank << 4) | (data & 0x0f));
bitmap.pix32(240 - y, 270 - x + 0) = m_palette->pen((m_palette_bank << 4) | (data >> 4));
}
else
{
bitmap.pix32(y, x + 0) = m_palette->pen((m_palette_bank << 4) | (data & 0x0f));
bitmap.pix32(y, x + 1) = m_palette->pen((m_palette_bank << 4) | (data >> 4));
}
bitmap.pix32(y, x + 0) = m_palette->pen((m_palette_bank << 4) | (data & 0x0f));
bitmap.pix32(y, x + 1) = m_palette->pen((m_palette_bank << 4) | (data >> 4));
}
return 0;