Fix title querying with placeholder save slot

This commit is contained in:
Flashfyre committed 2024-04-20 18:46:36 -04:00
1 parent 9b03d6f8d3
commit fc06c4d9e1
1 file changed
+2
+2
View File
@@ -567,6 +567,8 @@ export class GameData {
getSession(slotId: integer): Promise<SessionSaveData> {
return new Promise(async (resolve, reject) => {
if (slotId < 0)
return resolve(null);
const handleSessionData = async (sessionDataStr: string) => {
try {
const sessionData = this.parseSessionData(sessionDataStr);