summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-30 01:25:20 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-30 01:25:20 +0000
commit6a2461da8d474a994a69c9b1f7cc9de8afdc3015 (patch)
tree6ceb8ea6a1afb7dbb18e1e070080ca245c6542ea
parent9bc07e8d8f20a81b2afbff63cf287e5a2ec3b4c8 (diff)
downloadnetsurf-6a2461da8d474a994a69c9b1f7cc9de8afdc3015.tar.gz
netsurf-6a2461da8d474a994a69c9b1f7cc9de8afdc3015.tar.bz2
Enable the async write process to be disabled for testing purposes
-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,