mirror of https://github.com/stella-emu/stella.git
Added code to the bankswitching type auto-detect method so that ROMs
which are 10,495 or 10,240 bytes in length are considered to be DPC based games. This should allow hacks of Pitfall II to work. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@161 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
ab92e184cd
commit
897604d379
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: Cart.cxx,v 1.4 2002-08-14 02:30:52 bwmott Exp $
|
// $Id: Cart.cxx,v 1.5 2002-12-15 05:49:04 bwmott Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -180,6 +180,10 @@ string Cartridge::autodetectType(const uInt8* image, uInt32 size)
|
||||||
{
|
{
|
||||||
type = "F8";
|
type = "F8";
|
||||||
}
|
}
|
||||||
|
else if((size == 10495) || (size == 10240))
|
||||||
|
{
|
||||||
|
type = "DPC";
|
||||||
|
}
|
||||||
else if(size == 12288)
|
else if(size == 12288)
|
||||||
{
|
{
|
||||||
type = "FASC";
|
type = "FASC";
|
||||||
|
|
Loading…
Reference in New Issue