From 6be54e5b74398afe23946da5dfa1b38d3a22cca6 Mon Sep 17 00:00:00 2001 From: Vladyslav Hrytsenko Date: Sun, 22 Oct 2023 19:48:29 +0300 Subject: [PATCH] added fix for osx caching --- engine/split/v4k_file.c | 2 +- engine/v4k.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/split/v4k_file.c b/engine/split/v4k_file.c index c7fee00..79f8630 100644 --- a/engine/split/v4k_file.c +++ b/engine/split/v4k_file.c @@ -841,7 +841,7 @@ if( found && *found == 0 ) { } // search (cache) - if( !ptr ) { + if( !ptr && ! is(osx) ) { ptr = cache_lookup(lookup_id, &size); } diff --git a/engine/v4k.c b/engine/v4k.c index 25da05a..90f6138 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -5815,7 +5815,7 @@ if( found && *found == 0 ) { } // search (cache) - if( !ptr ) { + if( !ptr && ! is(osx) ) { ptr = cache_lookup(lookup_id, &size); }