Fixed possible segfault in ROMReader on ia64 and amd64.

This commit is contained in:
evilynux 2007-09-03 18:20:24 +00:00
parent e6b1f94894
commit e8d39697f1
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,8 @@
- Added option to disable execution upon loading. [Jeff B]
- Many more strings are translatable now. [Jeff B]
- Default screen color now black (better represents being "off" and easier on eyes at night) [Jeff B]
general:
- Fixed possible segfault in ROMReader on ia64 and amd64. [evilynux]
0.7.2 -> 0.7.3
gtk-glade:

View File

@ -17,6 +17,11 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifdef HAVE_LIBZ
#include <zlib.h>
#endif
#include <string.h>
#include "types.h"
#define ROMREADER_DEFAULT -1