Revert "make init_serial() an emulator_inner function"
This reverts commit 6557009df9
.
This commit is contained in:
parent
6557009df9
commit
ebf8ded567
4 changed files with 6 additions and 5 deletions
|
@ -1013,10 +1013,6 @@ int init_emulator( void )
|
|||
if ( !read_rom( normalized_rom_path ) )
|
||||
exit( 1 ); /* can't read ROM */
|
||||
|
||||
init_serial();
|
||||
|
||||
/* init_display(); */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -338,6 +338,11 @@ extern void press_key( int hpkey ); /* used in ui_*.c */
|
|||
extern void release_key( int hpkey ); /* used in ui_*.c */
|
||||
extern void release_all_keys( void ); /* used in ui_*.c */
|
||||
|
||||
/****************/
|
||||
/* emu_serial.c */
|
||||
/****************/
|
||||
extern int init_serial( void ); /* used in main.c */
|
||||
|
||||
/*****************/
|
||||
/* emu_emulate.c */
|
||||
/*****************/
|
||||
|
|
|
@ -77,6 +77,5 @@ extern int is_greater_or_equal_register( unsigned char* r1, unsigned char* r2, i
|
|||
extern void serial_baud( int baud );
|
||||
extern void transmit_char( void );
|
||||
extern void receive_char( void );
|
||||
extern int init_serial( void );
|
||||
|
||||
#endif /* _EMULATOR_INNER_H */
|
||||
|
|
|
@ -101,6 +101,7 @@ int main( int argc, char** argv )
|
|||
|
||||
/* Emulator */
|
||||
init_emulator();
|
||||
init_serial();
|
||||
init_display();
|
||||
|
||||
/* (G)UI */
|
||||
|
|
Loading…
Add table
Reference in a new issue