mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
Qt: Use app bundle resources directory on Mac
This commit is contained in:
1 parent
344c918b65
commit
91c717376f
1 file changed
+5
@@ -140,8 +140,13 @@ bool QtHost::ShouldUsePortableMode()
|
||||
|
||||
void QtHost::SetResourcesDirectory()
|
||||
{
|
||||
#ifndef __APPLE__
|
||||
// On Windows/Linux, these are in the binary directory.
|
||||
EmuFolders::Resources = EmuFolders::AppRoot.Combine(wxDirName(L"resources"));
|
||||
#else
|
||||
// On macOS, this is in the bundle resources directory.
|
||||
EmuFolders::Resources = EmuFolders::AppRoot.Combine(wxDirName("../Resources"));
|
||||
#endif
|
||||
}
|
||||
|
||||
void QtHost::SetDataDirectory()
|
||||
|
||||
Reference in new issue
Block a user