Merge pull request #781 from ssakash/patch-49

Fix Windows Lilypad local volume control GUI checkbox.
Make MicroVU E-bit delay slot warning a Dev warning.
Don't minimise GS Window if main window is minimised.
This commit is contained in:
Jonathan Li 2015-09-02 21:51:04 +01:00
commit 288931ddc3
5 changed files with 5 additions and 6 deletions

View File

@ -928,7 +928,7 @@ void Pcsx2App::OpenGsPanel()
GSFrame* gsFrame = GetGsFramePtr();
if( gsFrame == NULL )
{
gsFrame = new GSFrame( GetMainFramePtr(), GetAppName() );
gsFrame = new GSFrame(GetAppName() );
m_id_GsFrame = gsFrame->GetId();
switch( wxGetApp().Overrides.GsWindowMode )

View File

@ -401,8 +401,8 @@ void GSPanel::OnLeftDclick(wxMouseEvent& evt)
static const uint TitleBarUpdateMs = 333;
GSFrame::GSFrame(wxWindow* parent, const wxString& title)
: wxFrame(parent, wxID_ANY, title, g_Conf->GSWindow.WindowPos)
GSFrame::GSFrame( const wxString& title)
: wxFrame(NULL, wxID_ANY, title, g_Conf->GSWindow.WindowPos)
, m_timer_UpdateTitle( this )
{
SetIcons( wxGetApp().GetIconBundle() );

View File

@ -95,7 +95,7 @@ protected:
CpuUsageProvider m_CpuUsage;
public:
GSFrame(wxWindow* parent, const wxString& title);
GSFrame( const wxString& title);
virtual ~GSFrame() throw();
GSPanel* GetViewport();

View File

@ -207,7 +207,7 @@ __ri void branchWarning(mV) {
incPC(-2);
if (mVUup.eBit && mVUbranch) {
incPC(2);
Console.Error("microVU%d Warning: Branch in E-bit delay slot! [%04x]", mVU.index, xPC);
DevCon.Warning("microVU%d Warning: Branch in E-bit delay slot! [%04x]", mVU.index, xPC);
mVUlow.isNOP = true;
}
else incPC(2);

View File

@ -1925,7 +1925,6 @@ INT_PTR CALLBACK GeneralDialogProc(HWND hWnd, unsigned int msg, WPARAM wParam, L
// sound plugin plays with it.
SetVolume(100);
}
config.vistaVolume = 100;
}
for (i=0; i<4; i++) {