From ed4bc6c8c554c5f6391c5d67c23fef9283bdc9e0 Mon Sep 17 00:00:00 2001 From: root <182859762@qq.com> Date: Thu, 23 May 2024 21:57:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/nba/include/nba/rom/rom.hpp | 3 --- src/wasm/module.cpp | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nba/include/nba/rom/rom.hpp b/src/nba/include/nba/rom/rom.hpp index d751701..66a26c1 100644 --- a/src/nba/include/nba/rom/rom.hpp +++ b/src/nba/include/nba/rom/rom.hpp @@ -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_flash; - u32 rom_mask = 0; u32 eeprom_mask = 0; }; diff --git a/src/wasm/module.cpp b/src/wasm/module.cpp index 7be7a9a..60e3c14 100644 --- a/src/wasm/module.cpp +++ b/src/wasm/module.cpp @@ -1,6 +1,9 @@ #include #include +#include +#include +#include #include #include