mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Android: Add Hashmap to IDCache
This commit is contained in:
parent
f8abc2c0e6
commit
cf3e8714eb
4 changed files with 42 additions and 21 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <array>
|
||||
|
||||
#include "AndroidCommon/AndroidCommon.h"
|
||||
#include "AndroidCommon/IDCache.h"
|
||||
#include "Core/IOS/USB/Emulated/Infinity.h"
|
||||
#include "Core/System.h"
|
||||
|
||||
|
@ -20,9 +21,6 @@ Java_org_dolphinemu_dolphinemu_features_infinitybase_InfinityConfig_getFigureMap
|
|||
jobject hash_map_obj = env->NewObject(IDCache::GetHashMapClass(), IDCache::GetHashMapInit(),
|
||||
system.GetInfinityBase().GetFigureList().size());
|
||||
|
||||
jmethodID hash_map_put = env->GetMethodID(
|
||||
hash_map_class, "put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;");
|
||||
|
||||
jclass long_class = env->FindClass("java/lang/Long");
|
||||
jmethodID long_init = env->GetMethodID(long_class, "<init>", "(J)V");
|
||||
|
||||
|
@ -47,9 +45,6 @@ Java_org_dolphinemu_dolphinemu_features_infinitybase_InfinityConfig_getInverseFi
|
|||
jobject hash_map_obj = env->NewObject(IDCache::GetHashMapClass(), IDCache::GetHashMapInit(),
|
||||
system.GetInfinityBase().GetFigureList().size());
|
||||
|
||||
jmethodID hash_map_put = env->GetMethodID(
|
||||
hash_map_class, "put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;");
|
||||
|
||||
jclass long_class = env->FindClass("java/lang/Long");
|
||||
jmethodID long_init = env->GetMethodID(long_class, "<init>", "(J)V");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue