Skip to content

Commit

Permalink
Scanned files were not stored with proper relative paths on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodeSolheim committed Mar 29, 2016
1 parent 9d41e9c commit 29b2cfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Version 2.7.9.dev:

* Scanned files were not stored with proper relative paths on Windows.
* New GUI controls for monitor, fullscreen mode, video sync and monitor info.
* New settings control for starting FS-UAE with full keyboard emulation.
* Fixed issue when you have a mouse with the same device name as a joystick.
Expand Down
8 changes: 6 additions & 2 deletions fsgs/FSGSDirectories.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ def _initialize(cls):
return
print("FSGSDirectories._initialize")
cls.get_base_dir()
# cls.portable_dir()
cls._initialized = True

@classmethod
@functools.lru_cache()
def get_base_dir(cls):
return fsboot.base_dir()
path = fsboot.base_dir()
# Configuration and file database depends on path normalization,
# especially for cross-platform portable mode.
path = Paths.get_real_case(path)
return path

@classmethod
@functools.lru_cache()
Expand Down

0 comments on commit 29b2cfd

Please sign in to comment.