Update log.cpp
This commit is contained in:
parent
809b0cfad6
commit
c3f737de14
2
log.cpp
2
log.cpp
@ -30,7 +30,7 @@ Log::Log()
|
|||||||
|
|
||||||
void Log::Init(const char *filename)
|
void Log::Init(const char *filename)
|
||||||
{
|
{
|
||||||
std::string name = "logs/Log_" + Log::logDate() + filename + ".txt";
|
std::string name = "sdmc:/" + Log::logDate() + filename + ".txt";
|
||||||
this->filename = name.c_str();
|
this->filename = name.c_str();
|
||||||
if ((access(name.c_str(), F_OK) == 0))
|
if ((access(name.c_str(), F_OK) == 0))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user