mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-24 15:12:23 +01:00
byuu says: This is a few days old, but oh well. This WIP changes nall,hiro,ruby,icarus back to (u)int(8,16,32,64)_t. I'm slowly pushing for (u)int(8,16,32,64) to use my custom Integer<Size>/Natural<Size> classes instead. But it's going to be one hell of a struggle to get that into higan.
11 lines
282 B
C++
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");
|
|
}
|