修正编译问题

This commit is contained in:
root 2024-05-23 21:57:06 +08:00
parent 279bde6988
commit ed4bc6c8c5
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,6 @@ struct ROM {
std::swap(rom_mask, other.rom_mask);
std::swap(eeprom_mask, other.eeprom_mask);
// 新增
std::swap(backup_flash, other.backup_flash);
std::swap(backup_type, other.backup_type);
std::swap(rtc_visit_flag, other.rtc_visit_flag);
std::swap(first_visit_flag, other.first_visit_flag);
@ -247,8 +246,6 @@ private:
u32 rtc_visit_flag = 0; // 是否用到了RTC
u32 backup_type = 0; // 猜测的存档类型
std::unique_ptr<Backup> backup_flash;
u32 rom_mask = 0;
u32 eeprom_mask = 0;
};

View File

@ -1,6 +1,9 @@
#include <core.hpp>
#include <nba/config.hpp>
#include <nba/rom/backup/eeprom.hpp>
#include <nba/rom/backup/sram.hpp>
#include <nba/rom/backup/flash.hpp>
#include <memory>
#include <vector>