From 32e5043b291158ada1615a2e69ad2d6c142482c6 Mon Sep 17 00:00:00 2001 From: magumagu Date: Fri, 2 May 2014 00:08:44 -0700 Subject: WIP XFB scaling. Still an ugly mess. --- Source/Core/VideoBackends/Software/SWmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp') diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index a6b9f509c9..e1b0f48380 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -201,7 +201,7 @@ void VideoSoftware::Video_Prepare() } // Run from the CPU thread (from VideoInterface.cpp) -void VideoSoftware::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbHeight) +void VideoSoftware::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight) { s_beginFieldArgs.xfbAddr = xfbAddr; s_beginFieldArgs.fbWidth = fbWidth; -- cgit v1.2.3 From c5f9301e6e92178af322ca95f2caddabce238c60 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 19 Sep 2014 11:46:11 -0500 Subject: Add a comment to the software renderer that stride should be implemented --- Source/Core/VideoBackends/Software/SWmain.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp') diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index e1b0f48380..25d9e0d543 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -203,6 +203,9 @@ void VideoSoftware::Video_Prepare() // Run from the CPU thread (from VideoInterface.cpp) void VideoSoftware::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight) { + // XXX: fbStride should be implemented properly here + // If stride isn't implemented then there are problems with XFB + // Animal Crossing is a good example for this. s_beginFieldArgs.xfbAddr = xfbAddr; s_beginFieldArgs.fbWidth = fbWidth; s_beginFieldArgs.fbHeight = fbHeight; -- cgit v1.2.3