mirror of https://github.com/PCSX2/pcsx2.git
Qt: Use app bundle resources directory on Mac
This commit is contained in:
parent
344c918b65
commit
91c717376f
|
@ -140,8 +140,13 @@ bool QtHost::ShouldUsePortableMode()
|
||||||
|
|
||||||
void QtHost::SetResourcesDirectory()
|
void QtHost::SetResourcesDirectory()
|
||||||
{
|
{
|
||||||
|
#ifndef __APPLE__
|
||||||
// On Windows/Linux, these are in the binary directory.
|
// On Windows/Linux, these are in the binary directory.
|
||||||
EmuFolders::Resources = EmuFolders::AppRoot.Combine(wxDirName(L"resources"));
|
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()
|
void QtHost::SetDataDirectory()
|
||||||
|
|
Loading…
Reference in New Issue