Tastudio branches - progress on loading the frame buffer when loading a branch

This commit is contained in:
adelikat 2015-07-21 20:31:51 -04:00
parent 4629233c74
commit dca259fff2
2 changed files with 4 additions and 2 deletions

View File

@ -156,8 +156,8 @@ namespace BizHawk.Client.Common
new BMP
{
Data = dstp,
Width = src.BufferWidth,
Height = src.BufferHeight
Width = dst.BufferWidth,
Height = dst.BufferHeight
});
}
}

View File

@ -130,6 +130,8 @@ namespace BizHawk.Client.EmuHawk
Tastudio.LoadState(stateInfo);
//SavestateManager.PopulateFramebuffer(branch.OSDFrameBuffer);
//Temp(branch.OSDFrameBuffer);
QuickBmpFile.Copy(new BitmapBufferVideoProvider(branch.OSDFrameBuffer), Global.Emulator.VideoProvider());
GlobalWin.MainForm.PauseEmulator();
GlobalWin.MainForm.PauseOnFrame = null;
Tastudio.RefreshDialog();