Archived
1
Fork 0

Call prepare_quit() properly on SDL platform, and return a valid writeable directory

This commit is contained in:
redstrate 2021-06-01 12:44:16 -04:00
parent 18bf9902e0
commit cb93aaf83d
2 changed files with 4 additions and 2 deletions

View file

@ -7,5 +7,5 @@ void prism::set_domain_path(const prism::domain domain, const prism::path path)
}
prism::path prism::get_writeable_directory() {
return "~";
return "";
}

View file

@ -349,7 +349,9 @@ int main(int argc, char* argv[]) {
engine->end_frame();
}
return 0;
engine->prepare_quit();
return 0;
}
#ifdef PLATFORM_WINDOWS