Restore input log playback

This commit is contained in:
andres.delikat 2011-05-08 17:09:34 +00:00
parent a3b996e4e2
commit 1c4fd5456e
1 changed files with 5 additions and 4 deletions

View File

@ -99,7 +99,7 @@ namespace BizHawk.MultiClient
InitControls(); InitControls();
Global.Emulator = new NullEmulator(); Global.Emulator = new NullEmulator();
InputLog.StopMovie(); //InputLog.StopMovie();
Global.ActiveController = Global.NullControls; Global.ActiveController = Global.NullControls;
Global.Sound = new Sound(Handle, Global.DSound); Global.Sound = new Sound(Handle, Global.DSound);
Global.Sound.StartSound(); Global.Sound.StartSound();
@ -640,12 +640,13 @@ namespace BizHawk.MultiClient
if (InputLog.GetMovieMode() == MOVIEMODE.RECORD) if (InputLog.GetMovieMode() == MOVIEMODE.RECORD)
InputLog.StartNewRecording(); //TODO: Uncomment and check for a user movie selected? InputLog.StartNewRecording(); //TODO: Uncomment and check for a user movie selected?
else if (InputLog.GetMovieMode() == MOVIEMODE.PLAY) /*
else if (InputLog.GetMovieMode() == MOVIEMODE.PLAY)
{ {
InputLog.LoadMovie(); //TODO: Debug InputLog.LoadMovie(); //TODO: Debug
InputLog.StartPlayback(); //TODO: Debug InputLog.StartPlayback(); //TODO: Debug
} }
*/
//setup the throttle based on platform's specifications //setup the throttle based on platform's specifications
//(one day later for some systems we will need to modify it at runtime as the display mode changes) //(one day later for some systems we will need to modify it at runtime as the display mode changes)
{ {
@ -696,7 +697,7 @@ namespace BizHawk.MultiClient
writer.Close(); writer.Close();
} }
Global.Emulator = new NullEmulator(); Global.Emulator = new NullEmulator();
InputLog.StopMovie(); //InputLog.StopMovie();
Global.ActiveController = Global.NullControls; Global.ActiveController = Global.NullControls;
} }