Skip to content

Commit

Permalink
Dialog: Warn when ignoring the dialog language.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Feb 9, 2023
1 parent fcc1abc commit d7732f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/Dialog/PSPDialog.cpp
Expand Up @@ -41,6 +41,10 @@ PSPDialog::~PSPDialog() {

void PSPDialog::InitCommon() {
UpdateCommon();

if (GetCommonParam() && GetCommonParam()->language != g_Config.iLanguage) {
WARN_LOG(SCEUTILITY, "Game requested language %d, ignoring and using user language", GetCommonParam()->language);
}
}

void PSPDialog::UpdateCommon() {
Expand Down

0 comments on commit d7732f7

Please sign in to comment.