Mapper42: Support for 256K prg rom fds conversion of Green Beret
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* FDS Conversion
|
||||
*
|
||||
* - Ai Senshi Nicol (256K PRG, 128K CHR)
|
||||
* - Bio Miracle Bokutte Upa (J) (128K PRG, 0K CHR)
|
||||
*/
|
||||
|
||||
#include "mapinc.h"
|
||||
@@ -76,6 +77,11 @@ static void StateRestore(int version) {
|
||||
}
|
||||
|
||||
void Mapper42_Init(CartInfo *info) {
|
||||
if (info->CHRRomSize == 0 && info->PRGRomSize > 131072) {
|
||||
/* Green Beret FDS Conversion can be 160K or 256K */
|
||||
AC08_Init(info);
|
||||
return;
|
||||
}
|
||||
info->Power = M42Power;
|
||||
MapIRQHook = M42IRQHook;
|
||||
GameStateRestore = StateRestore;
|
||||
|
||||
Reference in New Issue
Block a user