mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Use UICommon's game list code on Android
Deduplicates code, and gets rid of some problems the old code had (such as: bad performance when calling native functions, only one disc showing up for multi-disc games, Wii banners being low-res, unnecessarily much effort being needed for adding more metadata).
This commit is contained in:
23
Source/Android/jni/AndroidCommon/IDCache.h
Normal file
23
Source/Android/jni/AndroidCommon/IDCache.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright 2018 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
namespace IDCache
|
||||
{
|
||||
JavaVM* GetJavaVM();
|
||||
|
||||
jclass GetNativeLibraryClass();
|
||||
jmethodID GetDisplayAlertMsg();
|
||||
|
||||
jclass GetGameFileClass();
|
||||
jfieldID GetGameFilePointer();
|
||||
jmethodID GetGameFileConstructor();
|
||||
|
||||
jclass GetGameFileCacheClass();
|
||||
jfieldID GetGameFileCachePointer();
|
||||
|
||||
} // namespace IDCache
|
Reference in New Issue
Block a user