mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
General cleanup to 3D Vision hack, fits in more with the Dolphin coding style now. Also, fixed the crash that would occur when using a mouse button with 3D Vision enabled.
Not sure how to fix Dolphins hotkeys when 3D Vision is enabled (I do know a way, but it's messy and I don't want 3D Vision messing with Dolphin's cleanliness). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6362 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -52,8 +52,6 @@
|
||||
|
||||
#include "debugger/debugger.h"
|
||||
|
||||
#include "Render3dVision.h"
|
||||
|
||||
static int s_fps = 0;
|
||||
|
||||
static bool WindowResized;
|
||||
@ -1321,7 +1319,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
||||
}
|
||||
else
|
||||
{
|
||||
if(Render3dVision::isEnable3dVision())
|
||||
if(g_ActiveConfig.b3DVision)
|
||||
{
|
||||
// This works, yet the version in the else doesn't. No idea why.
|
||||
xScale = (float)s_backbuffer_width / (float)s_XFB_width;
|
||||
|
Reference in New Issue
Block a user