~rabbits/moogle

1772bbb97ab6fba1b6766e87ebd77ffc3a1f94dd — neauoire 3 months ago 4a1e4c5 main
Invert icn export data
1 files changed, 1 insertions(+), 1 deletions(-)

M src/moogle.c
M src/moogle.c => src/moogle.c +1 -1
@@ 457,7 457,7 @@ export_icn(Uint32 *src, int width, int height, char *filename)
	for(y = 0; y < height; y++) {
		for(x = 0; x <= width; x++) {
			int color = getpixel(src, x, y);
			if(color) {
			if(!color) {
				int col = x & 7, row = y & 7;
				int byte = (x & ~7) + (y & ~7) * width / 8 + row;
				if(byte < SZ)