]> 4ch.mooo.com Git - 16.git/blobdiff - 16/src/lib/bitmap.c
p16 is being worked on a bunch by me wwww [16_ca needs huge amounts of work and I...
[16.git] / 16 / src / lib / bitmap.c
index 22bad98103086b9a36e7a7af57c700f448aebcd7..4e48cab20ab58206683d0e6c765e0910a236d52b 100755 (executable)
@@ -23,7 +23,7 @@
 #include <stdio.h>\r
 #include <stdlib.h>\r
 #include <malloc.h>\r
-#include "src/lib/bitmap.h"\r
+#include "16/src/lib/bitmap.h"\r
 #include "src/lib/16_mm.h"\r
 #include "src/lib/16_pm.h"\r
 #include "src/lib/16_ca.h"\r
@@ -77,7 +77,7 @@ static void loadPcxPalette(FILE *file, bitmap_t *result) {
        /* handle the palette */\r
        fseek(file, -769, SEEK_END);\r
        val = fgetc(file);\r
-       result->palette = modexNewPal();\r
+       result->palette = omodexNewPal();\r
        if(head.version == 5 && val == 12) {\r
        /* use the vga palette */\r
        for(index=0; !feof(file) && index < PAL_SIZE; index++) {\r