From 05457402f59afac71d97d2aec31c4a229fa1db2d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 14 Oct 2005 02:50:05 +0000 Subject: Added Linux platform. Now it is used by some ITE version and is required for proper game identification (21 subtle distinct versions of same game which still require individual flags is not a joke) cvs: ---------------------------------------------------------------------- svn-id: r19073 --- common/util.cpp | 1 + common/util.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/util.cpp b/common/util.cpp index 2fb0a19cde..918cc7e002 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -174,6 +174,7 @@ const PlatformDescription g_platforms[] = { // "FM TOWNS", "FmTowns", etc. {"fmtowns", "towns", "FM-TOWNS", kPlatformFMTowns}, + {"linux", "linux", "Linux", kPlatformLinux}, {"macintosh", "mac", "Macintosh", kPlatformMacintosh}, {"nes", "nes", "NES", kPlatformNES}, {"pc", "dos", "DOS", kPlatformPC}, diff --git a/common/util.h b/common/util.h index 98ba7cd95a..508e80718a 100644 --- a/common/util.h +++ b/common/util.h @@ -138,7 +138,8 @@ enum Platform { kPlatformFMTowns = 4, kPlatformWindows = 5, kPlatformNES = 6, - kPlatformC64 = 7 + kPlatformC64 = 7, + kPlatformLinux = 8 /* kPlatformSEGA, kPlatformPCEngine -- cgit v1.2.3