Skip to content

Commit

Permalink
Supports CSpect 2.12.26 ClearAllBreakpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
maziac committed May 14, 2020
1 parent 294db08 commit d2fb3c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.0.0
- Supports CSpect 2.12.26 ClearAllBreakpoints.

## 0.10.0
- Registers I and R can be changed now.
- Corrected retrieving of register HL', I, R and IM.
Expand Down
5 changes: 3 additions & 2 deletions Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected static void StartCpu(bool start)
if (start)
{
// Run
cspect.Debugger(Plugin.eDebugCommand.Run);
cspect.Debugger(Plugin.eDebugCommand.Run);
}
else
{
Expand Down Expand Up @@ -328,9 +328,10 @@ protected static void ClearAllBreakAndWatchpoints()
{
// Clear all breakpoints etc.
var cspect = Main.CSpect;
cspect.Debugger(Plugin.eDebugCommand.ClearAllBreakpoints);
for (int addr = 0; addr < 0x10000; addr++)
{
cspect.Debugger(Plugin.eDebugCommand.ClearBreakpoint, addr);
//cspect.Debugger(Plugin.eDebugCommand.ClearBreakpoint, addr);
cspect.Debugger(Plugin.eDebugCommand.ClearReadBreakpoint, addr);
cspect.Debugger(Plugin.eDebugCommand.ClearWriteBreakpoint, addr);
}
Expand Down
2 changes: 1 addition & 1 deletion DeZogPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="Plugin">
<HintPath>..\CSpect2_12_23\Plugin.dll</HintPath>
<HintPath>..\CSpect2_12_26\Plugin.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("0.10.0.*")]
[assembly: AssemblyVersion("1.0.0.*")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down

0 comments on commit d2fb3c8

Please sign in to comment.