Fixed rewind to still work if there is no active movie.

This commit is contained in:
phillip.grimsrud 2012-05-28 03:32:27 +00:00
parent 0118b34b41
commit 9a1e18045e
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ namespace BizHawk.MultiClient
{
for (int i = 0; i < frames; i++)
{
if (RewindBuf.Count == 0 || 0 == Global.MovieSession.Movie.Length())
if (RewindBuf.Count == 0 || (true == Global.MovieSession.Movie.Loaded && 0 == Global.MovieSession.Movie.Length()))
return;
if (LastState.Length < 0x10000)
Rewind64K();