parent
b4e1286dd3
commit
3ee1fe0d4b
|
@ -19,6 +19,9 @@
|
||||||
#include "../registers.h"
|
#include "../registers.h"
|
||||||
#include "../MMU.h"
|
#include "../MMU.h"
|
||||||
#include "../NDSSystem.h"
|
#include "../NDSSystem.h"
|
||||||
|
#ifdef HOST_WINDOWS
|
||||||
|
#include "../windows/inputdx.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
class Slot2_Auto : public ISlot2Interface
|
class Slot2_Auto : public ISlot2Interface
|
||||||
{
|
{
|
||||||
|
@ -76,6 +79,12 @@ public:
|
||||||
mSelectedImplementation = slot2_List[selection];
|
mSelectedImplementation = slot2_List[selection];
|
||||||
mSelectedImplementation->connect();
|
mSelectedImplementation->connect();
|
||||||
printf("Slot2 auto-selected device type: %s\n", mSelectedImplementation->info()->name());
|
printf("Slot2 auto-selected device type: %s\n", mSelectedImplementation->info()->name());
|
||||||
|
|
||||||
|
#ifdef HOST_WINDOWS
|
||||||
|
Guitar.Enabled = (selection == NDS_SLOT2_GUITARGRIP)?true:false;
|
||||||
|
Piano.Enabled = (selection == NDS_SLOT2_EASYPIANO)?true:false;
|
||||||
|
Paddle.Enabled = (selection == NDS_SLOT2_PADDLE)?true:false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void disconnect()
|
virtual void disconnect()
|
||||||
|
|
Loading…
Reference in New Issue