mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-28 16:29:42 +00:00
BII enable --config argument
SS delete dead links
This commit is contained in:
parent
a943d981c4
commit
e690b631da
@ -59,7 +59,7 @@ void LoadPrefs(const char * vmdir) // TODO: load prefs from 'vmdir'
|
||||
SDL_snprintf(prefs_path, sizeof(prefs_path), "%s/%s", vmdir, PREFS_FILE_NAME);
|
||||
|
||||
// Read preferences from settings file
|
||||
FILE *f = fopen(prefs_path, "r");
|
||||
FILE *f = fopen(UserPrefsPath.empty() ? prefs_path : UserPrefsPath.c_str(), "r");
|
||||
if (f != NULL) {
|
||||
|
||||
// Prefs file found, load settings
|
||||
@ -89,7 +89,7 @@ void SavePrefs(void)
|
||||
SDL_snprintf(prefs_path, sizeof(prefs_path), "%s/%s", dir, PREFS_FILE_NAME);
|
||||
|
||||
FILE *f;
|
||||
if ((f = fopen(prefs_path, "w")) != NULL) {
|
||||
if ((f = fopen(UserPrefsPath.empty() ? prefs_path : UserPrefsPath.c_str(), "w")) != NULL) {
|
||||
SavePrefsToStream(f);
|
||||
fclose(f);
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
../../../BasiliskII/src/Windows/kernel_windows.cpp
|
@ -1 +0,0 @@
|
||||
../../../BasiliskII/src/Windows/kernel_windows.h
|
Loading…
x
Reference in New Issue
Block a user