9 lines
299 B
JavaScript
9 lines
299 B
JavaScript
const platformNames = {
|
|
[System.PLATFORM_LINUX]: 'Linux',
|
|
[System.PLATFORM_KNULLI]: 'Knulli',
|
|
[System.PLATFORM_PSP]: 'PSP',
|
|
[System.PLATFORM_GAMECUBE]: 'GameCube',
|
|
[System.PLATFORM_WII]: 'Wii',
|
|
};
|
|
|
|
Console.print('Platform: ' + (platformNames[System.platform] || 'Unknown')); |