sinamas 9db3603c9b add game pak info method. do not print in libgambatte.
do print rom title and game pak info in qt/sdl ports.
add header checksum info.
add [bad] to qt window title if header checksum is bad.

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@346 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:49:36 +00:00

26 lines
432 B
C++

#ifndef GAMBATTE_PAKINFO_H
#define GAMBATTE_PAKINFO_H
#include <string>
namespace gambatte {
class PakInfo {
public:
PakInfo();
PakInfo(bool multipak, unsigned rombanks, unsigned char const romheader[]);
bool headerChecksumOk() const;
std::string const mbc() const;
unsigned rambanks() const;
unsigned rombanks() const;
private:
unsigned short flags_;
unsigned short rombanks_;
unsigned char h144x_[12];
};
}
#endif