fix logic error in Remove call on InputCallbackSystem

This commit is contained in:
adelikat 2014-12-04 22:31:42 +00:00
parent 29b217b587
commit eb085fe29d
1 changed files with 3 additions and 1 deletions

View File

@ -40,10 +40,12 @@ namespace BizHawk.Emulation.Common
public new bool Remove(Action item)
{
var hadAny = this.Any();
return base.Remove(item);
var result = base.Remove(item);
var hasAny = this.Any();
Changes(hadAny, hasAny);
return result;
}
// TODO: these just happen to be all the add/remove methods the client uses, to be thorough the others should be overriden as well