mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 12:58:32 -05:00
TGA dumps work, courtesy of @bunnei
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
#include "video_core/video_core.h"
|
||||
#include "video_core/renderer_opengl/renderer_opengl.h"
|
||||
#include "video_core/utils.h"
|
||||
|
||||
#include "core/mem_map.h"
|
||||
|
||||
@ -49,6 +50,7 @@ void RendererOpenGL::SwapBuffers() {
|
||||
|
||||
// Switch back to EFB and clear
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo[kFramebuffer_EFB]);
|
||||
VideoCore::DumpTGA("dump.tga", 400, 240, m_xfb_top_flipped);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user