depot/third_party/nixpkgs/pkgs/applications/emulators/86box/darwin.patch
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

15 lines
387 B
Diff

diff --git a/src/qt/qt_platform.cpp b/src/qt/qt_platform.cpp
index 824f71023..1f38e4b5f 100644
--- a/src/qt/qt_platform.cpp
+++ b/src/qt/qt_platform.cpp
@@ -673,6 +673,10 @@ plat_init_rom_paths(void)
rom_add_path(QDir(path).filePath("86Box/roms").toUtf8().constData());
#endif
}
+
+ #ifdef __APPLE__
+ rom_add_path("@out@/share/86Box/roms/");
+ #endif
}
void