shithub: rgbds

Download patch

ref: ed3e35e6289e04ae485170bb96c8a7c8ca6c47fc
parent: 290c65e9b2cbe915a3f30463584544e6f78c4b85
author: anthony <[email protected]>
date: Tue Jan 5 09:01:32 EST 2010

set default fillchar for rgbasm to 0, not random

--- a/src/asm/main.c
+++ b/src/asm/main.c
@@ -300,8 +300,7 @@
 	DefaultOptions.gbgfx[3] = '3';
 	DefaultOptions.binary[0] = '0';
 	DefaultOptions.binary[1] = '1';
-	DefaultOptions.fillchar = -1;
-	//fill uninitialised data with random values
+	DefaultOptions.fillchar = 0; // -1 => fill uninitialized data with random values
 	    opt_SetCurrentOptions(&DefaultOptions);
 
 	while (argv[argn][0] == '-' && argc) {