Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #255 from pjft/asteborg
Add preliminary support for Demons of Asteborg
  • Loading branch information
inactive123 committed Aug 4, 2021
2 parents d2291c5 + 73665c7 commit 29686ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions core/cart_hw/md_cart.c
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion core/loadrom.h
Expand Up @@ -41,7 +41,7 @@
#define _LOADROM_H_

#ifndef MAXROMSIZE
#define MAXROMSIZE 10485760
#define MAXROMSIZE 33554432
#endif

typedef struct
Expand Down

1 comment on commit 29686ac

@ner00
Copy link

@ner00 ner00 commented on 29686ac Aug 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be replaced with the current implementation from Eke-Eke from the following commits:

Please sign in to comment.