From d01ee0435f0a82e9e2bbde16db1e7b4ef4ecb732 Mon Sep 17 00:00:00 2001 From: MarcZX10 <67475268+MarcZX10@users.noreply.github.com> Date: Thu, 29 Oct 2026 07:10:31 +0000 Subject: [PATCH] feat(libSceSystemService): name auto in the invalid ANYPS5_LANGUAGE error A value that is neither a console language number from 0 to 30 nor auto still stops the game at its first language query with an error that names the variable, which now lists auto as the other accepted value. --- core/libs/prx/libSceSystemService/SystemService.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libs/prx/libSceSystemService/SystemService.hpp b/core/libs/prx/libSceSystemService/SystemService.hpp index 7ca1a787dd..af106ea7dc 100644 --- a/core/libs/prx/libSceSystemService/SystemService.hpp +++ b/core/libs/prx/libSceSystemService/SystemService.hpp @@ -60,7 +60,7 @@ inline int SystemServiceConsoleLanguage(std::string_view caller) { if (error != std::errc{} || end != text.data() + text.size() || language < SYSTEM_SERVICE_PARAM_LANG_JAPANESE || language > SYSTEM_SERVICE_PARAM_LANG_UKRAINIAN) { throw std::runtime_error(std::string(caller) + ": ANYPS5_LANGUAGE must be a console language number from " + std::to_string(SYSTEM_SERVICE_PARAM_LANG_JAPANESE) + " to " + std::to_string(SYSTEM_SERVICE_PARAM_LANG_UKRAINIAN) + - ", not \"" + std::string(text) + "\""); + " or auto, not \"" + std::string(text) + "\""); } return language; }