Browse Source

mroe netbsd and openbsd fixes

Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2752/head
lizzie 5 months ago
parent
commit
0e28184312
No known key found for this signature in database GPG Key ID: 287378CADCAB13
  1. 3
      externals/cpmfile.json
  2. 2
      externals/renderdoc/renderdoc_app.h
  3. 3
      src/qt_common/util/game.cpp
  4. 2
      src/qt_common/util/game.h

3
externals/cpmfile.json

@ -129,6 +129,9 @@
"git_version": "2025.4",
"options": [
"SPIRV_SKIP_EXECUTABLES ON"
],
"patches": [
"0001-netbsd-fix.patch"
]
},
"spirv-headers": {

2
externals/renderdoc/renderdoc_app.h

@ -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"

3
src/qt_common/util/game.cpp

@ -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) {

2
src/qt_common/util/game.h

@ -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);
}

Loading…
Cancel
Save