mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 02:55:45 +00:00
configure_system: Implement with for loop
This commit is contained in:
parent
1be23237cd
commit
689efc9175
18 changed files with 514 additions and 654 deletions
|
@ -68,7 +68,8 @@ NACP::NACP(VirtualFile file) {
|
|||
NACP::~NACP() = default;
|
||||
|
||||
const LanguageEntry& NACP::GetLanguageEntry() const {
|
||||
Language language = language_to_codes[Settings::values.language_index.GetValue()];
|
||||
Language language =
|
||||
language_to_codes[static_cast<s32>(Settings::values.language_index.GetValue())];
|
||||
|
||||
{
|
||||
const auto& language_entry = raw.language_entries.at(static_cast<u8>(language));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue