crash prevention
This commit is contained in:
parent
645e65eb15
commit
5ee3ec0e24
|
@ -597,6 +597,7 @@ void palette_sync(int index, int force)
|
|||
|
||||
void remap_8_to_16(int line)
|
||||
{
|
||||
if (line > nScreenHeight) return;
|
||||
int i;
|
||||
uint16 *p = (uint16 *)&bitmap.data[(line * bitmap.pitch)];
|
||||
for(i = bitmap.viewport.x; i < bitmap.viewport.w + bitmap.viewport.x; i++)
|
||||
|
|
Loading…
Reference in New Issue