Merge pull request #255 from pjft/asteborg

Add preliminary support for Demons of Asteborg
This commit is contained in:
Autechre 2021-08-04 21:40:10 +02:00 committed by GitHub
commit 29686accba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -599,6 +599,14 @@ void md_cart_init(void)
/* cartridge ROM mapping is reinitialized on /VRES */
cart.hw.bankshift = 1;
}
else if (strstr(rominfo.domestic,"DEMONS OF ASTEBORG"))
{
/* Demons of Asteborg uses the SSF2 mapper */
cart.hw.time_w = mapper_ssf2_w;
/* cartridge ROM mapping is reinitialized on /VRES */
cart.hw.bankshift = 1;
}
else if (strstr(rominfo.product,"T-5740"))
{
/* T-5740XX-XX mapper */

View File

@ -41,7 +41,7 @@
#define _LOADROM_H_
#ifndef MAXROMSIZE
#define MAXROMSIZE 10485760
#define MAXROMSIZE 33554432
#endif
typedef struct