mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
IOS/ES: Clear /import on ES initialization
Something IOS does and we didn't do.
This commit is contained in:
parent
d6499aba50
commit
62ea76e04c
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ ES::ES(u32 device_id, const std::string& device_name) : Device(device_id, device
|
|||
|
||||
void ES::Init()
|
||||
{
|
||||
const std::string import_dir = Common::RootUserPath(Common::FROM_SESSION_ROOT) + "/import";
|
||||
File::DeleteDirRecursively(import_dir);
|
||||
File::CreateDir(import_dir);
|
||||
|
||||
s_content_file = "";
|
||||
s_title_context = TitleContext{};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue