general: reduce use of dynamic_cast
This commit is contained in:
parent
efda6cc9ec
commit
4bee333d84
4 changed files with 13 additions and 2 deletions
|
@ -449,7 +449,7 @@ private:
|
|||
loader->ReadTitle(entry.title);
|
||||
loader->ReadIcon(entry.icon);
|
||||
if (loader->GetFileType() == Loader::FileType::NRO) {
|
||||
jauto loader_nro = dynamic_cast<Loader::AppLoader_NRO*>(loader.get());
|
||||
jauto loader_nro = reinterpret_cast<Loader::AppLoader_NRO*>(loader.get());
|
||||
entry.isHomebrew = loader_nro->IsHomebrew();
|
||||
} else {
|
||||
entry.isHomebrew = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue