Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiiRoot: Use new filesystem interface #7061

Merged
merged 2 commits into from Jun 3, 2018

Conversation

leoetlino
Copy link
Member

This gets rid of remaining direct accesses to the Wii filesystem in WiiRoot by using the new FS interface and WiiSave to copy saves.

This gets rid of remaining direct accesses to the Wii filesystem
in WiiRoot by using WiiSave to copy saves and the FS interface
@@ -26,12 +28,10 @@ namespace Core
{
static std::string s_temp_wii_root;

static void InitializeDeterministicWiiSaves()
static void InitializeDeterministicWiiSaves(IOS::HLE::FS::FileSystem* session_fs)

This comment was marked as off-topic.

This comment was marked as off-topic.

}

void CleanUpWiiFileSystemContents()
{
if (s_temp_wii_root.empty())
if (s_temp_wii_root.empty() || !SConfig::GetInstance().bEnableMemcardSdWriting)

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 (untested though)

@leoetlino leoetlino merged commit 472e0d5 into dolphin-emu:master Jun 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants