From 6a2461da8d474a994a69c9b1f7cc9de8afdc3015 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 30 Nov 2014 01:25:20 +0000 Subject: Enable the async write process to be disabled for testing purposes --- amiga/fs_backing_store.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'amiga/fs_backing_store.c') 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 . */ +/* Uncomment the below to disable the async write process */ +//#define NSA_NO_ASYNC_STORE 1 + #include #include @@ -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, -- cgit v1.2.3