notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge mappers from FCEU-mm
[fceu.git]
/
boards
/
h2288.c
diff --git
a/boards/h2288.c
b/boards/h2288.c
index
7786daf
..
a3b5a0b
100644
(file)
--- a/
boards/h2288.c
+++ b/
boards/h2288.c
@@
-15,7
+15,7
@@
*
\r
* You should have received a copy of the GNU General Public License
\r
* along with this program; if not, write to the Free Software
\r
*
\r
* You should have received a copy of the GNU General Public License
\r
* along with this program; if not, write to the Free Software
\r
- * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
\r
+ * Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
\r
*/
\r
\r
#include "mapinc.h"
\r
*/
\r
\r
#include "mapinc.h"
\r
@@
-61,23
+61,14
@@
static DECLFW(H2288WriteLo)
}
\r
}
\r
\r
}
\r
}
\r
\r
-static DECLFR(H2288Read)
\r
-{
\r
- int bit;
\r
- bit=(A&1)^1;
\r
- bit&=((A>>8)&1);
\r
- bit^=1;
\r
- return((X.DB&0xFE)|bit);
\r
-}
\r
-
\r
static void H2288Power(void)
\r
{
\r
EXPREGS[0]=EXPREGS[1]=0;
\r
GenMMC3Power();
\r
static void H2288Power(void)
\r
{
\r
EXPREGS[0]=EXPREGS[1]=0;
\r
GenMMC3Power();
\r
- SetReadHandler(0x5000,0x5FFF,H2288Read);
\r
+
//
SetReadHandler(0x5000,0x5FFF,H2288Read);
\r
SetReadHandler(0x8000,0xFFFF,CartBR);
\r
SetWriteHandler(0x5000,0x5FFF,H2288WriteLo);
\r
SetReadHandler(0x8000,0xFFFF,CartBR);
\r
SetWriteHandler(0x5000,0x5FFF,H2288WriteLo);
\r
- SetWriteHandler(0x8000,0x
8
FFF,H2288WriteHi);
\r
+ SetWriteHandler(0x8000,0x
9
FFF,H2288WriteHi);
\r
}
\r
\r
void UNLH2288_Init(CartInfo *info)
\r
}
\r
\r
void UNLH2288_Init(CartInfo *info)
\r