]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_ca.c
fat flag added for massive files
[16.git] / src / lib / 16_ca.c
index 0505972441967ccaf4ef38b4a881f1758ce1af4f..49f9c1be75ee243e3749ae347597f477d14bc57f 100644 (file)
@@ -216,11 +216,12 @@ void CAL_GetGrChunkLength (int chunk)
 ==========================\r
 */\r
 \r
-boolean CA_FarRead (int handle, byte far *dest, dword length)\r
+boolean CA_FarRead (int handle, byte huge *dest, dword length)\r
 {\r
        boolean flag;\r
-       if (length>0xffffl)\r
-               printf("CA_FarRead doesn't support 64K reads yet!\n");\r
+       boolean fat;\r
+       if (length>0xffffl) fat=true;\r
+//             printf("CA_FarRead doesn't support 64K reads yet!\n");\r
 \r
        __asm\r
        {\r
@@ -260,11 +261,12 @@ End:
 ==========================\r
 */\r
 \r
-boolean CA_FarWrite (int handle, byte far *source, dword length)\r
+boolean CA_FarWrite (int handle, byte huge *source, dword length)\r
 {\r
        boolean flag;\r
-       if (length>0xffffl)\r
-               printf("CA_FarWrite doesn't support 64K reads yet!\n");\r
+       boolean fat;\r
+       if (length>0xffffl) fat=true;\r
+//             printf("CA_FarWrite doesn't support 64K reads yet!\n");\r
 \r
        __asm\r
        {\r