Merge pull request #6358 from cam900/patch-133

gstream.cpp : Add notes of limitation
This commit is contained in:
ajrhacker 2020-02-24 11:19:50 -05:00 committed by GitHub
commit 53250a489d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -781,10 +781,10 @@ uint32_t gstream_state::screen_update(screen_device &screen, bitmap_rgb32 &bitma
draw_bg(bitmap, cliprect, 0, m_vram + 0x000/4); // move on top for x2222 , check
int clk = 0;
int clk_max = 432 * 262; // TODO : measure screen size, related to that?
int clk_max = 432 * 262; // total usable cycle count for sprites; TODO : measure screen size, related to that?
for (i = 0x0000 / 4; i < 0x4000 / 4; i += 4) // can't be drawable everything
{
clk += 8+128;
clk += 8+128; // uses 8 cycle per RAM, 128 cycle per drawing tile
if (clk >= clk_max)
break;