mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-23 21:12:08 +00:00
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.
This commit is contained in:
parent
67cdbe9494
commit
d7d2b29c3f
1 changed files with 4 additions and 0 deletions
|
|
@ -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}";
|
||||
|
|
|
|||
Loading…
Reference in a new issue