1
0
mirror of https://github.com/mist64/perfect6502.git synced 2026-04-20 16:16:25 +00:00

moved bitmaps to chars

This commit is contained in:
Michael Steil
2010-09-22 22:49:11 +00:00
parent 197b15cdff
commit 65186a75bd
+4 -2
View File
@@ -122,7 +122,8 @@ printarray(int *array, int count)
int group[NODES];
int groupcount;
int groupbitmap[NODES];
//int groupbitmap[NODES/sizeof(int)];
char groupbitmap[NODES];
BOOL
arrayContains(int el)
@@ -137,13 +138,14 @@ arrayContains(int el)
return NO;
#else
return groupbitmap[el];
// return (groupbitmap[el>>5] >> (el & 31)) & 1;
#endif
}
typedef struct {
int *list;
int count;
int *bitmap;
char *bitmap;
} list_t;
list_t recalc;