Browse Source
mroe netbsd and openbsd fixes
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2752/head
lizzie
5 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
4 changed files with
7 additions and
3 deletions
-
externals/cpmfile.json
-
externals/renderdoc/renderdoc_app.h
-
src/qt_common/util/game.cpp
-
src/qt_common/util/game.h
|
|
|
@ -129,6 +129,9 @@ |
|
|
|
"git_version": "2025.4", |
|
|
|
"options": [ |
|
|
|
"SPIRV_SKIP_EXECUTABLES ON" |
|
|
|
], |
|
|
|
"patches": [ |
|
|
|
"0001-netbsd-fix.patch" |
|
|
|
] |
|
|
|
}, |
|
|
|
"spirv-headers": { |
|
|
|
|
|
|
|
@ -43,7 +43,7 @@ |
|
|
|
#define RENDERDOC_CC __cdecl |
|
|
|
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__sun__) |
|
|
|
#define RENDERDOC_CC |
|
|
|
#elif defined(__APPLE__) |
|
|
|
#elif defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) |
|
|
|
#define RENDERDOC_CC |
|
|
|
#else |
|
|
|
#error "Unknown platform" |
|
|
|
|
|
|
|
@ -542,7 +542,8 @@ void CreateShortcut(const std::string& game_path, |
|
|
|
qgame_title); |
|
|
|
} |
|
|
|
|
|
|
|
constexpr std::string GetShortcutPath(ShortcutTarget target) { |
|
|
|
// TODO: You want this to be constexpr? Well too bad, clang19 doesn't believe this is a string literal
|
|
|
|
std::string GetShortcutPath(ShortcutTarget target) { |
|
|
|
{ |
|
|
|
std::string shortcut_path{}; |
|
|
|
if (target == ShortcutTarget::Desktop) { |
|
|
|
|
|
|
|
@ -78,7 +78,7 @@ void CreateShortcut(const std::string& game_path, |
|
|
|
std::string arguments_, |
|
|
|
const bool needs_title); |
|
|
|
|
|
|
|
constexpr std::string GetShortcutPath(ShortcutTarget target); |
|
|
|
std::string GetShortcutPath(ShortcutTarget target); |
|
|
|
void CreateHomeMenuShortcut(ShortcutTarget target); |
|
|
|
|
|
|
|
} |
|
|
|
|