From 7e5386bc62f1f61d3409219292e1ec0d71cbd28e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Dec 2013 20:25:43 +0300 Subject: fix code style. --- src/utils/physfstools.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index 325f7cddc..d44a37666 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -33,13 +33,17 @@ const char *dirSeparator = nullptr; namespace PhysFs { +#if defined(__native_client__) void init(const char *const name) { -#if defined(__native_client__) if (!PHYSFS_init("/fakebinary")) #elif defined(ANDROID) + void init(const char *const name A_UNUSED) + { if (!PHYSFS_init((getRealPath(".").append("/fakebinary")).c_str())) #else + void init(const char *const name) + { if (!PHYSFS_init(name)) #endif { -- cgit v1.2.3-70-g09d2