mirror of
https://github.com/pleonex/NitroDebugger.git
synced 2025-06-18 21:25:42 -04:00
Remove unnecessary libgame dependency
This commit is contained in:
parent
f0121aeb9a
commit
91f3e0f0cf
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
|||||||
[submodule "libgame"]
|
|
||||||
path = libgame
|
|
||||||
url = git@github.com:pleonex/libgame.git
|
|
@ -34,9 +34,6 @@
|
|||||||
<Reference Include="nunit.framework">
|
<Reference Include="nunit.framework">
|
||||||
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
|
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="libgame">
|
|
||||||
<HintPath>..\libgame\bin\Debug\libgame.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Moq">
|
<Reference Include="Moq">
|
||||||
<HintPath>..\packages\Moq.4.2.1507.0118\lib\net40\Moq.dll</HintPath>
|
<HintPath>..\packages\Moq.4.2.1507.0118\lib\net40\Moq.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="libgame">
|
|
||||||
<HintPath>..\libgame\bin\Debug\libgame.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||||
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||||
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||||
|
@ -22,13 +22,9 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using NitroDebugger;
|
|
||||||
using NitroDebugger.RSP.Packets;
|
using NitroDebugger.RSP.Packets;
|
||||||
using Libgame;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Libgame.IO;
|
|
||||||
|
|
||||||
namespace NitroDebugger.RSP
|
namespace NitroDebugger.RSP
|
||||||
{
|
{
|
||||||
@ -49,24 +45,6 @@ namespace NitroDebugger.RSP
|
|||||||
this.Execution = new ExecutionManager(this);
|
this.Execution = new ExecutionManager(this);
|
||||||
this.Stream = new GdbStream(this);
|
this.Stream = new GdbStream(this);
|
||||||
this.Registers = new RegisterManager(this);
|
this.Registers = new RegisterManager(this);
|
||||||
this.Root = new GameFile("root", null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public GdbClient(string game)
|
|
||||||
: this()
|
|
||||||
{
|
|
||||||
if (FileManager.IsInitialized()) {
|
|
||||||
var romStream = new DataStream(game, FileMode.Open, FileAccess.Read);
|
|
||||||
var romFile = new GameFile(Path.GetFileName(game), romStream);
|
|
||||||
|
|
||||||
this.Root = romFile;
|
|
||||||
FileManager.GetInstance().Root.AddFile(romFile);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public GameFile Root {
|
|
||||||
get;
|
|
||||||
private set;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConnectionManager Connection {
|
public ConnectionManager Connection {
|
||||||
|
1
libgame
1
libgame
@ -1 +0,0 @@
|
|||||||
Subproject commit 76a95a387ce95be3bbc3907e138301854942d709
|
|
Loading…
Reference in New Issue
Block a user