mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-05 21:38:17 +01:00
sync with official
This commit is contained in:
parent
99e60ca35f
commit
98aedae304
@ -390,6 +390,8 @@ static void CheckHInfo(void)
|
||||
0x1b084107d0878bd0LL, /* Startropics 2*/
|
||||
|
||||
0x836c0ff4f3e06e45LL, /* Zelda 2 */
|
||||
|
||||
0x82000965f04a71bbLL, /* Mirai Shinwa Jarvas */
|
||||
|
||||
0 /* Abandon all hope if the game has 0 in the lower 64-bits of its MD5 hash */
|
||||
};
|
||||
|
@ -87,7 +87,8 @@ static void booga(int version)
|
||||
|
||||
void Mapper80_init(void)
|
||||
{
|
||||
SetWriteHandler(0x4020,0x7fff,Mapper80_write);
|
||||
SetWriteHandler(0x4020,0x7eff,Mapper80_write);// 7f00-7fff battery backed ram inside mapper chip,
|
||||
// controlled by 7ef8 register, A8 - enable, FF - disable (?)
|
||||
MapStateRestore=booga;
|
||||
isfu=0;
|
||||
}
|
||||
|
@ -135,9 +135,14 @@ void MovieData::TryDumpIncremental()
|
||||
{
|
||||
currMovieData.insertEmpty(-1,1);
|
||||
}
|
||||
|
||||
|
||||
MovieData::dumpSavestateTo(&currMovieData.records[currFrameCounter].savestate,Z_DEFAULT_COMPRESSION);
|
||||
currMovieData.greenZoneCount++;
|
||||
} else if (currFrameCounter < currMovieData.greenZoneCount || !movie_readonly)
|
||||
{
|
||||
if (turbo && pauseframe-256>currFrameCounter && ((currFrameCounter-pauseframe)&0xff))
|
||||
return;
|
||||
MovieData::dumpSavestateTo(&currMovieData.records[currFrameCounter].savestate,Z_DEFAULT_COMPRESSION);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user