mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-11-29 01:01:54 +00:00
Compare commits
1
Commits
v0.0.9
..
b964ea04df
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b964ea04df |
@@ -30,6 +30,7 @@ Tesses Framework
|
||||
- MacOS
|
||||
- FreeBSD (including GhostBSD)
|
||||
- NetBSD
|
||||
- Haiku (only static builds work as of right now)
|
||||
- Wii (using libogc2, may be broken)
|
||||
- Switch (using libnx, may be broken)
|
||||
- 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
|
||||
return "Apple Watch";
|
||||
#endif
|
||||
|
||||
#if __EMSCRIPTEN__
|
||||
return "WebAssembly";
|
||||
#endif
|
||||
|
||||
return "Unknown Apple Device";
|
||||
#endif
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
return "WebAssembly";
|
||||
#endif
|
||||
#if defined(__HAIKU__)
|
||||
return "Haiku";
|
||||
#endif
|
||||
#if defined(__TessesOS__)
|
||||
return "TessesOS";
|
||||
#endif
|
||||
|
||||
return "Unknown";
|
||||
}
|
||||
} // namespace Tesses::Framework::Platform::Environment
|
||||
} // namespace Tesses::Framework::Platform::Environment
|
||||
|
||||
Reference in New Issue
Block a user