--- nono/vm/extram.cpp 2026/04/29 17:05:29 1.1.1.4 +++ nono/vm/extram.cpp 2026/04/29 17:06:00 1.1.1.6 @@ -35,10 +35,6 @@ ExtRAMDevice::~ExtRAMDevice() bool ExtRAMDevice::Init() { - if (inherited::Init() == false) { - return false; - } - const ConfigItem& item = gConfig->Find("extram-size"); uint32 extram_size_MB = item.AsInt(); if (extram_size_MB == 0) { @@ -62,8 +58,7 @@ ExtRAMDevice::Init() ram_size = extram_size_MB * 1024 * 1024; ram.reset(new(std::nothrow) uint8[ram_size]); if ((bool)ram == false) { - errno = ENOMEM; - warn("ExtRAM(%u bytes)", ram_size); + warnx("Could not allocate ExtRAM(%u bytes)", ram_size); return false; }