mirror of
https://github.com/holub/mame
synced 2025-07-07 19:03:29 +03:00
delegate fix - lambda always have object (nw)
This commit is contained in:
parent
a63ab8bb6d
commit
ef51470515
@ -545,7 +545,7 @@ public:
|
||||
}
|
||||
|
||||
// getters
|
||||
bool has_object() const { return (object() != nullptr); }
|
||||
bool has_object() const { return (object() != nullptr) || m_std_func; }
|
||||
|
||||
// helpers
|
||||
bool isnull() const { return (m_raw_function == nullptr && m_raw_mfp.isnull() && !m_std_func); }
|
||||
|
Loading…
Reference in New Issue
Block a user