Property

HsCore:platform

Declaration

property platform: Hs.Platform [ read, write, construct-only ]

Description [src]

The game platform, set by the frontend.

Cores that support multiple platforms can query it to determine the current platform.

Type:HsPlatform

Default valueHS_PLATFORM_UNKNOWN
Getter methodhs_core_get_platform()

Flags

Readableyes
Writableyes
Constructno
Construct onlyyes