This commit is contained in:
patchzyy committed 2026-08-23 17:10:50 +02:00
commit ec226e8348
1099 files changed
+400981

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include <string_view>
namespace RuntimeProduct {
enum class Kind {
BaseGame,
RetroRewind,
};
struct Descriptor {
Kind kind;
std::string_view displayName;
};
// Each public executable links exactly one small provider definition. Keeping
// this selection out of target-wide preprocessor definitions lets the native
// runtime be compiled once and shared by every product.
const Descriptor& Active() noexcept;
inline bool IsRetroRewind() noexcept {
return Active().kind == Kind::RetroRewind;
}
} // namespace RuntimeProduct