Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormRawViewer #177

Merged
merged 4 commits into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BreaksPPU/PPUPlayer/FormAbout.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 28 additions & 11 deletions BreaksPPU/PPUPlayer/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions BreaksPPU/PPUPlayer/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -760,5 +760,22 @@ private void propertyGrid1_PropertyValueChanged(object s, PropertyValueChangedEv
PPUPlayerInterop.SetCTRL1((byte)value);
}
}

private void loadRAWDumpToolStripMenuItem_Click(object sender, EventArgs e)
{
if (!SimulationStarted)
{
MessageBox.Show(
"You need to run the simulation so that the PPU instance is active.",
"Message", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}

if (openFileDialogHEX.ShowDialog() == DialogResult.OK)
{
FormRawViewer formRawViewer = new FormRawViewer(openFileDialogHEX.FileName);
formRawViewer.Show();
}
}
}
}
5 changes: 4 additions & 1 deletion BreaksPPU/PPUPlayer/FormMain.resx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
<value>291, 56</value>
</metadata>
<metadata name="openFileDialogPPUDump.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>444, 41</value>
<value>444, 56</value>
</metadata>
<metadata name="openFileDialogHEX.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>637, 55</value>
</metadata>
</root>
105 changes: 105 additions & 0 deletions BreaksPPU/PPUPlayer/FormRawViewer.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading