git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 9da04497974e8ff42881bf891d4db72e81e58d34
parent 393269ae1f9be91edaaa605ce9b55ca6f4c3fb68
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Mon, 22 Feb 2021 13:49:08 +0200

Merge branch 'master' of https://github.com/LIJI32/SameBoy

Diffstat:
MSDL/main.c4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/SDL/main.c b/SDL/main.c @@ -677,6 +677,10 @@ int main(int argc, char **argv) window = SDL_CreateWindow("SameBoy v" xstr(VERSION), SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 160 * configuration.default_scale, 144 * configuration.default_scale, SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI); + if (window == NULL) { + fputs(SDL_GetError(), stderr); + exit(1); + } SDL_SetWindowMinimumSize(window, 160, 144); if (fullscreen) {

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.