X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_hc.c;h=271f4c1a059d94fa835b78e460a1eea5073542b3;hb=6021fc3f27b895d382fbd30488ead35657e39196;hp=ede6a32f8bae1ec095c2ed920b59d0d27faf2303;hpb=f9607f9543081d70c40ef4c91991ea316d9166bb;p=16.git diff --git a/src/lib/16_hc.c b/src/lib/16_hc.c index ede6a32f..271f4c1a 100755 --- a/src/lib/16_hc.c +++ b/src/lib/16_hc.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -52,10 +52,10 @@ long HC_Newfarcoreleft() #endif //from: https://stackoverflow.com/questions/14386856/c-check-available-ram -void __near* HC_LargestFreeBlock(size_t* Size) +void NPTR* HC_LargestFreeBlock(size_t* Size) { size_t s0, s1; - void __near* p; + void NPTR* p; s0 = ~(size_t)0 ^ (~(size_t)0 >> 1); while (s0 && (p = _nmalloc(s0)) == NULL) @@ -552,7 +552,8 @@ dword farcoreleft() // #endif #if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__) -//---- return 0x90000UL+16UL; +//---- + return 0x90000UL+16UL; //---- return 589824UL+16UL; #else //++++