[rott-commits] r286 - trunk/rott
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Feb 24 12:09:53 EST 2015
Author: fabian
Date: 2015-02-24 12:09:53 -0500 (Tue, 24 Feb 2015)
New Revision: 286
Modified:
trunk/rott/rt_draw.c
Log:
fix erroneously calculated size parameter for memcpy() operations
fixes memory corruption in 320x200 resolution during the credits screen
Thanks Marc-Alexandre Espiaut
Modified: trunk/rott/rt_draw.c
===================================================================
--- trunk/rott/rt_draw.c 2015-02-24 16:37:06 UTC (rev 285)
+++ trunk/rott/rt_draw.c 2015-02-24 17:09:53 UTC (rev 286)
@@ -4114,7 +4114,7 @@
// int plane;
int size;
- size=linewidth*400;
+ size=linewidth*200;
#ifdef DOS
for (plane=0;plane<4;plane++)
@@ -4138,7 +4138,7 @@
// int plane;
int size;
- size=linewidth*400;
+ size=linewidth*200;
#ifdef DOS
for (plane=0;plane<4;plane++)
More information about the rott-commits
mailing list