mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 07:00:30 +02:00
init
This commit is contained in:
commit
ec226e8348
1099 files changed
+400981
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user