[Scummvm-git-logs] scummvm master -> db4295c1a82bfdd5a557293ea28819bc88338397

sev- sev at scummvm.org
Wed Sep 23 20:59:25 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
db4295c1a8 COMMON: Added PS2 and XBOX platform definitions.


Commit: db4295c1a82bfdd5a557293ea28819bc88338397
    https://github.com/scummvm/scummvm/commit/db4295c1a82bfdd5a557293ea28819bc88338397
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2020-09-23T22:59:20+02:00

Commit Message:
COMMON: Added PS2 and XBOX platform definitions.

Changed paths:
    common/platform.cpp
    common/platform.h


diff --git a/common/platform.cpp b/common/platform.cpp
index f12aa96dc0..1beef44828 100644
--- a/common/platform.cpp
+++ b/common/platform.cpp
@@ -51,6 +51,8 @@ const PlatformDescription g_platforms[] = {
 	{ "segacd", "segacd", "sega", "SegaCD", kPlatformSegaCD },
 	{ "windows", "win", "win", "Windows", kPlatformWindows },
 	{ "playstation", "psx", "psx", "Sony PlayStation", kPlatformPSX },
+	{ "playstation2", "ps2", "ps2", "Sony PlayStation 2", kPlatformPS2 },
+	{ "xbox", "xbox", "xbox", "Microsoft Xbox", kPlatformXbox },
 	{ "cdi", "cdi", "cdi", "Philips CD-i", kPlatformCDi },
 	{ "ios", "ios", "ios", "Apple iOS", kPlatformIOS },
 	{ "os2", "os2", "os2", "OS/2", kPlatformOS2 },
diff --git a/common/platform.h b/common/platform.h
index 919d780b51..bdf1772807 100644
--- a/common/platform.h
+++ b/common/platform.h
@@ -56,6 +56,8 @@ enum Platform {
 	kPlatformPC98,
 	kPlatformWii,
 	kPlatformPSX,
+	kPlatformPS2,
+	kPlatformXbox,
 	kPlatformCDi,
 	kPlatformIOS,
 	kPlatformOS2,




More information about the Scummvm-git-logs mailing list