Here's screenshot from differents emulator :
Fusion / Regen / my emulator (Glitches)

Gens (OK)

Pico (OK)

Does someone can tell if this glitches appear on real hardware?
Moderator: BigEvilCorporation
Code: Select all
if(xpos != 0) sol_flag = 1;
else if(xpos == 0 && sol_flag) return; /* stop rendering sprites */
Code: Select all
for(count = 0; count < object_index_count; count += 1)
{
xpos = object_info[count].xpos & 0x1ff;
/* sprite masking */
if(xpos != 0) sol_flag = 1;
else if(xpos == 0 && sol_flag) return;
Code: Select all
xpos == 1
Code: Select all
xpos != 0
Code: Select all
if(spr_xpos == 0) spr_mask |= 1;
if(spr_xpos > 0 && spr_xpos < 0x81) spr_mask |= 2;
if(spr_mask == 3) return;
Yes, but according to the docs, if mode two is also enabled then mode 1 becomes invalid.Yes for me too if i increase the value the problem is gone.
Other thing : mickey mania use sprite masking mode 1 so if i stop rendering sprite when x_pos = 0 (according to description of sprite masking mode 1 made by charles) the problem is gone too.