X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcart.c;h=debb8a2c048142a63b8ae3468806b3def92f3a02;hb=30f0fdd42279a99893034a5d21b64439536c60aa;hp=8ac330ad56cd4d839df16dfb4d2886d563fcaef1;hpb=b4db550e41b2aa277f570d7bff890c8e8ee1831f;p=picodrive.git diff --git a/pico/cart.c b/pico/cart.c index 8ac330a..debb8a2 100644 --- a/pico/cart.c +++ b/pico/cart.c @@ -1,11 +1,11 @@ -// This is part of Pico Library - -// (c) Copyright 2004 Dave, All rights reserved. -// (c) Copyright 2006-2007, Grazvydas "notaz" Ignotas -// Free for non-commercial use. - -// For commercial use, separate licencing terms must be obtained. - +/* + * PicoDrive + * (c) Copyright Dave, 2004 + * (C) notaz, 2006-2010 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include "pico_int.h" #include "../zlib/zlib.h" @@ -458,7 +458,7 @@ static unsigned char *PicoCartAlloc(int filesize, int is_sms) // Allocate space for the rom plus padding // use special address for 32x dynarec - rom = plat_mmap(0x02000000, rom_alloc_size); + rom = plat_mmap(0x02000000, rom_alloc_size, 0, 0); return rom; } @@ -823,6 +823,8 @@ static void parse_carthw(const char *carthw_cfg, int *fill_sram) carthw_realtec_startup(); else if (strcmp(p, "radica_mapper") == 0) carthw_radica_startup(); + else if (strcmp(p, "piersolar_mapper") == 0) + carthw_pier_startup(); else if (strcmp(p, "prot_lk3") == 0) carthw_prot_lk3_startup(); else {