mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-25 03:17:53 +00:00
Replaced global g_CardMgr with a singleton object & GetCardMgr() call. (Fixes #843)
This commit is contained in:
+2
-2
@@ -279,9 +279,9 @@ void HD_SetEnabled(const bool bEnabled)
|
||||
g_bHD_Enabled = bEnabled;
|
||||
|
||||
if (bEnabled)
|
||||
g_CardMgr.Insert(SLOT7, CT_GenericHDD);
|
||||
GetCardMgr().Insert(SLOT7, CT_GenericHDD);
|
||||
else
|
||||
g_CardMgr.Remove(SLOT7);
|
||||
GetCardMgr().Remove(SLOT7);
|
||||
|
||||
#if 0
|
||||
// FIXME: For LoadConfiguration(), g_uSlot=7 (see definition at start of file)
|
||||
|
||||
Reference in New Issue
Block a user