Qt: Use app bundle resources directory on Mac

This commit is contained in:
Connor McLaughlin authored and refractionpcsx2 committed 2022-05-05 09:51:56 +01:00
1 parent 344c918b65
commit 91c717376f
1 file changed
+5
+5
View File
@@ -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()