src/mess/machine/c64.c
| r5523 | r5524 | |
| 1112 | 1112 | /* If it is unsupported cart type, warn the user */ |
| 1113 | 1113 | switch (c64_cart_type) |
| 1114 | 1114 | { |
| 1115 | | case GENERIC_CRT: |
| 1115 | case KCS_PC: /* Type # 2 */ |
| 1116 | case FINAL_CART_III: /* Type # 3 */ |
| 1117 | case SIMONS_BASIC: /* Type # 4 */ |
| 1118 | case OCEAN_1: /* Type # 5 */ |
| 1119 | case FUN_PLAY: /* Type # 7 */ |
| 1120 | case EPYX_FASTLOAD: /* Type # 10 */ |
| 1121 | case WESTERMANN: /* Type # 11 */ |
| 1122 | case FINAL_CART_I: /* Type # 13 */ |
| 1123 | case C64GS: /* Type # 15 */ |
| 1124 | case DINAMIC: /* Type # 17 */ |
| 1125 | case COMAL_80: /* Type # 21 */ |
| 1126 | case GENERIC_CRT: /* Type # 0 */ |
| 1116 | 1127 | printf("Currently supported cart type (Type %d)\n", c64_cart_type); |
| 1117 | 1128 | break; |
| 1118 | 1129 | |
| r5523 | r5524 | |
| 1270 | 1281 | } |
| 1271 | 1282 | */ |
| 1272 | 1283 | memcpy(roml, cart + 0 * 0x2000, 0x2000); |
| 1273 | | if (n_banks > 1) memcpy(romh, cart + 1 * 0x2000, 0x2000); |
| 1284 | memcpy(romh, cart + 1 * 0x2000, 0x2000); |
| 1274 | 1285 | |
| 1275 | 1286 | c64_cart_n_banks = n_banks; // this is needed so that we only set mappers if a cart is present! |
| 1276 | 1287 | return INIT_PASS; |