From d7d2b29c3f06f2fc6d19e0ab04cab3fbc1c8e8f9 Mon Sep 17 00:00:00 2001 From: Awesomeangotti Date: Wed, 29 Apr 2026 19:33:25 +0000 Subject: [PATCH] Prevent potential for rapid querying of JSON file Adds a default splash text that is "Splash Text" to ensure it does not rapidly query an empty language in the JSON file. --- src/Ryujinx/Common/SplashTextHelper.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Ryujinx/Common/SplashTextHelper.cs b/src/Ryujinx/Common/SplashTextHelper.cs index 5028b25b7..aabdc2a71 100644 --- a/src/Ryujinx/Common/SplashTextHelper.cs +++ b/src/Ryujinx/Common/SplashTextHelper.cs @@ -29,6 +29,10 @@ namespace Ryujinx.Common if (string.IsNullOrEmpty(_Final_Splash)) { _Final_Splash = _Get_Lang_Json(); + if (string.IsNullOrEmpty(_Final_Splash)) + { + _Final_Splash = "Splash Text"; + } } return $"{_Final_Splash}";