mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-04-25 07:57:04 -05:00
Fix a couple things
This commit is contained in:
parent
6c95ffc0f7
commit
a02b3e82c3
2
Makefile
2
Makefile
|
|
@ -38,7 +38,7 @@ INCLUDES := inc
|
|||
EXEFS_SRC := exefs_src
|
||||
APP_TITLE := JKSV
|
||||
APP_AUTHOR := JK
|
||||
APP_VERSION := 05.05.2021
|
||||
APP_VERSION := 05.27.2021
|
||||
ROMFS := romfs
|
||||
ICON := romfs/icon.jpg
|
||||
|
||||
|
|
|
|||
|
|
@ -13,13 +13,11 @@
|
|||
#define curData users[data::selUser].titles[data::selData]
|
||||
|
||||
#define BLD_MON 05
|
||||
#define BLD_DAY 05
|
||||
#define BLD_DAY 27
|
||||
#define BLD_YEAR 2021
|
||||
|
||||
namespace data
|
||||
{
|
||||
extern bool forceMount;
|
||||
|
||||
//Loads user + title info
|
||||
void init();
|
||||
void exit();
|
||||
|
|
|
|||
|
|
@ -503,7 +503,7 @@ void copyFileToZip_t(void *a)
|
|||
{
|
||||
if(zipWriteInFileInZip(*args->z, inBuff, readIn) != 0)
|
||||
{
|
||||
fs::logWrite("Failed", "zipWriteInFileInZip -> \"%s\"\n", args->from.c_str());
|
||||
fs::logWrite("zipWriteInFileInZip failed -> \"%s\"\n", args->from.c_str());
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -714,6 +714,8 @@ bool fs::dumpAllUserSaves(const data::user& u)
|
|||
if(fs::mountSave(u, u.titles[i]))
|
||||
{
|
||||
u.titles[i].createDir();
|
||||
std::string filtersPath = u.titles[i].getPath() + "pathFilters.txt";
|
||||
fs::loadPathFilters(filtersPath);
|
||||
switch(data::zip)
|
||||
{
|
||||
case true:
|
||||
|
|
@ -734,6 +736,7 @@ bool fs::dumpAllUserSaves(const data::user& u)
|
|||
break;
|
||||
}
|
||||
fsdevUnmountDevice("sv");
|
||||
fs::freePathFilters();
|
||||
}
|
||||
}
|
||||
return true;//?
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ std::string util::safeString(const std::string& s)
|
|||
}
|
||||
|
||||
//Check for spaces at end
|
||||
while(ret[ret.length() - 1] == ' ')
|
||||
while(ret[ret.length() - 1] == ' ' || ret[ret.length() - 1] == '.')
|
||||
ret.erase(ret.length() - 1, 1);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user