From d7732f7fd75b257663351091bfce2bc4787fedf6 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 8 Feb 2023 19:04:18 -0800 Subject: [PATCH] Dialog: Warn when ignoring the dialog language. --- Core/Dialog/PSPDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/Dialog/PSPDialog.cpp b/Core/Dialog/PSPDialog.cpp index 1ede717e249a..fa31a862a0d1 100644 --- a/Core/Dialog/PSPDialog.cpp +++ b/Core/Dialog/PSPDialog.cpp @@ -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() {