diff options
| author | 2023-07-21 19:22:14 -0400 | |
|---|---|---|
| committer | 2023-07-21 19:22:14 -0400 | |
| commit | 4bee333d847783582f94b5212cb7641e0936dc4c (patch) | |
| tree | b7ac3b4f1c89eafd006fcfd52f487cda60c5cf05 /src/android | |
| parent | Merge pull request #11123 from Morph1984/remove-mem-hungry-opts (diff) | |
| download | yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.gz yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.xz yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.zip | |
general: reduce use of dynamic_cast
Diffstat (limited to 'src/android')
| -rw-r--r-- | src/android/app/src/main/jni/native.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index 8bc6a4a04..c23b2f19e 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp | |||
| @@ -449,7 +449,7 @@ private: | |||
| 449 | loader->ReadTitle(entry.title); | 449 | loader->ReadTitle(entry.title); |
| 450 | loader->ReadIcon(entry.icon); | 450 | loader->ReadIcon(entry.icon); |
| 451 | if (loader->GetFileType() == Loader::FileType::NRO) { | 451 | if (loader->GetFileType() == Loader::FileType::NRO) { |
| 452 | jauto loader_nro = dynamic_cast<Loader::AppLoader_NRO*>(loader.get()); | 452 | jauto loader_nro = reinterpret_cast<Loader::AppLoader_NRO*>(loader.get()); |
| 453 | entry.isHomebrew = loader_nro->IsHomebrew(); | 453 | entry.isHomebrew = loader_nro->IsHomebrew(); |
| 454 | } else { | 454 | } else { |
| 455 | entry.isHomebrew = false; | 455 | entry.isHomebrew = false; |