New PPU flag in movie headers (doesn't change an emulators PPU state when loading a movie)

This commit is contained in:
adelikat 2010-05-14 16:03:07 +00:00
parent 31ec231d1f
commit f4e01e6e77
3 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
14-may-2010 - adelikat - New PPU flag in movie headers (doesn't change an emulators PPU state when loading a movie)
13-may-2010 - adelikat - input display overhaul - a more desmume style system which shows both keys held the previous frame and immiately held keys that will be put in on the next frame
12-may-2010 - ugetab - Win32 - Added rudamentry Between-Frames input display code for adelikat to customize.
12-may-2010 - adelikat - Input Display - displays a silver color when input is from a movie rather than the user

View File

@ -363,6 +363,8 @@ void MovieData::installValue(std::string& key, std::string& val)
//todo - use another config system, or drive this from a little data structure. because this is gross
if(key == "FDS")
installInt(val,fds);
else if(key == "New PPU")
installBool(val,PPUflag);
else if(key == "version")
installInt(val,version);
else if(key == "emuVersion")
@ -425,6 +427,7 @@ int MovieData::dump(std::ostream *os, bool binary)
*os << "port1 " << ports[1] << endl;
*os << "port2 " << ports[2] << endl;
*os << "FDS " << isFDS << endl;
*os << "New PPU " << newppu << endl;
for(uint32 i=0;i<comments.size();i++)
*os << "comment " << wcstombs(comments[i]) << endl;

View File

@ -167,6 +167,7 @@ public:
int fds;
//todo - somehow force mutual exclusion for poweron and reset (with an error in the parser)
bool palFlag;
bool PPUflag;
MD5DATA romChecksum;
std::string romFilename;
std::vector<char> savestate;