Android: Implement an SQLite database-based game library.

This commit is contained in:
Eder Bastos
2015-05-17 18:12:11 -04:00
parent 4f6a5e0293
commit 3e5e352fee
13 changed files with 533 additions and 168 deletions

View File

@ -21,7 +21,7 @@
#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"
@ -43,7 +43,6 @@
#include "VideoCommon/OnScreenDisplay.h"
#include "VideoCommon/VideoBackendBase.h"
#include "../DiscIO/Volume.h"
ANativeWindow* surf;
std::string g_filename;
@ -329,7 +328,8 @@ static u64 GetFileSize(std::string filename)
if (pVolume != nullptr)
{
u64 size = pVolume->GetSize();
__android_log_print(ANDROID_LOG_INFO, DOLPHIN_TAG, "Size: %lu", size);
// Causes a warning because size is u64, not 'long unsigned'
//__android_log_print(ANDROID_LOG_INFO, DOLPHIN_TAG, "Size: %lu", size);
return size;
}