Function

HsPlatformget_name

Declaration [src]

char*
hs_platform_get_name (
  HsPlatform platform
)

Description [src]

Gets the name of platform.

The returned names are as follows:

Platform Name
HS_PLATFORM_ATARI_2600 Atari2600
HS_PLATFORM_ATARI_7800 Atari7800
HS_PLATFORM_ATARI_LYNX AtariLynx
HS_PLATFORM_FAMICOM_DISK_SYSTEM FamicomDiskSystem
HS_PLATFORM_GAME_BOY GameBoy
HS_PLATFORM_GAME_BOY_COLOR GameBoyColor
HS_PLATFORM_GAME_BOY_ADVANCE GameBoyAdvance
HS_PLATFORM_GAME_GEAR GameGear
HS_PLATFORM_MASTER_SYSTEM MasterSystem
HS_PLATFORM_MEGA_CD MegaCD
HS_PLATFORM_MEGA_CD_32X MegaCD32X
HS_PLATFORM_MEGA_DRIVE MegaDrive
HS_PLATFORM_MEGA_DRIVE_32X MegaDrive32X
HS_PLATFORM_NEO_GEO_POCKET NeoGeoPocket
HS_PLATFORM_NEO_GEO_POCKET_COLOR NeoGeoPocketColor
HS_PLATFORM_NES NintendoEntertainmentSystem
HS_PLATFORM_NINTENDO_64 Nintendo64
HS_PLATFORM_NINTENDO_DS NintendoDS
HS_PLATFORM_PC_ENGINE PcEngine
HS_PLATFORM_PC_ENGINE_CD PcEngineCD
HS_PLATFORM_PLAYSTATION PlayStation
HS_PLATFORM_SEGA_SATURN SegaSaturn
HS_PLATFORM_SG1000 SG1000
HS_PLATFORM_SUPER_GAME_BOY SuperGameBoy
HS_PLATFORM_SUPER_NES SuperNintendoEntertainmentSystem
HS_PLATFORM_VIRTUAL_BOY VirtualBoy
HS_PLATFORM_WONDERSWAN WonderSwan
HS_PLATFORM_WONDERSWAN_COLOR WonderSwanColor

For HS_PLATFORM_UNKNOWN returns Unknown.

Parameters

platform

Type: HsPlatform

A platform.

Return value

Type: char*

The platform name.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.