Update
This commit is contained in:
@@ -67,5 +67,5 @@ void UNL158B_Init(CartInfo *info) {
|
||||
GenMMC3_Init(info, 128, 128, 0, 0);
|
||||
pwrap = UNL158BPW;
|
||||
info->Power = UNL158BPower;
|
||||
AddExState(EXPREGS, 6, 0, "EXPR");
|
||||
AddExState(EXPREGS, 8, 0, "EXPR");
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ static DECLFW(Write2) {
|
||||
trigger ^= 1;
|
||||
}
|
||||
laststrobe = V;
|
||||
} else if (A == 0x5100 && V == 6) /* damn thoose protected games */
|
||||
} else if (A == 0x5100 && V == 6) /* damn those protected games */
|
||||
setprg32(0x8000, 3);
|
||||
else
|
||||
switch (A & 0x7300) {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* RacerMate Chalenge II
|
||||
* RacerMate Challenge II
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -58,7 +58,7 @@ static void M168Power(void) {
|
||||
SetReadHandler(0x8000, 0xFFFF, CartBR);
|
||||
}
|
||||
|
||||
static void MNNNClose(void) {
|
||||
static void M168Close(void) {
|
||||
if (CHRRAM)
|
||||
FCEU_gfree(CHRRAM);
|
||||
CHRRAM = NULL;
|
||||
@@ -70,7 +70,7 @@ static void StateRestore(int version) {
|
||||
|
||||
void Mapper168_Init(CartInfo *info) {
|
||||
info->Power = M168Power;
|
||||
info->Close = MNNNClose;
|
||||
info->Close = M168Close;
|
||||
GameStateRestore = StateRestore;
|
||||
AddExState(&StateRegs, ~0, 0, 0);
|
||||
|
||||
|
||||
@@ -57,10 +57,10 @@ static DECLFR(UNLBMW8544ProtRead) {
|
||||
if(!(A & 1)) {
|
||||
if((EXPREGS[0] & 0xE0) == 0xC0) {
|
||||
EXPREGS[1] = ARead[0x6a](0x6a); /* program can latch some data from the BUS, but I can't say how exactly, */
|
||||
} else { /* without more euipment and skills ;) probably here we can try to get any write */
|
||||
} else { /* without more equipment and skills ;) probably here we can try to get any write */
|
||||
EXPREGS[2] = ARead[0xff](0xff); /* before the read operation */
|
||||
}
|
||||
FixMMC3CHR(MMC3_cmd & 0x7F); /* there are more different behaviour of the board isn't used by game itself, so unimplemented here and */
|
||||
FixMMC3CHR(MMC3_cmd & 0x7F); /* there are more different behaviour of the board that's not used by game itself, so unimplemented here and */
|
||||
} /* actually will break the current logic ;) */
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -82,9 +82,9 @@ _MANAGE_CHANNEL: .BYTE 0,$70, 0, 0, 8
|
||||
byte_8CE5: .BYTE 0,$74, 0, 0,$12
|
||||
byte_8C29: .BYTE 0,$76, 0, 0, 8
|
||||
byte_8CC6: .BYTE 0,$78, 0, 0,$12
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if 0 /* Silenced since unused */
|
||||
static uint8 sim0reset[0x1F] = {
|
||||
0x3B, 0xE9, 0x00, 0xFF, 0xC1, 0x10, 0x31, 0xFE,
|
||||
0x55, 0xC8, 0x10, 0x20, 0x55, 0x47, 0x4F, 0x53,
|
||||
|
||||
@@ -100,7 +100,7 @@ static uint64 CartList[] =
|
||||
0
|
||||
};
|
||||
|
||||
int DetectPRGbonus(CartInfo *tmp) {
|
||||
static int DetectPRGbonus(CartInfo *tmp) {
|
||||
int x, i = 0;
|
||||
uint64 partialmd5 = 0;
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@ static void DoNamcoSoundHQ(void) {
|
||||
lengo = LengthCache[P];
|
||||
|
||||
duff2 = FetchDuff(P, envelope);
|
||||
for (V = CVBC << 1; V < SOUNDTS << 1; V++) {
|
||||
for (V = CVBC << 1; V < (int)SOUNDTS << 1; V++) {
|
||||
WaveHi[V >> 1] += duff2;
|
||||
if (!vco) {
|
||||
PlayIndex[P] += freq;
|
||||
|
||||
@@ -65,15 +65,15 @@ static void Sync(void) {
|
||||
setchr8(0);
|
||||
else {
|
||||
uint8 i;
|
||||
if (!weirdo)
|
||||
/* if (!weirdo) */
|
||||
for (i = 0; i < 8; i++)
|
||||
setchr1(i << 10, (chrhi[i] | chrreg[i]) >> is22);
|
||||
else {
|
||||
/* else {
|
||||
setchr1(0x0000, 0xFC);
|
||||
setchr1(0x0400, 0xFD);
|
||||
setchr1(0x0800, 0xFF);
|
||||
weirdo--;
|
||||
}
|
||||
} */
|
||||
}
|
||||
switch (mirr & 0x3) {
|
||||
case 0: setmirror(MI_V); break;
|
||||
|
||||
@@ -19,7 +19,10 @@
|
||||
*/
|
||||
|
||||
#include "mapinc.h"
|
||||
#include "emu2413.h"
|
||||
|
||||
static int32 dwave = 0;
|
||||
static OPLL *VRC7Sound = NULL;
|
||||
static uint8 vrc7idx, preg[3], creg[8], mirr;
|
||||
static uint8 IRQLatch, IRQa, IRQd;
|
||||
static int32 IRQCount, CycleCount;
|
||||
@@ -42,11 +45,6 @@ static SFORMAT StateRegs[] =
|
||||
|
||||
/* VRC7 Sound */
|
||||
|
||||
#include "emu2413.h"
|
||||
|
||||
static int32 dwave = 0;
|
||||
static OPLL *VRC7Sound = NULL;
|
||||
|
||||
void DoVRC7Sound(void) {
|
||||
int32 z, a;
|
||||
if (FSettings.soundq >= 1)
|
||||
|
||||
@@ -71,7 +71,7 @@ static void UNLYOKOSync(void) {
|
||||
}
|
||||
|
||||
static void M83Sync(void) {
|
||||
switch (mode & 3) { /* check if it is truth */
|
||||
switch (mode & 3) { /* check if it is true */
|
||||
case 0: setmirror(MI_V); break;
|
||||
case 1: setmirror(MI_H); break;
|
||||
case 2: setmirror(MI_0); break;
|
||||
|
||||
Reference in New Issue
Block a user