Fix title querying with placeholder save slot

This commit is contained in:
Flashfyre 2024-04-20 18:46:36 -04:00
parent 9b03d6f8d3
commit fc06c4d9e1
1 changed files with 2 additions and 0 deletions

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);