]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_hc.c
updated the copyleft wwww i am not deAD! i just been 2 busy last 6 monthes
[16.git] / src / lib / 16_hc.c
index ede6a32f8bae1ec095c2ed920b59d0d27faf2303..271f4c1a059d94fa835b78e460a1eea5073542b3 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -52,10 +52,10 @@ long HC_Newfarcoreleft()
 #endif\r
 \r
 //from: https://stackoverflow.com/questions/14386856/c-check-available-ram\r
-void __near* HC_LargestFreeBlock(size_t* Size)\r
+void NPTR* HC_LargestFreeBlock(size_t* Size)\r
 {\r
        size_t s0, s1;\r
-       void __near* p;\r
+       void NPTR* p;\r
 \r
        s0 = ~(size_t)0 ^ (~(size_t)0 >> 1);\r
        while (s0 && (p = _nmalloc(s0)) == NULL)\r
@@ -552,7 +552,8 @@ dword farcoreleft()
 // #endif\r
 \r
 #if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__)\r
-//---- return 0x90000UL+16UL;\r
+//----\r
+       return 0x90000UL+16UL;\r
 //---- return 589824UL+16UL;\r
 #else\r
 //++++\r