diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-17 03:30:10 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-17 03:30:10 +0200 |
commit | d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f (patch) | |
tree | 54febfdd8e427cb5d535d48afffd7a49188ad17a /src/video_core | |
parent | fixed bug with printing std::string in log messages (diff) | |
download | yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.tar yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.tar.gz yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.tar.bz2 yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.tar.lz yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.tar.xz yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.tar.zst yuzu-d4411acfd04a5c585e7cb8aebcc2e3260f9ee17f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 97f84c248..6cac968ed 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -2,6 +2,8 @@ // Licensed under GPLv2 // Refer to the license.txt file included. +#include "core/hw/hw_lcd.h" + #include "video_core/video_core.h" #include "video_core/renderer_opengl/renderer_opengl.h" @@ -75,8 +77,8 @@ void RendererOpenGL::FlipFramebuffer(u32 addr, u8* out) { */ void RendererOpenGL::RenderXFB(const Rect& src_rect, const Rect& dst_rect) { - FlipFramebuffer(0x20282160, m_xfb_top_flipped); - FlipFramebuffer(0x202118E0, m_xfb_bottom_flipped); + FlipFramebuffer(LCD::TOP_RIGHT_FRAME1, m_xfb_top_flipped); + FlipFramebuffer(LCD::SUB_FRAME1, m_xfb_bottom_flipped); // Blit the top framebuffer // ------------------------ |