mirror of
https://github.com/holub/mame
synced 2025-05-24 06:30:04 +03:00
Remove unused debug_comment_exit
This commit is contained in:
parent
b954eccd7e
commit
15ec9dd390
@ -506,13 +506,3 @@ error:
|
||||
xml_file_free(root);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
debug_comment_exit - saves the comments and frees memory
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
static void debug_comment_exit(running_machine &machine)
|
||||
{
|
||||
debug_comment_save(&machine);
|
||||
}
|
||||
|
@ -114,6 +114,9 @@ static void debugger_exit(running_machine &machine)
|
||||
{
|
||||
machine_entry **entryptr;
|
||||
|
||||
// save any comments
|
||||
debug_comment_save(&machine);
|
||||
|
||||
/* remove this machine from the list; it came down cleanly */
|
||||
for (entryptr = &machine_list; *entryptr != NULL; entryptr = &(*entryptr)->next)
|
||||
if ((*entryptr)->machine == &machine)
|
||||
|
Loading…
Reference in New Issue
Block a user