File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
Version 3.1.x:
2
2
3
+ * Prefer $HOME/FS-UAE if it exists, otherwise use $DOCUMENTS/FS-UAE.
3
4
* Support joystick_port_[port]_[gamepadinput] input mapping.
4
5
* Read [guid].fs-uae-controller controller configs.
5
6
* Fixed uaenative_library option.
Original file line number Diff line number Diff line change @@ -175,6 +175,15 @@ const char* fs_uae_base_dir(void)
175
175
if (path == NULL ) {
176
176
path = read_custom_path ("base-dir" );
177
177
}
178
+ if (path == NULL ) {
179
+ gchar * path2 = g_build_filename (fs_uae_home_dir (), "FS-UAE" , NULL );
180
+ if (fs_path_exists (path2 )) {
181
+ fs_log ("- using base dir $HOME/FS-UAE\n" );
182
+ path = path2 ;
183
+ } else {
184
+ g_free (path2 );
185
+ }
186
+ }
178
187
if (path == NULL ) {
179
188
fs_log ("- using base dir $DOCUMENTS/FS-UAE\n" );
180
189
path = g_build_filename (fs_uae_documents_dir (), "FS-UAE" , NULL );
You can’t perform that action at this time.
0 commit comments