From 802454482c2843234a19a06f6acce360e0be3d60 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 13 Nov 2015 19:15:37 -0800 Subject: It is now possible to switch back and forth between the menu ROM and the game --- arena.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arena.h (limited to 'arena.h') diff --git a/arena.h b/arena.h new file mode 100644 index 0000000..26a9555 --- /dev/null +++ b/arena.h @@ -0,0 +1,18 @@ +/* + Copyright 2015 Michael Pavone + This file is part of BlastEm. + BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. +*/ +#ifndef ARENA_H_ +#define ARENA_H_ + +typedef struct arena arena; + +arena *get_current_arena(); +arena *set_current_arena(arena *a); +arena *start_new_arena(); +void track_block(void *block); +void mark_all_free(); +void *try_alloc_arena(); + +#endif //ARENA_H_ -- cgit v1.2.3