ADL: Add detection entry for early hires1

This commit is contained in:
Walter van Niftrik 2021-06-29 12:25:57 +02:00
parent 28e049e8d6
commit ce2742a828
2 changed files with 14 additions and 2 deletions

View File

@ -169,6 +169,18 @@ static const AdlGameDescription gameFileDescriptions[] = {
};
static const AdlGameDescription gameDiskDescriptions[] = {
{ // Hi-Res Adventure #1: Mystery House - Apple II - Contains Simi Valley address
{
"hires1", "",
AD_ENTRY1s("mysthous", "629b9d034cbf8d8e3a612398f53a8dfc", 116480),
Common::EN_ANY,
Common::kPlatformApple2,
ADGF_NO_FLAGS,
MH_OPTIONS
},
GAME_TYPE_HIRES1,
GAME_VER_HR1_SIMI
},
{ // Hi-Res Adventure #1: Mystery House - Apple II - Contains Coarsegold address
{
"hires1", "",

View File

@ -262,8 +262,8 @@ void HiRes1Engine::init() {
_files = new Files_Plain();
} else {
Files_AppleDOS *files = new Files_AppleDOS();
// The 2nd release obfuscates the VTOC (same may be true for the 1st release)
if (!files->open(getDiskImageName(0), (getGameVersion() == GAME_VER_HR1_COARSE ? 16 : 17)))
// Non-PD versions have an obfuscated VTOC
if (!files->open(getDiskImageName(0), (getGameVersion() == GAME_VER_HR1_PD ? 17 : 16)))
error("Failed to open '%s'", getDiskImageName(0).c_str());
_files = files;
}