summaryrefslogtreecommitdiff
path: root/Source/Android/jni/GameList/GameFile.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-10-02 11:09:36 +0200
committerJosJuice <josjuice@gmail.com>2021-10-02 11:09:36 +0200
commit9bb85ca70619f08d9349f798f9c204c08df5b2d9 (patch)
treedd52f4215e053f7a50e2529dd7cadca309bee01f /Source/Android/jni/GameList/GameFile.cpp
parentbb367394cfd3a07c981b843418ff227ac1d9e2ba (diff)
DolphinQt/Android: Add warning when converting NKit files
Yes, that's right! It's time to add even more NKit warnings, because users still don't understand what NKit is or how it works! More specifically, some users seem to be under the impression that converting an NKit file to for instance RVZ using Dolphin's convert feature will result in a normal RVZ file, when it in fact results in an NKit RVZ file (since NKit is not a container format in the sense that GCZ/WIA/RVZ/WBFS/CISO is, but rather a kind of trimmed ISO). I can hardly blame users for not knowing this, because it's not intuitive unless you know the technical details of how NKit works.
Diffstat (limited to 'Source/Android/jni/GameList/GameFile.cpp')
-rw-r--r--Source/Android/jni/GameList/GameFile.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Android/jni/GameList/GameFile.cpp b/Source/Android/jni/GameList/GameFile.cpp
index 5cc3d6c391..e62052966d 100644
--- a/Source/Android/jni/GameList/GameFile.cpp
+++ b/Source/Android/jni/GameList/GameFile.cpp
@@ -162,6 +162,12 @@ JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_isDatel
return static_cast<jboolean>(GetRef(env, obj)->IsDatelDisc());
}
+JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_isNKit(JNIEnv* env,
+ jobject obj)
+{
+ return static_cast<jboolean>(GetRef(env, obj)->IsNKit());
+}
+
JNIEXPORT jintArray JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getBanner(JNIEnv* env,
jobject obj)
{