mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-25 09:29:48 +00:00
properly brace INTERFACE_CLASSIC stuff
This commit is contained in:
parent
1c31c1074d
commit
a61b7f5c39
@ -1546,7 +1546,6 @@ static void *interface_thread(void *current_key)
|
|||||||
in_interface = true;
|
in_interface = true;
|
||||||
|
|
||||||
switch ((__SWORD_TYPE)current_key) {
|
switch ((__SWORD_TYPE)current_key) {
|
||||||
#ifdef INTERFACE_CLASSIC
|
|
||||||
case kF1:
|
case kF1:
|
||||||
c_interface_select_diskette( 0 );
|
c_interface_select_diskette( 0 );
|
||||||
break;
|
break;
|
||||||
@ -1554,7 +1553,6 @@ static void *interface_thread(void *current_key)
|
|||||||
case kF2:
|
case kF2:
|
||||||
c_interface_select_diskette( 1 );
|
c_interface_select_diskette( 1 );
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
|
|
||||||
case kPAUSE:
|
case kPAUSE:
|
||||||
while (c_mygetch(1) == -1)
|
while (c_mygetch(1) == -1)
|
||||||
@ -1564,7 +1562,6 @@ static void *interface_thread(void *current_key)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef INTERFACE_CLASSIC
|
|
||||||
case kF5:
|
case kF5:
|
||||||
c_interface_keyboard_layout();
|
c_interface_keyboard_layout();
|
||||||
break;
|
break;
|
||||||
@ -1582,7 +1579,6 @@ static void *interface_thread(void *current_key)
|
|||||||
case kF10:
|
case kF10:
|
||||||
c_interface_parameters();
|
c_interface_parameters();
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -627,7 +627,9 @@ int main(int _argc, char **_argv) {
|
|||||||
argv = _argv;
|
argv = _argv;
|
||||||
|
|
||||||
load_settings(); // user prefs
|
load_settings(); // user prefs
|
||||||
|
#ifdef INTERFACE_CLASSIC
|
||||||
c_keys_set_key(kF8); // show credits before emulation start
|
c_keys_set_key(kF8); // show credits before emulation start
|
||||||
|
#endif
|
||||||
c_initialize_firsttime(); // one-time initializations
|
c_initialize_firsttime(); // one-time initializations
|
||||||
|
|
||||||
// spin off cpu thread
|
// spin off cpu thread
|
||||||
|
Loading…
Reference in New Issue
Block a user