mirror of https://github.com/PCSX2/pcsx2.git
Minor additions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5776 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
d6bb242042
commit
be185275c9
|
@ -26,6 +26,8 @@
|
|||
|
||||
static const KeyAcceleratorCode FULLSCREEN_TOGGLE_ACCELERATOR_GSPANEL=KeyAcceleratorCode( WXK_RETURN ).Alt();
|
||||
|
||||
#define GSWindowScaleDebug
|
||||
|
||||
void GSPanel::InitDefaultAccelerators()
|
||||
{
|
||||
// Note! These don't really work yet due to some hacks to get things working for
|
||||
|
@ -175,6 +177,9 @@ void GSPanel::DoResize()
|
|||
GetPosition(&cx, &cy);
|
||||
float unit = .01*(float)min(viewport.x, viewport.y);
|
||||
SetPosition( wxPoint( cx + unit*g_Conf->GSWindow.OffsetX.ToFloat(), cy + unit*g_Conf->GSWindow.OffsetY.ToFloat() ) );
|
||||
#ifdef GSWindowScaleDebug
|
||||
Console.WriteLn(Color_Yellow, "GSWindowScaleDebug: zoom %f, viewport.x %d, viewport.y %d", zoom, viewport.GetX(), viewport.GetY());
|
||||
#endif
|
||||
}
|
||||
|
||||
void GSPanel::OnResize(wxSizeEvent& event)
|
||||
|
|
|
@ -798,7 +798,8 @@ static void __fastcall RegWrite_VoiceParams( u16 value )
|
|||
{
|
||||
thisvol.Mode = (value & 0xF000)>>12;
|
||||
thisvol.Increment = (value & 0x7F);
|
||||
//printf("slides Mode = %x, Increment = %x\n",thisvol.Mode,thisvol.Increment);
|
||||
// We're not sure slides work 100%
|
||||
if( IsDevBuild ) ConLog("* SPU2: Voice uses Slides in Mode = %x, Increment = %x\n",thisvol.Mode,thisvol.Increment);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue