From be185275c982c7558a27477b77676944d42a626d Mon Sep 17 00:00:00 2001 From: "ramapcsx2.code" Date: Sat, 28 Dec 2013 21:24:25 +0000 Subject: [PATCH] Minor additions. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5776 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/gui/FrameForGS.cpp | 5 +++++ plugins/spu2-x/src/spu2sys.cpp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pcsx2/gui/FrameForGS.cpp b/pcsx2/gui/FrameForGS.cpp index 6b681ee0c7..97974215bf 100644 --- a/pcsx2/gui/FrameForGS.cpp +++ b/pcsx2/gui/FrameForGS.cpp @@ -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) diff --git a/plugins/spu2-x/src/spu2sys.cpp b/plugins/spu2-x/src/spu2sys.cpp index 7def4589cd..2b6a5673d5 100644 --- a/plugins/spu2-x/src/spu2sys.cpp +++ b/plugins/spu2-x/src/spu2sys.cpp @@ -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 {