Ram Search UpdateValues() hooked up to GameTick() enjoy the awesome slowness!
This commit is contained in:
parent
28d01b57ef
commit
98a51b3290
|
@ -379,6 +379,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
Global.Emulator.FrameAdvance(true); //TODO: Do these things need to happen on (false) as well? Think about it
|
||||
RamWatch1.UpdateValues();
|
||||
RamSearch1.UpdateValues();
|
||||
}
|
||||
|
||||
public void GameTick()
|
||||
|
|
|
@ -20,8 +20,6 @@ namespace BizHawk.MultiClient
|
|||
//Reset window position item
|
||||
int defaultWidth; //For saving the default size of the dialog, so the user can restore if desired
|
||||
int defaultHeight;
|
||||
|
||||
int hackyPCEStartAddress = 0x1F0000;
|
||||
|
||||
List<Watch> searchList = new List<Watch>();
|
||||
|
||||
|
@ -30,6 +28,17 @@ namespace BizHawk.MultiClient
|
|||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void UpdateValues()
|
||||
{
|
||||
//TODO: update based on atype
|
||||
for (int x = 0; x < searchList.Count; x++)
|
||||
{
|
||||
searchList[x].value = Global.Emulator.MainMemory.PeekByte(searchList[x].address);
|
||||
//TODO: format based on asigned
|
||||
SearchListView.Items[x].SubItems[1].Text = searchList[x].value.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
private void RamSearch_Load(object sender, EventArgs e)
|
||||
{
|
||||
defaultWidth = this.Size.Width; //Save these first so that the user can restore to its original size
|
||||
|
|
Loading…
Reference in New Issue