mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-26 12:11:38 +00:00
Temporarily disable current working dir code.
This commit is contained in:
parent
094f47d5b5
commit
3d7be14a17
1 changed files with 3 additions and 1 deletions
|
|
@ -601,13 +601,15 @@ int main(int argc, char** argv) {
|
||||||
// Force wasapi on Windows, as there seems to be some issue with sample queueing with directsound currently.
|
// Force wasapi on Windows, as there seems to be some issue with sample queueing with directsound currently.
|
||||||
SDL_setenv("SDL_AUDIODRIVER", "wasapi", true);
|
SDL_setenv("SDL_AUDIODRIVER", "wasapi", true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
#if defined(__linux__) && defined(RECOMP_FLATPAK)
|
#if defined(__linux__) && defined(RECOMP_FLATPAK)
|
||||||
// When using Flatpak, applications tend to launch from the home directory by default.
|
// When using Flatpak, applications tend to launch from the home directory by default.
|
||||||
// Mods might use the current working directory to store the data, so we switch it to a directory
|
// Mods might use the current working directory to store the data, so we switch it to a directory
|
||||||
// with persistent data storage and write permissions under Flatpak to ensure it works.
|
// with persistent data storage and write permissions under Flatpak to ensure it works.
|
||||||
std::error_code ec;
|
std::error_code ec;
|
||||||
std::filesystem::current_path("/var/data", ec);
|
std::filesystem::current_path("/var/data", ec);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Initialize SDL audio and set the output frequency.
|
// Initialize SDL audio and set the output frequency.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue