Restore input to the user after StopMovie or going into Movie Finished Mode
This commit is contained in:
parent
d95681c39e
commit
3ccd1b1f66
|
@ -330,14 +330,6 @@ namespace BizHawk.MultiClient
|
||||||
if (mnemonic[8] != '.') programmaticallyPressedButtons.Add("Select");
|
if (mnemonic[8] != '.') programmaticallyPressedButtons.Add("Select");
|
||||||
if (mnemonic[9] != '.') programmaticallyPressedButtons.Add("B");
|
if (mnemonic[9] != '.') programmaticallyPressedButtons.Add("B");
|
||||||
if (mnemonic[10] != '.') programmaticallyPressedButtons.Add("A");
|
if (mnemonic[10] != '.') programmaticallyPressedButtons.Add("A");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,8 +132,11 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
public void StopUserMovie()
|
public void StopUserMovie()
|
||||||
{
|
{
|
||||||
if (UserMovie.GetMovieMode() == MOVIEMODE.RECORD)
|
if (UserMovie.GetMovieMode() != MOVIEMODE.INACTIVE)
|
||||||
|
{
|
||||||
UserMovie.StopMovie();
|
UserMovie.StopMovie();
|
||||||
|
Global.ActiveController.MovieMode = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StopInputLog()
|
public void StopInputLog()
|
||||||
|
|
|
@ -998,7 +998,10 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
Movie m = GetActiveMovie();
|
Movie m = GetActiveMovie();
|
||||||
if (m.GetMovieLength() == Global.Emulator.Frame && m.GetMovieMode() == MOVIEMODE.PLAY)
|
if (m.GetMovieLength() == Global.Emulator.Frame && m.GetMovieMode() == MOVIEMODE.PLAY)
|
||||||
|
{
|
||||||
m.SetMovieFinished();
|
m.SetMovieFinished();
|
||||||
|
Global.ActiveController.MovieMode = false;
|
||||||
|
}
|
||||||
if (m.GetMovieMode() == MOVIEMODE.PLAY)
|
if (m.GetMovieMode() == MOVIEMODE.PLAY)
|
||||||
Global.ActiveController.SetControllersAsMnemonic(m.GetInputFrame(Global.Emulator.Frame) + 1);
|
Global.ActiveController.SetControllersAsMnemonic(m.GetInputFrame(Global.Emulator.Frame) + 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue