bsnes/icarus/heuristics/game-gear.cpp

21 lines
642 B
C++
Raw Normal View History

struct GameGearCartridge {
GameGearCartridge(string location, uint8_t* data, uint size);
string manifest;
//private:
struct Information {
} information;
};
GameGearCartridge::GameGearCartridge(string location, uint8_t* data, uint size) {
manifest.append("board\n");
manifest.append(" rom name=program.rom size=0x", hex(size), "\n");
manifest.append("\n");
manifest.append("information\n");
manifest.append(" title: ", Location::prefix(location), "\n");
manifest.append(" sha256: ", Hash::SHA256(data, size).digest(), "\n");
manifest.append("\n");
manifest.append("note: heuristically generated by icarus\n");
}