mirror of
https://github.com/libretro/bsnes.git
synced 2026-11-10 10:41:32 -10:00
* GB: integrated SameBoy v0.12.1 by Lior Halphon * SFC: added HG51B169 (Cx4) math tables into bsnes binary
19 lines
388 B
C++
Executable File
19 lines
388 B
C++
Executable File
#if defined(Hiro_Action)
|
|
|
|
auto mAction::allocate() -> pObject* {
|
|
return new pAction(*this);
|
|
}
|
|
|
|
//
|
|
|
|
auto mAction::remove() -> type& {
|
|
if(auto menu = parentMenu()) menu->remove(*this);
|
|
if(auto menuBar = parentMenuBar()) menuBar->remove((mMenu&)*this);
|
|
#if defined(Hiro_PopupMenu)
|
|
if(auto popupMenu = parentPopupMenu()) popupMenu->remove(*this);
|
|
#endif
|
|
return *this;
|
|
}
|
|
|
|
#endif
|