mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-02 19:29:27 +00:00
Minor: replace IS_APPLE2 macro with function
This commit is contained in:
parent
6b4f3060c4
commit
d3ff855f2d
@ -491,7 +491,7 @@ void GetAppleWindowTitle()
|
|||||||
|
|
||||||
if (g_hCustomRomF8 != INVALID_HANDLE_VALUE)
|
if (g_hCustomRomF8 != INVALID_HANDLE_VALUE)
|
||||||
g_pAppTitle += TEXT(" (custom rom)");
|
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)");
|
g_pAppTitle += TEXT(" (The Freeze's non-autostart F8 rom)");
|
||||||
|
|
||||||
switch (g_nAppMode)
|
switch (g_nAppMode)
|
||||||
@ -546,7 +546,7 @@ void ResetMachineState()
|
|||||||
// todo: consolidate CtrlReset() and ResetMachineState()
|
// todo: consolidate CtrlReset() and ResetMachineState()
|
||||||
void CtrlReset()
|
void CtrlReset()
|
||||||
{
|
{
|
||||||
if (!IS_APPLE2)
|
if (IsAppleIIeOrAbove(GetApple2Type()))
|
||||||
{
|
{
|
||||||
// For A][ & A][+, reset doesn't reset the LC switches (UTAII:5-29)
|
// 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?
|
// TODO: What about Saturn cards? Presumably the same as the A][ & A][+ slot0 LC?
|
||||||
|
Loading…
Reference in New Issue
Block a user