shrink core.zip by removing unneeded icons
This commit is contained in:
@@ -472,7 +472,7 @@ static int rets_SDL_GPUSwapchainComposition[] = {
|
||||
SDL_GPU_SWAPCHAINCOMPOSITION_SDR,
|
||||
SDL_GPU_SWAPCHAINCOMPOSITION_SDR_LINEAR,
|
||||
SDL_GPU_SWAPCHAINCOMPOSITION_HDR_EXTENDED_LINEAR,
|
||||
SDL_GPU_SWAPCHAINCOMPOSITION_HDR10_ST2048
|
||||
SDL_GPU_SWAPCHAINCOMPOSITION_HDR10_ST2084
|
||||
};
|
||||
|
||||
static const char *vals_SDL_GPUSwapchainComposition[] = {
|
||||
@@ -7002,7 +7002,7 @@ JSC_CCALL(os_freemem,
|
||||
if (sysinfo(&info) == 0)
|
||||
return JS_NewInt64(js,(int64_t)info.freeram * info.mem_unit);
|
||||
return JS_NewInt64(js,0);
|
||||
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#elif defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
// A very rough fallback using the same sysconf approach
|
||||
// (macOS or *BSD typically need specialized APIs to get free mem accurately)
|
||||
// This is often only "unused" pages, ignoring caches, etc.
|
||||
|
||||
Reference in New Issue
Block a user