gpgx: contrl infrastructure
This commit is contained in:
parent
a33f926675
commit
ee0ca870ff
|
@ -340,6 +340,13 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
|
|||
ControllerDefinition = ControlConverter.ControllerDef;
|
||||
}
|
||||
|
||||
public LibGPGX.INPUT_DEVICE GetDeviceAtPort(int i)
|
||||
{
|
||||
if (i < 0 || i >= LibGPGX.MAX_DEVICES)
|
||||
throw new IndexOutOfRangeException();
|
||||
return input.dev[i];
|
||||
}
|
||||
|
||||
// core callback for input
|
||||
void input_callback()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue