X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=sect.h;h=fb1db431438e5c43ae28f8ab8e41364ce066ebbf;hp=84ad789c9456c931e14573cbff248b477c3ce136;hb=29fa5dcf504b966803063a1c2891f58f97126d04;hpb=bdbf34766f4d074a5933eb1326fe4ce03d249e10 diff --git a/sect.h b/sect.h index 84ad789..fb1db43 100644 --- a/sect.h +++ b/sect.h @@ -54,7 +54,9 @@ #define D_ZEROFILL(n) {chcheck(n); memset(chptr, 0, n); chptr+=n; sloc+=n; \ ch_size+=n; if (orgactive) orgaddr+=n;} -#define NSECTS 16 // Max. number of sections +//OK, this is bad, mmkay? The constants defined in rmac.h are used as indices into an array which means that this was never meant to be defined this way--at least if it was, it was a compromise that has come home to bite us all in the ass. !!! FIX !!! +//#define NSECTS 16 // Max. number of sections +#define NSECTS 256 // Max. number of sections // Tunable (storage) definitions #define CH_THRESHOLD 32 // Minimum amount of space in code chunk