Add haiku
This commit is contained in:
@@ -30,6 +30,7 @@ Tesses Framework
|
|||||||
- MacOS
|
- MacOS
|
||||||
- FreeBSD (including GhostBSD)
|
- FreeBSD (including GhostBSD)
|
||||||
- NetBSD
|
- NetBSD
|
||||||
|
- Haiku (only static builds work as of right now)
|
||||||
- Wii (using libogc2, may be broken)
|
- Wii (using libogc2, may be broken)
|
||||||
- Switch (using libnx, may be broken)
|
- Switch (using libnx, may be broken)
|
||||||
- Android (kinda, uses legacy and hardcoded /sdcard api unless you use TF_AllowPortable(std::string))
|
- Android (kinda, uses legacy and hardcoded /sdcard api unless you use TF_AllowPortable(std::string))
|
||||||
|
|||||||
@@ -332,14 +332,18 @@ std::string GetPlatform() {
|
|||||||
#if TARGET_OS_WATCH
|
#if TARGET_OS_WATCH
|
||||||
return "Apple Watch";
|
return "Apple Watch";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __EMSCRIPTEN__
|
|
||||||
return "WebAssembly";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return "Unknown Apple Device";
|
return "Unknown Apple Device";
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__EMSCRIPTEN__)
|
||||||
|
return "WebAssembly";
|
||||||
|
#endif
|
||||||
|
#if defined(__HAIKU__)
|
||||||
|
return "Haiku";
|
||||||
|
#endif
|
||||||
|
#if defined(__TessesOS__)
|
||||||
|
return "TessesOS";
|
||||||
|
#endif
|
||||||
|
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
} // namespace Tesses::Framework::Platform::Environment
|
} // namespace Tesses::Framework::Platform::Environment
|
||||||
|
|||||||
Reference in New Issue
Block a user