Fix rescan titles

This commit is contained in:
J-D-K 2020-05-15 01:10:13 -04:00
parent d872f2f904
commit 8ccba85d7c
3 changed files with 5 additions and 8 deletions

View File

@ -38,7 +38,7 @@ INCLUDES := inc
EXEFS_SRC := exefs_src
APP_TITLE := JKSV
APP_AUTHOR := JK
APP_VERSION := 05.14.2020
APP_VERSION := 05.15.2020
ROMFS := romfs
#---------------------------------------------------------------------------------

View File

@ -579,15 +579,15 @@ namespace data
break;
case FsSaveDataType_Bcat:
info.uid = util::u128ToAccountUID(1);
info.uid = util::u128ToAccountUID(2);
break;
case FsSaveDataType_Device:
info.uid = util::u128ToAccountUID(2);
info.uid = util::u128ToAccountUID(3);
break;
}
if(!blacklisted(info.application_id) && !blacklisted(info.save_data_id))
if(!blacklisted(info.application_id) && !blacklisted(info.save_data_id) && accountSystemSaveCheck(info))
{
//We have all users and icons. This *should* be safe
int u = getUserIndex(info.uid);
@ -597,10 +597,7 @@ namespace data
newData.setFav(true);
if(newData.isMountable(data::users[u].getUID()) || !forceMount)
{
users[u].titles.push_back(newData);
fs::unmountSave();
}
}
}
delete dat;

View File

@ -10,7 +10,7 @@
#include "util.h"
#include "file.h"
#define VER_STRING "v. 05.14.2020"
#define VER_STRING "v. 05.15.2020"
//Don't waste time drawing top and bottom over and over
//guide graphics are to save cpu drawing that over and over with alpha