Minor: replace IS_APPLE2 macro with function

This commit is contained in:
tomcw 2024-03-28 22:36:34 +00:00
parent 6b4f3060c4
commit d3ff855f2d
1 changed files with 2 additions and 2 deletions

View File

@ -491,7 +491,7 @@ void GetAppleWindowTitle()
if (g_hCustomRomF8 != INVALID_HANDLE_VALUE)
g_pAppTitle += TEXT(" (custom rom)");
else if (GetPropertySheet().GetTheFreezesF8Rom() && IS_APPLE2)
else if (GetPropertySheet().GetTheFreezesF8Rom() && IsApple2PlusOrClone(GetApple2Type()))
g_pAppTitle += TEXT(" (The Freeze's non-autostart F8 rom)");
switch (g_nAppMode)
@ -546,7 +546,7 @@ void ResetMachineState()
// todo: consolidate CtrlReset() and ResetMachineState()
void CtrlReset()
{
if (!IS_APPLE2)
if (IsAppleIIeOrAbove(GetApple2Type()))
{
// For A][ & A][+, reset doesn't reset the LC switches (UTAII:5-29)
// TODO: What about Saturn cards? Presumably the same as the A][ & A][+ slot0 LC?