Option to Bind Savestates to Movies (on by default)
This commit is contained in:
parent
27174be2a2
commit
40f473d629
|
@ -249,6 +249,7 @@
|
||||||
//Movie Settings
|
//Movie Settings
|
||||||
public RecentFiles RecentMovies = new RecentFiles(8);
|
public RecentFiles RecentMovies = new RecentFiles(8);
|
||||||
public bool AutoLoadMostRecentMovie = false;
|
public bool AutoLoadMostRecentMovie = false;
|
||||||
|
public bool BindSavestatesToMovies = true;
|
||||||
|
|
||||||
//TI83
|
//TI83
|
||||||
public bool TI83disableSaveSlotKeys = true;
|
public bool TI83disableSaveSlotKeys = true;
|
||||||
|
|
|
@ -139,6 +139,7 @@
|
||||||
this.startPausedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.startPausedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.enableRewindToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.enableRewindToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.forceGDIPPresentationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.forceGDIPPresentationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.runInBackgroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.frameSkipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.frameSkipToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.miLimitFramerate = new System.Windows.Forms.ToolStripMenuItem();
|
this.miLimitFramerate = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.miDisplayVsync = new System.Windows.Forms.ToolStripMenuItem();
|
this.miDisplayVsync = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
@ -188,7 +189,7 @@
|
||||||
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
this.EmuStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
this.EmuStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.runInBackgroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.bindSavestatesToMoviesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -236,7 +237,7 @@
|
||||||
// openROMToolStripMenuItem
|
// openROMToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.openROMToolStripMenuItem.Name = "openROMToolStripMenuItem";
|
this.openROMToolStripMenuItem.Name = "openROMToolStripMenuItem";
|
||||||
this.openROMToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.openROMToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.openROMToolStripMenuItem.Text = "Open ROM";
|
this.openROMToolStripMenuItem.Text = "Open ROM";
|
||||||
this.openROMToolStripMenuItem.Click += new System.EventHandler(this.openROMToolStripMenuItem_Click);
|
this.openROMToolStripMenuItem.Click += new System.EventHandler(this.openROMToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
@ -248,7 +249,7 @@
|
||||||
this.clearToolStripMenuItem,
|
this.clearToolStripMenuItem,
|
||||||
this.autoloadMostRecentToolStripMenuItem});
|
this.autoloadMostRecentToolStripMenuItem});
|
||||||
this.recentROMToolStripMenuItem.Name = "recentROMToolStripMenuItem";
|
this.recentROMToolStripMenuItem.Name = "recentROMToolStripMenuItem";
|
||||||
this.recentROMToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.recentROMToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.recentROMToolStripMenuItem.Text = "Recent ROM";
|
this.recentROMToolStripMenuItem.Text = "Recent ROM";
|
||||||
this.recentROMToolStripMenuItem.DropDownOpened += new System.EventHandler(this.recentROMToolStripMenuItem_DropDownOpened);
|
this.recentROMToolStripMenuItem.DropDownOpened += new System.EventHandler(this.recentROMToolStripMenuItem_DropDownOpened);
|
||||||
//
|
//
|
||||||
|
@ -280,14 +281,14 @@
|
||||||
// closeROMToolStripMenuItem
|
// closeROMToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.closeROMToolStripMenuItem.Name = "closeROMToolStripMenuItem";
|
this.closeROMToolStripMenuItem.Name = "closeROMToolStripMenuItem";
|
||||||
this.closeROMToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.closeROMToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.closeROMToolStripMenuItem.Text = "&Close ROM";
|
this.closeROMToolStripMenuItem.Text = "&Close ROM";
|
||||||
this.closeROMToolStripMenuItem.Click += new System.EventHandler(this.closeROMToolStripMenuItem_Click);
|
this.closeROMToolStripMenuItem.Click += new System.EventHandler(this.closeROMToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripMenuItem1
|
// toolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(142, 6);
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(149, 6);
|
||||||
//
|
//
|
||||||
// saveStateToolStripMenuItem
|
// saveStateToolStripMenuItem
|
||||||
//
|
//
|
||||||
|
@ -305,7 +306,7 @@
|
||||||
this.toolStripSeparator6,
|
this.toolStripSeparator6,
|
||||||
this.saveNamedStateToolStripMenuItem});
|
this.saveNamedStateToolStripMenuItem});
|
||||||
this.saveStateToolStripMenuItem.Name = "saveStateToolStripMenuItem";
|
this.saveStateToolStripMenuItem.Name = "saveStateToolStripMenuItem";
|
||||||
this.saveStateToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.saveStateToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.saveStateToolStripMenuItem.Text = "Save State";
|
this.saveStateToolStripMenuItem.Text = "Save State";
|
||||||
this.saveStateToolStripMenuItem.DropDownOpened += new System.EventHandler(this.saveStateToolStripMenuItem_DropDownOpened);
|
this.saveStateToolStripMenuItem.DropDownOpened += new System.EventHandler(this.saveStateToolStripMenuItem_DropDownOpened);
|
||||||
//
|
//
|
||||||
|
@ -407,7 +408,7 @@
|
||||||
this.toolStripSeparator7,
|
this.toolStripSeparator7,
|
||||||
this.loadNamedStateToolStripMenuItem});
|
this.loadNamedStateToolStripMenuItem});
|
||||||
this.loadStateToolStripMenuItem.Name = "loadStateToolStripMenuItem";
|
this.loadStateToolStripMenuItem.Name = "loadStateToolStripMenuItem";
|
||||||
this.loadStateToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.loadStateToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.loadStateToolStripMenuItem.Text = "Load State";
|
this.loadStateToolStripMenuItem.Text = "Load State";
|
||||||
this.loadStateToolStripMenuItem.DropDownOpened += new System.EventHandler(this.loadStateToolStripMenuItem_DropDownOpened);
|
this.loadStateToolStripMenuItem.DropDownOpened += new System.EventHandler(this.loadStateToolStripMenuItem_DropDownOpened);
|
||||||
//
|
//
|
||||||
|
@ -512,7 +513,7 @@
|
||||||
this.saveToCurrentSlotToolStripMenuItem,
|
this.saveToCurrentSlotToolStripMenuItem,
|
||||||
this.loadCurrentSlotToolStripMenuItem});
|
this.loadCurrentSlotToolStripMenuItem});
|
||||||
this.saveSlotToolStripMenuItem.Name = "saveSlotToolStripMenuItem";
|
this.saveSlotToolStripMenuItem.Name = "saveSlotToolStripMenuItem";
|
||||||
this.saveSlotToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.saveSlotToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.saveSlotToolStripMenuItem.Text = "SaveSlot";
|
this.saveSlotToolStripMenuItem.Text = "SaveSlot";
|
||||||
this.saveSlotToolStripMenuItem.DropDownOpened += new System.EventHandler(this.saveSlotToolStripMenuItem_DropDownOpened);
|
this.saveSlotToolStripMenuItem.DropDownOpened += new System.EventHandler(this.saveSlotToolStripMenuItem_DropDownOpened);
|
||||||
//
|
//
|
||||||
|
@ -622,7 +623,7 @@
|
||||||
// toolStripMenuItem2
|
// toolStripMenuItem2
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(142, 6);
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(149, 6);
|
||||||
//
|
//
|
||||||
// movieToolStripMenuItem
|
// movieToolStripMenuItem
|
||||||
//
|
//
|
||||||
|
@ -635,23 +636,24 @@
|
||||||
this.stopMovieToolStripMenuItem,
|
this.stopMovieToolStripMenuItem,
|
||||||
this.playFromBeginningToolStripMenuItem,
|
this.playFromBeginningToolStripMenuItem,
|
||||||
this.toolStripSeparator14,
|
this.toolStripSeparator14,
|
||||||
this.replayInputLogToolStripMenuItem});
|
this.replayInputLogToolStripMenuItem,
|
||||||
|
this.bindSavestatesToMoviesToolStripMenuItem});
|
||||||
this.movieToolStripMenuItem.Name = "movieToolStripMenuItem";
|
this.movieToolStripMenuItem.Name = "movieToolStripMenuItem";
|
||||||
this.movieToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.movieToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.movieToolStripMenuItem.Text = "Movie";
|
this.movieToolStripMenuItem.Text = "Movie";
|
||||||
this.movieToolStripMenuItem.DropDownOpened += new System.EventHandler(this.movieToolStripMenuItem_DropDownOpened);
|
this.movieToolStripMenuItem.DropDownOpened += new System.EventHandler(this.movieToolStripMenuItem_DropDownOpened);
|
||||||
//
|
//
|
||||||
// readonlyToolStripMenuItem
|
// readonlyToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.readonlyToolStripMenuItem.Name = "readonlyToolStripMenuItem";
|
this.readonlyToolStripMenuItem.Name = "readonlyToolStripMenuItem";
|
||||||
this.readonlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.readonlyToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.readonlyToolStripMenuItem.Text = "Read-only";
|
this.readonlyToolStripMenuItem.Text = "Read-only";
|
||||||
this.readonlyToolStripMenuItem.Click += new System.EventHandler(this.readonlyToolStripMenuItem_Click);
|
this.readonlyToolStripMenuItem.Click += new System.EventHandler(this.readonlyToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator15
|
// toolStripSeparator15
|
||||||
//
|
//
|
||||||
this.toolStripSeparator15.Name = "toolStripSeparator15";
|
this.toolStripSeparator15.Name = "toolStripSeparator15";
|
||||||
this.toolStripSeparator15.Size = new System.Drawing.Size(176, 6);
|
this.toolStripSeparator15.Size = new System.Drawing.Size(208, 6);
|
||||||
//
|
//
|
||||||
// recentToolStripMenuItem
|
// recentToolStripMenuItem
|
||||||
//
|
//
|
||||||
|
@ -661,7 +663,7 @@
|
||||||
this.clearToolStripMenuItem1,
|
this.clearToolStripMenuItem1,
|
||||||
this.autoloadMostRecentToolStripMenuItem1});
|
this.autoloadMostRecentToolStripMenuItem1});
|
||||||
this.recentToolStripMenuItem.Name = "recentToolStripMenuItem";
|
this.recentToolStripMenuItem.Name = "recentToolStripMenuItem";
|
||||||
this.recentToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.recentToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.recentToolStripMenuItem.Text = "Recent";
|
this.recentToolStripMenuItem.Text = "Recent";
|
||||||
this.recentToolStripMenuItem.DropDownOpened += new System.EventHandler(this.recentToolStripMenuItem_DropDownOpened);
|
this.recentToolStripMenuItem.DropDownOpened += new System.EventHandler(this.recentToolStripMenuItem_DropDownOpened);
|
||||||
//
|
//
|
||||||
|
@ -691,40 +693,40 @@
|
||||||
// recordMovieToolStripMenuItem
|
// recordMovieToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.recordMovieToolStripMenuItem.Name = "recordMovieToolStripMenuItem";
|
this.recordMovieToolStripMenuItem.Name = "recordMovieToolStripMenuItem";
|
||||||
this.recordMovieToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.recordMovieToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.recordMovieToolStripMenuItem.Text = "&Record Movie...";
|
this.recordMovieToolStripMenuItem.Text = "&Record Movie...";
|
||||||
this.recordMovieToolStripMenuItem.Click += new System.EventHandler(this.recordMovieToolStripMenuItem_Click);
|
this.recordMovieToolStripMenuItem.Click += new System.EventHandler(this.recordMovieToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// playMovieToolStripMenuItem
|
// playMovieToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.playMovieToolStripMenuItem.Name = "playMovieToolStripMenuItem";
|
this.playMovieToolStripMenuItem.Name = "playMovieToolStripMenuItem";
|
||||||
this.playMovieToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.playMovieToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.playMovieToolStripMenuItem.Text = "&Play Movie...";
|
this.playMovieToolStripMenuItem.Text = "&Play Movie...";
|
||||||
this.playMovieToolStripMenuItem.Click += new System.EventHandler(this.playMovieToolStripMenuItem_Click);
|
this.playMovieToolStripMenuItem.Click += new System.EventHandler(this.playMovieToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// stopMovieToolStripMenuItem
|
// stopMovieToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.stopMovieToolStripMenuItem.Name = "stopMovieToolStripMenuItem";
|
this.stopMovieToolStripMenuItem.Name = "stopMovieToolStripMenuItem";
|
||||||
this.stopMovieToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.stopMovieToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.stopMovieToolStripMenuItem.Text = "Stop Movie";
|
this.stopMovieToolStripMenuItem.Text = "Stop Movie";
|
||||||
this.stopMovieToolStripMenuItem.Click += new System.EventHandler(this.stopMovieToolStripMenuItem_Click);
|
this.stopMovieToolStripMenuItem.Click += new System.EventHandler(this.stopMovieToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// playFromBeginningToolStripMenuItem
|
// playFromBeginningToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.playFromBeginningToolStripMenuItem.Name = "playFromBeginningToolStripMenuItem";
|
this.playFromBeginningToolStripMenuItem.Name = "playFromBeginningToolStripMenuItem";
|
||||||
this.playFromBeginningToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.playFromBeginningToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.playFromBeginningToolStripMenuItem.Text = "Play from Beginning";
|
this.playFromBeginningToolStripMenuItem.Text = "Play from Beginning";
|
||||||
this.playFromBeginningToolStripMenuItem.Click += new System.EventHandler(this.playFromBeginningToolStripMenuItem_Click);
|
this.playFromBeginningToolStripMenuItem.Click += new System.EventHandler(this.playFromBeginningToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator14
|
// toolStripSeparator14
|
||||||
//
|
//
|
||||||
this.toolStripSeparator14.Name = "toolStripSeparator14";
|
this.toolStripSeparator14.Name = "toolStripSeparator14";
|
||||||
this.toolStripSeparator14.Size = new System.Drawing.Size(176, 6);
|
this.toolStripSeparator14.Size = new System.Drawing.Size(208, 6);
|
||||||
//
|
//
|
||||||
// replayInputLogToolStripMenuItem
|
// replayInputLogToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.replayInputLogToolStripMenuItem.Name = "replayInputLogToolStripMenuItem";
|
this.replayInputLogToolStripMenuItem.Name = "replayInputLogToolStripMenuItem";
|
||||||
this.replayInputLogToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
this.replayInputLogToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.replayInputLogToolStripMenuItem.Text = "Replay Input Log";
|
this.replayInputLogToolStripMenuItem.Text = "Replay Input Log";
|
||||||
this.replayInputLogToolStripMenuItem.Click += new System.EventHandler(this.replayInputLogToolStripMenuItem_Click);
|
this.replayInputLogToolStripMenuItem.Click += new System.EventHandler(this.replayInputLogToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
@ -734,7 +736,7 @@
|
||||||
this.screenshotF12ToolStripMenuItem,
|
this.screenshotF12ToolStripMenuItem,
|
||||||
this.screenshotAsToolStripMenuItem});
|
this.screenshotAsToolStripMenuItem});
|
||||||
this.screenshotToolStripMenuItem.Name = "screenshotToolStripMenuItem";
|
this.screenshotToolStripMenuItem.Name = "screenshotToolStripMenuItem";
|
||||||
this.screenshotToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.screenshotToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.screenshotToolStripMenuItem.Text = "Screenshot";
|
this.screenshotToolStripMenuItem.Text = "Screenshot";
|
||||||
//
|
//
|
||||||
// screenshotF12ToolStripMenuItem
|
// screenshotF12ToolStripMenuItem
|
||||||
|
@ -754,13 +756,13 @@
|
||||||
// toolStripSeparator4
|
// toolStripSeparator4
|
||||||
//
|
//
|
||||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||||
this.toolStripSeparator4.Size = new System.Drawing.Size(142, 6);
|
this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6);
|
||||||
//
|
//
|
||||||
// exitToolStripMenuItem
|
// exitToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||||
this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
|
this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
|
||||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||||
this.exitToolStripMenuItem.Text = "Exit";
|
this.exitToolStripMenuItem.Text = "Exit";
|
||||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
@ -1065,6 +1067,13 @@
|
||||||
this.forceGDIPPresentationToolStripMenuItem.Text = "Force GDI+ Presentation";
|
this.forceGDIPPresentationToolStripMenuItem.Text = "Force GDI+ Presentation";
|
||||||
this.forceGDIPPresentationToolStripMenuItem.Click += new System.EventHandler(this.forceGDIPPresentationToolStripMenuItem_Click);
|
this.forceGDIPPresentationToolStripMenuItem.Click += new System.EventHandler(this.forceGDIPPresentationToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
// runInBackgroundToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.runInBackgroundToolStripMenuItem.Name = "runInBackgroundToolStripMenuItem";
|
||||||
|
this.runInBackgroundToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
|
||||||
|
this.runInBackgroundToolStripMenuItem.Text = "Run in Background";
|
||||||
|
this.runInBackgroundToolStripMenuItem.Click += new System.EventHandler(this.runInBackgroundToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// frameSkipToolStripMenuItem
|
// frameSkipToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.frameSkipToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.frameSkipToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
@ -1445,12 +1454,12 @@
|
||||||
this.EmuStatus.Size = new System.Drawing.Size(143, 17);
|
this.EmuStatus.Size = new System.Drawing.Size(143, 17);
|
||||||
this.EmuStatus.Text = "Currently emulating: ur mom";
|
this.EmuStatus.Text = "Currently emulating: ur mom";
|
||||||
//
|
//
|
||||||
// runInBackgroundToolStripMenuItem
|
// bindSavestatesToMoviesToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.runInBackgroundToolStripMenuItem.Name = "runInBackgroundToolStripMenuItem";
|
this.bindSavestatesToMoviesToolStripMenuItem.Name = "bindSavestatesToMoviesToolStripMenuItem";
|
||||||
this.runInBackgroundToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
|
this.bindSavestatesToMoviesToolStripMenuItem.Size = new System.Drawing.Size(211, 22);
|
||||||
this.runInBackgroundToolStripMenuItem.Text = "Run in Background";
|
this.bindSavestatesToMoviesToolStripMenuItem.Text = "Bind Savestates to Movies";
|
||||||
this.runInBackgroundToolStripMenuItem.Click += new System.EventHandler(this.runInBackgroundToolStripMenuItem_Click);
|
this.bindSavestatesToMoviesToolStripMenuItem.Click += new System.EventHandler(this.bindSavestatesToMoviesToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
|
@ -1641,6 +1650,7 @@
|
||||||
private System.Windows.Forms.ToolStripMenuItem screenshotF12ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem screenshotF12ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem screenshotAsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem screenshotAsToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem runInBackgroundToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem runInBackgroundToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem bindSavestatesToMoviesToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1819,16 +1819,15 @@ namespace BizHawk.MultiClient
|
||||||
playFromBeginningToolStripMenuItem.Enabled = true;
|
playFromBeginningToolStripMenuItem.Enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ReadOnly)
|
readonlyToolStripMenuItem.Checked = ReadOnly;
|
||||||
readonlyToolStripMenuItem.Checked = true;
|
bindSavestatesToMoviesToolStripMenuItem.Checked = Global.Config.BindSavestatesToMovies;
|
||||||
else
|
|
||||||
readonlyToolStripMenuItem.Checked = false;
|
|
||||||
|
|
||||||
readonlyToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.ReadOnlyToggleBinding;
|
readonlyToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.ReadOnlyToggleBinding;
|
||||||
recordMovieToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.RecordMovieBinding;
|
recordMovieToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.RecordMovieBinding;
|
||||||
playMovieToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.PlayMovieBinding;
|
playMovieToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.PlayMovieBinding;
|
||||||
stopMovieToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.StopMovieBinding;
|
stopMovieToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.StopMovieBinding;
|
||||||
playFromBeginningToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.PlayBeginningBinding;
|
playFromBeginningToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.PlayBeginningBinding;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ToggleReadOnly()
|
public void ToggleReadOnly()
|
||||||
|
@ -1932,5 +1931,10 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
Global.Config.RunInBackground ^= true;
|
Global.Config.RunInBackground ^= true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void bindSavestatesToMoviesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Global.Config.BindSavestatesToMovies ^= true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace BizHawk.MultiClient
|
namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
|
@ -128,17 +129,20 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
string Bind = "";
|
||||||
|
if (Global.Config.BindSavestatesToMovies && Global.MainForm.UserMovie.GetMovieMode() != MOVIEMODE.FINISHED) //TODO: what about movie finished?
|
||||||
|
Bind += " - " + Path.GetFileNameWithoutExtension(Global.MainForm.UserMovie.GetFilePath());
|
||||||
switch (System)
|
switch (System)
|
||||||
{
|
{
|
||||||
case "SMS": return PathManager.MakeAbsolutePath(Global.Config.PathSMSSavestates, "SMS") + "/" + Name;
|
case "SMS": return PathManager.MakeAbsolutePath(Global.Config.PathSMSSavestates, "SMS") + "/" + Name + Bind;
|
||||||
case "GG": return PathManager.MakeAbsolutePath(Global.Config.PathGGSavestates, "GG") + "/" + Name;
|
case "GG": return PathManager.MakeAbsolutePath(Global.Config.PathGGSavestates, "GG") + "/" + Name + Bind;
|
||||||
case "SG": return PathManager.MakeAbsolutePath(Global.Config.PathSGSavestates, "SG") + "/" + Name;
|
case "SG": return PathManager.MakeAbsolutePath(Global.Config.PathSGSavestates, "SG") + "/" + Name + Bind;
|
||||||
case "PCE": return PathManager.MakeAbsolutePath(Global.Config.PathPCESavestates, "PCE") + "/" + Name;
|
case "PCE": return PathManager.MakeAbsolutePath(Global.Config.PathPCESavestates, "PCE") + "/" + Name + Bind;
|
||||||
case "SGX": return PathManager.MakeAbsolutePath(Global.Config.PathPCESavestates, "PCE") + "/" + Name;
|
case "SGX": return PathManager.MakeAbsolutePath(Global.Config.PathPCESavestates, "PCE") + "/" + Name + Bind;
|
||||||
case "GB": return PathManager.MakeAbsolutePath(Global.Config.PathGBSavestates, "GB") + "/" + Name;
|
case "GB": return PathManager.MakeAbsolutePath(Global.Config.PathGBSavestates, "GB") + "/" + Name + Bind;
|
||||||
case "GEN": return PathManager.MakeAbsolutePath(Global.Config.PathGenesisSavestates, "GEN") + "/" + Name;
|
case "GEN": return PathManager.MakeAbsolutePath(Global.Config.PathGenesisSavestates, "GEN") + "/" + Name + Bind;
|
||||||
case "NES": return PathManager.MakeAbsolutePath(Global.Config.PathNESSavestates, "NES") + "/" + Name;
|
case "NES": return PathManager.MakeAbsolutePath(Global.Config.PathNESSavestates, "NES") + "/" + Name + Bind;
|
||||||
case "TI83": return PathManager.MakeAbsolutePath(Global.Config.PathTI83Savestates, "TI83") + "/" + Name;
|
case "TI83": return PathManager.MakeAbsolutePath(Global.Config.PathTI83Savestates, "TI83") + "/" + Name + Bind;
|
||||||
default: return "";
|
default: return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue