summaryrefslogtreecommitdiff
path: root/amiga/fs_backing_store.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/fs_backing_store.c')
-rw-r--r--amiga/fs_backing_store.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/fs_backing_store.c b/amiga/fs_backing_store.c
index b2c73479f..2eee04bf7 100644
--- a/amiga/fs_backing_store.c
+++ b/amiga/fs_backing_store.c
@@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/* Uncomment the below to disable the async write process */
+//#define NSA_NO_ASYNC_STORE 1
+
#include <proto/dos.h>
#include <proto/exec.h>
@@ -88,7 +91,11 @@ ami_backing_store_store(nsurl *url,
static struct gui_llcache_table amiga_llcache_table = {
.initialise = initialise,
.finalise = finalise,
+#ifdef NSA_NO_ASYNC_STORE
+ .store = store,
+#else
.store = ami_backing_store_store,
+#endif
.fetch = fetch,
.invalidate = invalidate,
.release = release,