mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
skeleton/bitgraph.cpp: Simplify screen update routine a little more
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
Build documentation / build-docs (push) Has been cancelled
XML/JSON validation / validate (push) Has been cancelled
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
Build documentation / build-docs (push) Has been cancelled
XML/JSON validation / validate (push) Has been cancelled
This commit is contained in:
parent
cb563f2ef9
commit
defdbf3300
1 changed files with 2 additions and 2 deletions
|
@ -384,9 +384,9 @@ uint32_t bitgraph_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
|
|||
{
|
||||
uint16_t *p = &bitmap.pix(y);
|
||||
|
||||
for (int x = 0; x < 1024 / 8; x += 2)
|
||||
for (int x = 0; x < 1024 / 16; x++)
|
||||
{
|
||||
uint16_t gfx = m_videoram[(x >> 1) | (y << 6)];
|
||||
uint16_t gfx = m_videoram[x | (y << 6)];
|
||||
for (int i = 15; i >= 0; i--)
|
||||
{
|
||||
*p++ = BIT(gfx, i);
|
||||
|
|
Loading…
Reference in a new issue