Call prepare_quit() properly on SDL platform, and return a valid writeable directory
This commit is contained in:
parent
18bf9902e0
commit
cb93aaf83d
2 changed files with 4 additions and 2 deletions
|
@ -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 "";
|
||||
}
|
||||
|
|
|
@ -349,7 +349,9 @@ int main(int argc, char* argv[]) {
|
|||
engine->end_frame();
|
||||
}
|
||||
|
||||
return 0;
|
||||
engine->prepare_quit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
|
|
Reference in a new issue