diff --git a/Makefile b/Makefile index f20a19f..da0abb4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -OPT = -Os +OPT = -O3 all: cartridge.bin diff --git a/arm9/examples/ulala.c b/arm9/examples/ulala.c index 2b11f66..9f0c9bb 100644 --- a/arm9/examples/ulala.c +++ b/arm9/examples/ulala.c @@ -461,8 +461,8 @@ void main() while (io_registers.a.GXSTAT & GXSTAT__geometry_engine_busy); // wait for the end of the current frame - while (io_registers.a.VCOUNT != 262); - while (io_registers.a.VCOUNT == 262); + //while (io_registers.a.VCOUNT != 262); + //while (io_registers.a.VCOUNT == 262); // swap buffers io_registers.a.SWAP_BUFFERS = 0; diff --git a/gen/color_convert.py b/gen/color_convert.py index c70fde2..13924da 100644 --- a/gen/color_convert.py +++ b/gen/color_convert.py @@ -66,7 +66,27 @@ if palette is None: convert_colors(f, pixels) else: with open(out_file, 'wb') as f: - for pixel in pixels: - f.write(struct.pack("