Skip to content

Commit

Permalink
Remove unnecessary libgame dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pleonex authored and Benito Palacios Sanchez committed Sep 6, 2016
1 parent f0121ae commit 91f3e0f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 32 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "libgame"]
path = libgame
url = git@github.com:pleonex/libgame.git
3 changes: 0 additions & 3 deletions NitroDebugger.UnitTests/NitroDebugger.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="libgame">
<HintPath>..\libgame\bin\Debug\libgame.dll</HintPath>
</Reference>
<Reference Include="Moq">
<HintPath>..\packages\Moq.4.2.1507.0118\lib\net40\Moq.dll</HintPath>
</Reference>
Expand Down
3 changes: 0 additions & 3 deletions NitroDebugger/NitroDebugger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
</PropertyGroup>
<ItemGroup>
<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="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
Expand Down
22 changes: 0 additions & 22 deletions NitroDebugger/RSP/GdbClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using NitroDebugger;
using NitroDebugger.RSP.Packets;
using Libgame;
using System.IO;
using Libgame.IO;

namespace NitroDebugger.RSP
{
Expand All @@ -49,24 +45,6 @@ public GdbClient()
this.Execution = new ExecutionManager(this);
this.Stream = new GdbStream(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 {
Expand Down
1 change: 0 additions & 1 deletion libgame
Submodule libgame deleted from 76a95a

0 comments on commit 91f3e0f

Please sign in to comment.