Mercurial > repos > blastem
view gst.h @ 792:724bbec47f86
Use a new fatal_error function instead of calling fprintf and exit for fatal errors. This new function more gracefully handles the case in which BlastEm was not started from a terminal or disconnected from ther terminal (Windows).
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 25 Jul 2015 18:22:07 -0700 |
parents | 140af5509ce7 |
children |
line wrap: on
line source
/* Copyright 2013 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 GST_H_ #define GST_H_ #include "blastem.h" uint8_t save_gst(genesis_context * gen, char *fname, uint32_t m68k_pc); uint32_t load_gst(genesis_context * gen, char * fname); #endif //GST_H_