summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainAndroid.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-12-07 10:13:25 +0100
committerJosJuice <josjuice@gmail.com>2015-12-08 12:37:51 +0100
commita27610ff17577aa6333e52c2b40157925aa207eb (patch)
tree3fa945b8baa0c7c3dc141593681b8fa2e21c9b44 /Source/Core/DolphinWX/MainAndroid.cpp
parent49cd777fce9b11ea4e4a3ed3bade8bed2396e2f4 (diff)
MainAndroid: Fix size logging
Diffstat (limited to 'Source/Core/DolphinWX/MainAndroid.cpp')
-rw-r--r--Source/Core/DolphinWX/MainAndroid.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/MainAndroid.cpp b/Source/Core/DolphinWX/MainAndroid.cpp
index 42f3c93256..1612c0ba92 100644
--- a/Source/Core/DolphinWX/MainAndroid.cpp
+++ b/Source/Core/DolphinWX/MainAndroid.cpp
@@ -2,6 +2,7 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
+#include <cinttypes>
#include <cstdio>
#include <cstdlib>
#include <jni.h>
@@ -9,14 +10,16 @@
#include <android/log.h>
#include <android/native_window_jni.h>
#include <EGL/egl.h>
-#include "../DiscIO/Volume.h"
+
#include "Android/ButtonManager.h"
+
#include "Common/CommonPaths.h"
#include "Common/CommonTypes.h"
#include "Common/CPUDetect.h"
#include "Common/Event.h"
#include "Common/FileUtil.h"
#include "Common/Logging/LogManager.h"
+
#include "Core/BootManager.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
@@ -27,6 +30,7 @@
#include "Core/PowerPC/PowerPC.h"
#include "Core/PowerPC/Profiler.h"
+#include "DiscIO/Volume.h"
#include "DiscIO/VolumeCreator.h"
#include "UICommon/UICommon.h"
@@ -327,7 +331,9 @@ static u64 GetFileSize(std::string filename)
if (volume == nullptr)
return -1;
- return volume->GetSize();
+ u64 size = volume->GetSize();
+ __android_log_print(ANDROID_LOG_INFO, DOLPHIN_TAG, "Size: %" PRIu64, size);
+ return size;
}
static std::string GetJString(JNIEnv *env, jstring jstr)