Stephane-D / SGDK

SGDK - A free and open development kit for the Sega Mega Drive
https://www.patreon.com/SGDK
MIT License
1.75k stars 187 forks source link

Big value #160

Closed smalcom closed 4 years ago

smalcom commented 4 years ago

https://github.com/Stephane-D/SGDK/blob/6255c53b9efa1f3dad4d9f230ef7fdb3836dc285/src/vdp_bg.c#L158

Must be "while(len--)"?

smalcom commented 4 years ago

I mean insert

i = len;

before "while" for not changing "len" which used in VDP_setTileMapDataRectEx.

Stephane-D commented 4 years ago

Definitely :p Thanks for reporting, will be fixed very soon !