diff --git a/src/mame/cxg/royal.cpp b/src/mame/cxg/royal.cpp index e9ffe6bd7fd..99270aff766 100644 --- a/src/mame/cxg/royal.cpp +++ b/src/mame/cxg/royal.cpp @@ -76,7 +76,7 @@ public: DECLARE_INPUT_CHANGED_MEMBER(supra_on_button); protected: - virtual void machine_start() override; + virtual void machine_start() override ATTR_COLD; private: // devices/pointers diff --git a/src/mame/igs/pgm2.h b/src/mame/igs/pgm2.h index ba18bb8d9a2..b030f9e0eb9 100644 --- a/src/mame/igs/pgm2.h +++ b/src/mame/igs/pgm2.h @@ -66,7 +66,7 @@ public: void pgm2(machine_config &config) ATTR_COLD; void pgm2_hires(machine_config &config) ATTR_COLD; void pgm2_map(address_map &map) ATTR_COLD; - void pgm2_module_rom_map(address_map &ma ATTR_COLDp); + void pgm2_module_rom_map(address_map &map) ATTR_COLD; void pgm2_ram_rom_map(address_map &map) ATTR_COLD; void pgm2_rom_map(address_map &map) ATTR_COLD;