8bitpineapple / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Control LinkConnected Status via LinkConnectStatusBarButton #321

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a Feature Request (sort of)

In MainForm.cs there is a void called:
LinkConnectStatusBarButton_Click

This method is supposed to toggle the Global.Emulator.CoreComm.LinkConnected 
status.  It does nothing at the moment.

From the Code:
// TODO: it would be cool if clicking this toggled the state

Some code I did (Still doing nothing useful:
if (Global.Emulator.CoreComm.LinkConnected == true)
{
    //Disconnect
    //This Value:  cablediscosignal_new  Changes to False, The Core will disconnect
}
else if (Global.Emulator.CoreComm.LinkConnected == false)
{
    //Reconnect
}

Original issue reported on code.google.com by hegyak on 20 Nov 2014 at 4:16

GoogleCodeExporter commented 9 years ago
In DGB, this is controlled by Controller["Toggle Cable"].  Will other cores be 
using the same controller button name?  If so, then it can be added in the same 
manner that the menu Hard Reset and Soft Reset items work.

Original comment by goyu...@gmail.com on 20 Nov 2014 at 10:07

GoogleCodeExporter commented 9 years ago
I know the Gameboy and Color can use this.

Original comment by hegyak on 22 Nov 2014 at 4:32