--- nono/m88xx0/testdis.cpp 2026/04/29 17:04:58 1.1.1.2 +++ nono/m88xx0/testdis.cpp 2026/04/29 17:05:07 1.1.1.3 @@ -6,6 +6,7 @@ #include "m88100disasm.h" #include "config.h" +#include "mpu.h" #include "mystring.h" #define O(inst, expstd) { __LINE__, inst, expstd } @@ -732,13 +733,16 @@ vm_phys_peek_8(uint32 addr) // リンカを通すためのダミー Disasm::~Disasm() { } DebuggerMD::~DebuggerMD() { } +MPUDevice *gMPU; int main(int ac, char *av[]) { saddr_t saddr; - gConfig.reset(new Config()); + std::unique_ptr pConfig; + pConfig.reset(new Config()); + gConfig = pConfig.get(); gConfig->Update(std::vector { ".m88k-altname=1" }); // DebuggerMD (の継承クラス)を用意するのは芋づる式に大変なので、