X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2F185.c;h=7ea86bb8d0bff2557124baa2697bedf0543e2622;hp=b865a8f572438b5b1955f629e79dba379a43f5da;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/boards/185.c b/boards/185.c index b865a8f..7ea86bb 100644 --- a/boards/185.c +++ b/boards/185.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ @@ -88,12 +88,12 @@ static void MRestore(int version) void Mapper185_Init(CartInfo *info) { - int x; Sync=Sync185; info->Power=MPower; info->Close=MClose; GameStateRestore=MRestore; DummyCHR=(uint8*)FCEU_gmalloc(8192); + int x; for(x=0;x<8192;x++) DummyCHR[x]=0xff; SetupCartCHRMapping(0x10,DummyCHR,8192,0); @@ -102,12 +102,12 @@ void Mapper185_Init(CartInfo *info) void Mapper181_Init(CartInfo *info) { - int x; Sync=Sync181; info->Power=MPower; info->Close=MClose; GameStateRestore=MRestore; DummyCHR=(uint8*)FCEU_gmalloc(8192); + int x; for(x=0;x<8192;x++) DummyCHR[x]=0xff; SetupCartCHRMapping(0x10,DummyCHR,8192,0);