Add target_exit

This commit is contained in:
Alexander Batalov 2023-09-02 18:08:21 +03:00
parent 8929941d13
commit e0b18a8785
1 changed files with 6 additions and 1 deletions

View File

@ -86,7 +86,12 @@ int target_init()
// 0x49B434
int target_exit()
{
// TODO: Incomplete.
if (can_modify_protos) {
target_header_save();
target_remove_all();
} else {
target_remove_all();
}
return 0;
}