bsnes/icarus/heuristics/bs-memory.cpp

11 lines
282 B
C++

struct BSMemoryCartridge {
BSMemoryCartridge(const uint8_t* data, uint size);
string markup;
};
BSMemoryCartridge::BSMemoryCartridge(const uint8_t* data, uint size) {
markup.append("board\n");
markup.append(" rom type=flash name=program.rom size=0x", hex(size), "\n");
}