diff --git a/desmume/src/saves.c b/desmume/src/saves.c index 0da865349..5f17e112a 100644 --- a/desmume/src/saves.c +++ b/desmume/src/saves.c @@ -1,3 +1,22 @@ +/* Copyright (C) 2006 Normmatt + + This file is part of DeSmuME + + DeSmuME is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DeSmuME is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DeSmuME; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #ifdef HAVE_LIBZ #include #endif @@ -84,6 +103,8 @@ int savestate_load (const char *file_name) { //gzread ( file, MMU::ARM7_REG, 0x10000 ); //gzread ( file, MMU::ARM7_WIRAM, 0x10000 ); + // Internal variable states should be regenerated here + gzclose ( file ); return 1; diff --git a/desmume/src/saves.h b/desmume/src/saves.h index 98277d7dc..4aa5ac455 100644 --- a/desmume/src/saves.h +++ b/desmume/src/saves.h @@ -1,3 +1,22 @@ +/* Copyright (C) 2006 Normmatt + + This file is part of DeSmuME + + DeSmuME is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DeSmuME is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DeSmuME; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #ifndef _SRAM_H #define _SRAM_H