Simplify even more!

This commit is contained in:
adelikat 2014-08-13 01:44:22 +00:00
parent e9110be6ff
commit 647adabea3
2 changed files with 1 additions and 6 deletions

View File

@ -135,11 +135,6 @@ namespace BizHawk.Emulation.Common
this.Remove(action);
}
}
public bool Has
{
get { return this.Any(); }
}
}
public class MemoryCallbackSystem

View File

@ -392,7 +392,7 @@ namespace BizHawk.Emulation.Cores.WonderSwan
CoreComm.MemoryCallbackSystem.HasWrites ? WriteCallbackD : null,
CoreComm.MemoryCallbackSystem.HasExecutes ? ExecCallbackD : null);
BizSwan.bizswan_setbuttoncallback(Core,
CoreComm.InputCallback.Has ? ButtonCallbackD : null);
CoreComm.InputCallback.Any() ? ButtonCallbackD : null);
}
#endregion