COMMON: Change Common::Language and Common::Platform to use a smaller type

This commit is contained in:
Cameron Cawley 2022-08-22 22:14:19 +01:00 committed by Filippos Karapetis
parent d0a0070d85
commit 330346d3be
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ class String;
/**
* List of game language.
*/
enum Language {
enum Language : int8 {
AR_ARB,
CA_ESP,
CS_CZE,

View file

@ -43,7 +43,7 @@ class String;
* This may be optional or required, depending on the game engine and the
* game in question.
*/
enum Platform {
enum Platform : int8 {
kPlatformDOS,
kPlatformAmiga,
kPlatformAtari8Bit,