diff options
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 6 | ||||
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index fcfd93a93d..b58255c271 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -110,6 +110,12 @@ void OSystem_MacOSX::addSysArchivesToSearchSet(Common::SearchSet &s, int priorit bool OSystem_MacOSX::hasFeature(Feature f) { if (f == kFeatureDisplayLogFile || f == kFeatureClipboardSupport || f == kFeatureOpenUrl) return true; + +#ifdef USE_SYSDIALOGS + if (f == kFeatureNativeFileBowserDialog) + return true; +#endif + return OSystem_POSIX::hasFeature(f); } diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index 2a80508881..264a0640ed 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -109,6 +109,11 @@ bool OSystem_Win32::hasFeature(Feature f) { if (f == kFeatureDisplayLogFile || f == kFeatureOpenUrl) return true; +#ifdef USE_SYSDIALOGS + if (f == kFeatureNativeFileBowserDialog) + return true; +#endif + return OSystem_SDL::hasFeature(f); } |