Permalink
Browse files

GB Video: Don't blank screen on SGB (fixes #1063)

  • Loading branch information...
endrift committed Apr 24, 2018
1 parent 16c0132 commit 420a15a84151065982c1170b0983f136e9b1cddb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gb/renderers/software.c
@@ -29,8 +29,8 @@ static void GBVideoSoftwareRendererDrawObj(struct GBVideoSoftwareRenderer* rende
static void _clearScreen(struct GBVideoSoftwareRenderer* renderer) {
size_t sgbOffset = 0;
- if (renderer->model == GB_MODEL_SGB && renderer->sgbBorders) {
- sgbOffset = renderer->outputBufferStride * 40 + 48;
+ if (renderer->model == GB_MODEL_SGB) {
+ return;
}
int y;
for (y = 0; y < GB_VIDEO_VERTICAL_PIXELS; ++y) {

0 comments on commit 420a15a

Please sign in to comment.