did some more bug testing and fixed another 2 bugs

This commit is contained in:
Xpl0itR 2019-07-05 17:06:27 +01:00
commit 504199394f
No known key found for this signature in database
GPG key ID: 91798184109676AD

View file

@ -92,6 +92,21 @@ namespace Ryujinx
{ {
//Box.Remove(GameTableWindow); //Box.Remove(GameTableWindow);
//Temporary code section start, remove this section and uncomment above line when game is rendered to the glarea in the gui
Box.Remove(GlScreen);
Nfc.Sensitive = false;
ReturnMain.Sensitive = false;
GameTable.AppendColumn("Icon", new CellRendererPixbuf(), "pixbuf", 0);
GameTable.AppendColumn("Game", new CellRendererText(), "text", 1);
GameTable.AppendColumn("Time Played", new CellRendererText(), "text", 2);
GameTable.AppendColumn("Last Played", new CellRendererText(), "text", 3);
GameTable.AppendColumn("File Size", new CellRendererText(), "text", 4);
GameTable.AppendColumn("Path", new CellRendererText(), "text", 5);
_TableStore = new ListStore(typeof(Gdk.Pixbuf), typeof(string), typeof(string), typeof(string), typeof(string), typeof(string));
GameTable.Model = _TableStore;
UpdateGameTable();
//Temporary code section end
LoadApplication(args[0]); LoadApplication(args[0]);
} }
else else
@ -168,7 +183,9 @@ namespace Ryujinx
eRrOr.Destroy(); eRrOr.Destroy();
} }
else if (Directory.Exists(path)) else
{
if (Directory.Exists(path))
{ {
string[] romFsFiles = Directory.GetFiles(path, "*.istorage"); string[] romFsFiles = Directory.GetFiles(path, "*.istorage");
@ -252,6 +269,7 @@ namespace Ryujinx
} }
} }
} }
}
private static void CreateGameWindow() private static void CreateGameWindow()
{ {