graphos GO1/GO2 files are 16 colors = 4bpp

This commit is contained in:
Thomas Bernard 2019-12-21 21:23:54 +01:00
parent 24a09c1569
commit e84b186794
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -723,7 +723,7 @@ void Load_GOS(T_IO_Context* context)
else else
file_size = File_length_file(file); file_size = File_length_file(file);
Pre_load(context, 192, 272, file_size, FORMAT_GOS, PIXEL_WIDE, 0); Pre_load(context, 192, 272, file_size, FORMAT_GOS, PIXEL_WIDE, 4);
// load pixels // load pixels
pixel_data = GFX2_malloc(16384); pixel_data = GFX2_malloc(16384);