mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Add support for non portable mode (#356)
This commit is contained in:
parent
2b9edced81
commit
d6ba61cf64
38 changed files with 233 additions and 163 deletions
|
@ -989,8 +989,8 @@ void MainWindow::OnDebugSetting(wxCommandEvent& event)
|
|||
{
|
||||
try
|
||||
{
|
||||
const auto path = CemuApp::GetCemuPath(L"dump\\curl").ToStdWstring();
|
||||
fs::create_directories(path);
|
||||
const fs::path path(CemuApp::GetUserDataPath().ToStdString());
|
||||
fs::create_directories(path / "dump" / "curl");
|
||||
}
|
||||
catch (const std::exception& ex)
|
||||
{
|
||||
|
@ -1046,8 +1046,8 @@ void MainWindow::OnDebugDumpUsedTextures(wxCommandEvent& event)
|
|||
try
|
||||
{
|
||||
// create directory
|
||||
const auto path = CemuApp::GetCemuPath(L"dump\\textures");
|
||||
fs::create_directories(path.ToStdWstring());
|
||||
const fs::path path(CemuApp::GetUserDataPath().ToStdString());
|
||||
fs::create_directories(path / "dump" / "textures");
|
||||
}
|
||||
catch (const std::exception& ex)
|
||||
{
|
||||
|
@ -1067,8 +1067,8 @@ void MainWindow::OnDebugDumpUsedShaders(wxCommandEvent& event)
|
|||
try
|
||||
{
|
||||
// create directory
|
||||
const auto path = CemuApp::GetCemuPath(L"dump\\shaders");
|
||||
fs::create_directories(path.ToStdWstring());
|
||||
const fs::path path(CemuApp::GetUserDataPath().ToStdString());
|
||||
fs::create_directories(path / "dump" / "shaders");
|
||||
}
|
||||
catch (const std::exception & ex)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue