Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomato committed Oct 21, 2023
1 parent 7d844bd commit 2a66acb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions interpreters/glulxe/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,14 @@ int init_serial()
return TRUE;
}

#include <stdio.h>

/* final_serial():
Clean up memory when the VM shuts down.
*/
void final_serial()
{
fprintf(stderr, "final_serial undo_chain=%p", undo_chain);
if (undo_chain) {
int ix;
for (ix=0; ix<undo_chain_num; ix++) {
Expand Down

0 comments on commit 2a66acb

Please sign in to comment.