--- nono/vm/mpu.cpp 2026/04/29 17:05:17 1.1.1.11 +++ nono/vm/mpu.cpp 2026/04/29 17:05:24 1.1.1.12 @@ -25,9 +25,6 @@ #include "scheduler.h" #include "syncer.h" -// グローバル参照用 -MPUDevice *gMPU; - // コンストラクタ MPUDevice::MPUDevice() : inherited(OBJ_MPU) @@ -38,7 +35,6 @@ MPUDevice::MPUDevice() // デストラクタ MPUDevice::~MPUDevice() { - gMPU = NULL; } // 初期化 @@ -49,10 +45,6 @@ MPUDevice::Init() return false; } - // XXX 主に m680x0 配下がグローバル変数じゃないと色々解決できない。 - // そのうちなんとかする。 - gMPU = this; - debugger = GetDebugger(); mainbus = GetMainbusDevice(); syncer = GetSyncer();