config: implemented string<->enum conversion

This commit is contained in:
Hyper
2024-10-21 22:23:52 +01:00
parent 23b5bdab85
commit efaf8fb8c4
6 changed files with 127 additions and 33 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ void Window::Init()
{
/* TODO: move this since it'll have to change
on soft reboot from the options menu. */
auto title = Config::Language == Language::Japanese
auto title = Config::Language == ELanguage::Japanese
? "Sonic World Adventure"
: "SONIC UNLEASHED";