housekeeping

This commit is contained in:
Justin Scofield
2022-06-12 13:33:21 -04:00
parent 95984a39f3
commit e154b53fc2

View File

@@ -35,7 +35,7 @@ class ROM {
unsigned int getRomPosition(const TilePreset& preset, int directAddr, unsigned int getRomPosition(const TilePreset& preset, int directAddr,
unsigned int snesAddr); unsigned int snesAddr);
int SnesToPc(int addr); int SnesToPc(int addr);
short AddressFromBytes(byte addr1, byte addr2); short AddressFromBytes(byte addr1, byte addr2);
ushort ReadShort(int addr); ushort ReadShort(int addr);
void Write(int addr, byte value); void Write(int addr, byte value);
@@ -59,17 +59,17 @@ class ROM {
byte* current_rom_; byte* current_rom_;
char* rom_data_; char* rom_data_;
bool fastrom;
long int size;
enum rom_type type;
unsigned char title[21] = "ROM Not Loaded";
unsigned char version;
bool overrideHeaderInfo; bool overrideHeaderInfo;
bool overridenHeaderInfo; bool overridenHeaderInfo;
unsigned int lastUnCompressSize; unsigned int lastUnCompressSize;
unsigned int lastCompressedSize; unsigned int lastCompressedSize;
unsigned int lastCompressSize; unsigned int lastCompressSize;
enum rom_type type;
bool fastrom;
unsigned char title[21];
long int size;
unsigned char version;
}; };
} // namespace Utils } // namespace Utils