Shush warnings
This commit is contained in:
@@ -466,8 +466,6 @@ void RendererGL::display() {
|
|||||||
|
|
||||||
auto topScreen = colourBufferCache.findFromAddress(topScreenAddr);
|
auto topScreen = colourBufferCache.findFromAddress(topScreenAddr);
|
||||||
auto bottomScreen = colourBufferCache.findFromAddress(bottomScreenAddr);
|
auto bottomScreen = colourBufferCache.findFromAddress(bottomScreenAddr);
|
||||||
Helpers::warn("Top screen addr %08X\n", topScreenAddr);
|
|
||||||
|
|
||||||
screenFramebuffer.bind(OpenGL::DrawFramebuffer);
|
screenFramebuffer.bind(OpenGL::DrawFramebuffer);
|
||||||
|
|
||||||
if (topScreen) {
|
if (topScreen) {
|
||||||
@@ -601,7 +599,7 @@ void RendererGL::displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u
|
|||||||
u32 outputHeight = outputSize >> 16;
|
u32 outputHeight = outputSize >> 16;
|
||||||
|
|
||||||
if (inputWidth != outputWidth) {
|
if (inputWidth != outputWidth) {
|
||||||
Helpers::warn("Strided display transfer is not handled correctly!\n");
|
// Helpers::warn("Strided display transfer is not handled correctly!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
auto srcFramebuffer = getColourBuffer(inputAddr, inputFormat, inputWidth, inputHeight);
|
auto srcFramebuffer = getColourBuffer(inputAddr, inputFormat, inputWidth, inputHeight);
|
||||||
@@ -611,6 +609,7 @@ void RendererGL::displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u
|
|||||||
if (scaling == PICA::Scaling::X || scaling == PICA::Scaling::XY) {
|
if (scaling == PICA::Scaling::X || scaling == PICA::Scaling::XY) {
|
||||||
outputWidth >>= 1;
|
outputWidth >>= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scaling == PICA::Scaling::XY) {
|
if (scaling == PICA::Scaling::XY) {
|
||||||
outputHeight >>= 1;
|
outputHeight >>= 1;
|
||||||
}
|
}
|
||||||
@@ -618,8 +617,6 @@ void RendererGL::displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u
|
|||||||
auto dstFramebuffer = getColourBuffer(outputAddr, outputFormat, outputWidth, outputHeight);
|
auto dstFramebuffer = getColourBuffer(outputAddr, outputFormat, outputWidth, outputHeight);
|
||||||
Math::Rect dstRect = dstFramebuffer.getSubRect(outputAddr, outputWidth, outputHeight);
|
Math::Rect dstRect = dstFramebuffer.getSubRect(outputAddr, outputWidth, outputHeight);
|
||||||
|
|
||||||
Helpers::warn("Display transfer with outputAddr %08X\n", outputAddr);
|
|
||||||
|
|
||||||
// Blit the framebuffers
|
// Blit the framebuffers
|
||||||
srcFramebuffer.fbo.bind(OpenGL::ReadFramebuffer);
|
srcFramebuffer.fbo.bind(OpenGL::ReadFramebuffer);
|
||||||
dstFramebuffer.fbo.bind(OpenGL::DrawFramebuffer);
|
dstFramebuffer.fbo.bind(OpenGL::DrawFramebuffer);
|
||||||
|
|||||||
Reference in New Issue
Block a user