mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-28 04:08:43 +00:00
Merge pull request #8313 from JosJuice/gamelist-xml
GameFile: Support HBC-style XML metadata
This commit is contained in:
commit
08b191ee8e
9 changed files with 125 additions and 19 deletions
|
@ -84,13 +84,15 @@ JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getPlatform
|
|||
JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getTitle(JNIEnv* env,
|
||||
jobject obj)
|
||||
{
|
||||
return ToJString(env, GetRef(env, obj)->GetName());
|
||||
return ToJString(env,
|
||||
GetRef(env, obj)->GetName(UICommon::GameFile::Variant::LongAndPossiblyCustom));
|
||||
}
|
||||
|
||||
JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getDescription(JNIEnv* env,
|
||||
jobject obj)
|
||||
{
|
||||
return ToJString(env, GetRef(env, obj)->GetDescription());
|
||||
return ToJString(
|
||||
env, GetRef(env, obj)->GetDescription(UICommon::GameFile::Variant::LongAndPossiblyCustom));
|
||||
}
|
||||
|
||||
JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getCompany(JNIEnv* env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue