gpgx: informative fail if an attempted controller isn't supported

This commit is contained in:
goyuken 2013-12-23 23:20:40 +00:00
parent 916e0029c4
commit 4a963bc3b0
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
DoMouseAnalog(i, player);
player++;
break;
case LibGPGX.INPUT_DEVICE.DEVICE_NONE:
break;
default:
throw new Exception("Unhandled control device! Something needs to be implemented first.");
}
}