Permalink
Browse files
GB Video: Don't blank screen on SGB (fixes #1063)
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+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