allow deviceButton or gb to be invalid

This commit is contained in:
Glenn Maynard
2007-01-12 06:04:14 +00:00
parent 24d5d5220c
commit bcc126848d
+1 -1
View File
@@ -15,7 +15,7 @@ const int NUM_USER_GAME_TO_DEVICE_SLOTS = 2;
struct InputMapping
{
bool IsEndMarker() const { return gb == GameButton_Invalid; }
bool IsEndMarker() const { return deviceButton == deviceButton && gb == GameButton_Invalid; }
int iSlotIndex;
DeviceButton deviceButton;