From 66a0545330d6f375aa7050f2400705b5149c954f Mon Sep 17 00:00:00 2001 From: turbocat Date: Wed, 3 Nov 2021 21:55:52 +0000 Subject: [PATCH] OpenTyrian: Fixed VERSION and disabled exit, on unsupported scaling git-svn-id: svn://kolibrios.org@9244 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/games/opentyrian/src/opentyrian_version.h | 2 +- contrib/games/opentyrian/src/video.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/contrib/games/opentyrian/src/opentyrian_version.h b/contrib/games/opentyrian/src/opentyrian_version.h index 543cfa46d3..fa82f4cd45 100644 --- a/contrib/games/opentyrian/src/opentyrian_version.h +++ b/contrib/games/opentyrian/src/opentyrian_version.h @@ -2,7 +2,7 @@ #define OPENTYRIAN_VERSION_H #ifndef OPENTYRIAN_VERSION -#define OPENTYRIAN_VERSION "v2.1.???" +#define OPENTYRIAN_VERSION "v2.1 KolibriOS" #endif #endif // OPENTYRIAN_VERSION_H diff --git a/contrib/games/opentyrian/src/video.c b/contrib/games/opentyrian/src/video.c index b97c52b2d7..dfe9b04284 100644 --- a/contrib/games/opentyrian/src/video.c +++ b/contrib/games/opentyrian/src/video.c @@ -104,9 +104,6 @@ bool init_scaler( unsigned int new_scaler, bool fullscreen ) if (bpp == 0) return false; - #ifdef _KOLIBRI - bpp=16; // DEBUG -#endif SDL_Surface *const surface = SDL_SetVideoMode(w, h, bpp, flags); if (surface == NULL) @@ -146,7 +143,7 @@ bool init_scaler( unsigned int new_scaler, bool fullscreen ) if (scaler_function == NULL) { - assert(false); + //assert(false); return false; }