diff --git a/source/Applewin.cpp b/source/Applewin.cpp index 8bb4bac7..22c2c769 100644 --- a/source/Applewin.cpp +++ b/source/Applewin.cpp @@ -441,7 +441,7 @@ void SetCharsetType(void) case A2TYPE_APPLE2PLUS: g_nCharsetType = 0; break; case A2TYPE_APPLE2E: g_nCharsetType = 0; break; case A2TYPE_APPLE2EENHANCED:g_nCharsetType = 0; break; - case A2TYPE_TK30002E: g_nCharsetType = 0; break; + case A2TYPE_TK30002E: g_nCharsetType = 0; break; case A2TYPE_PRAVETS82: g_nCharsetType = 1; break; case A2TYPE_PRAVETS8M: g_nCharsetType = 2; break; //This charset has a very small difference with the PRAVETS82 one, and probably has some misplaced characters. case A2TYPE_PRAVETS8A: g_nCharsetType = 3; break; diff --git a/source/SaveState.cpp b/source/SaveState.cpp index 88254d6a..86a4d5fe 100644 --- a/source/SaveState.cpp +++ b/source/SaveState.cpp @@ -253,6 +253,7 @@ static std::string GetSnapshotUnitSlotsName(void) #define SS_YAML_VALUE_PRAVETS82 "Pravets82" #define SS_YAML_VALUE_PRAVETS8M "Pravets8M" #define SS_YAML_VALUE_PRAVETS8A "Pravets8A" +#define SS_YAML_VALUE_TK30002E "TK3000//e" static eApple2Type ParseApple2Type(std::string type) { @@ -264,6 +265,7 @@ static eApple2Type ParseApple2Type(std::string type) else if (type == SS_YAML_VALUE_PRAVETS82) return A2TYPE_PRAVETS82; else if (type == SS_YAML_VALUE_PRAVETS8M) return A2TYPE_PRAVETS8M; else if (type == SS_YAML_VALUE_PRAVETS8A) return A2TYPE_PRAVETS8A; + else if (type == SS_YAML_VALUE_TK30002E) return A2TYPE_TK30002E; throw std::string("Load: Unknown Apple2 type"); } @@ -280,6 +282,7 @@ static std::string GetApple2TypeAsString(void) case A2TYPE_PRAVETS82: return SS_YAML_VALUE_PRAVETS82; case A2TYPE_PRAVETS8M: return SS_YAML_VALUE_PRAVETS8M; case A2TYPE_PRAVETS8A: return SS_YAML_VALUE_PRAVETS8A; + case A2TYPE_TK30002E: return SS_YAML_VALUE_TK30002E; default: throw std::string("Save: Unknown Apple2 type"); }