n2xrom.h (314B)
1 #pragma once 2 3 #include "n2xromdata.h" 4 #include "n2xtypes.h" 5 6 namespace n2x 7 { 8 class Rom : public RomData<g_romSize> 9 { 10 public: 11 Rom(); 12 Rom(const std::string& _filename); 13 Rom(const std::vector<uint8_t>& _data, const std::string& _filename); 14 15 static bool isValidRom(const std::vector<uint8_t>& _data); 16 }; 17 }