Fix LLE gamepak firmware name lookups (use identifier, not architecture)

This commit is contained in:
byuu 2019-12-11 21:56:29 +09:00
parent d62e3f3362
commit 357d054c19
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ Game::Memory::Memory(Markup::Node node) {
}
auto Game::Memory::name() const -> string {
if(identifier) return string{identifier, ".", content, ".", type}.downcase();
if(architecture) return string{architecture, ".", content, ".", type}.downcase();
return string{content, ".", type}.downcase();
}