1
0
mirror of https://github.com/mist64/perfect6502.git synced 2024-12-27 20:29:43 +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

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;