Skip to content

Commit 6fd1a90

Browse files
ejaquayejaquay
authored andcommitted
ACIA call BuildCartridgeMenu() on init
Fixes Acia broken by eda4552 Refactor C API cartridge interface #466
1 parent f4c9844 commit 6fd1a90

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

acia/acia.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,18 @@ extern "C"
122122
CartMenuCallback = context->add_menu_item;
123123
AssertInt = context->assert_interrupt;
124124
strcpy(IniFile, configuration_path);
125-
126125
LoadConfig();
126+
BuildCartridgeMenu();
127127
LoadExtRom("RS232.ROM");
128128
sc6551_init();
129129
}
130+
130131
__declspec(dllexport) void PakTerminate()
131132
{
132133
CloseCartDialog(g_hDlg);
133134
sc6551_close();
134135
AciaStat[0]='\0';
135136
}
136-
137-
138137
}
139138

140139
//-----------------------------------------------------------------------

0 commit comments

Comments
 (0)