Resolving Issue 13. Easy fix; just needed to check if the string was empty before doing substring operations on it.

This commit is contained in:
brandman211 2012-03-27 07:48:05 +00:00
parent 46a638ee96
commit 9ff5f10a70
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ namespace BizHawk.MultiClient
if (Global.MovieSession.Movie.Mode == MOVIEMODE.PLAY)
{
string str = Global.MovieSession.Movie.GetInputFrame(Global.Emulator.Frame);
if (Global.Config.TASUpdatePads)
if (Global.Config.TASUpdatePads == true && str != "")
{
switch (Global.Emulator.SystemId)
{