diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-09-19 12:54:19 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-09-19 12:54:19 -0500 |
| commit | af25b15348687c482968061cd31c0652ef702002 (patch) | |
| tree | 9bcff2697dd7c90db0cf0b728e4177578945737c /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 0d1c1e94771982ca39ce339ee799f0f16928b9a9 (diff) | |
| parent | c5f9301e6e92178af322ca95f2caddabce238c60 (diff) | |
Merge pull request #977 from Sonicadvance1/xfb-scaling-rebased
XFB Scaling
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index a6b9f509c9..25d9e0d543 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -201,8 +201,11 @@ 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) { + // 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; |
