From ecc9f758b68d9fc00b150dae0f04248590debe2e Mon Sep 17 00:00:00 2001 From: cuckydev Date: Sun, 10 Feb 2019 09:34:05 -0500 Subject: [PATCH] what was i thinking --- src/Ending.h | 2 +- src/GenericLoad.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ending.h b/src/Ending.h index c32064d4..3cc7ec63 100644 --- a/src/Ending.h +++ b/src/Ending.h @@ -32,7 +32,7 @@ struct ISLAND_SPRITE int y; }; -#define MAX_STRIP ((WINDOW_HEIGHT + 14) / 15) +#define MAX_STRIP (WINDOW_HEIGHT / 16) + 1 void ActionStripper(); void PutStripper(); diff --git a/src/GenericLoad.cpp b/src/GenericLoad.cpp index 7194cf75..f16c928e 100644 --- a/src/GenericLoad.cpp +++ b/src/GenericLoad.cpp @@ -53,7 +53,7 @@ bool LoadGenericData() MakeSurface_Generic(40, 240, 29); //Unknown? MakeSurface_Generic(320, 240, SURFACE_ID_LEVEL_SPRITESET_1); MakeSurface_Generic(320, 240, SURFACE_ID_LEVEL_SPRITESET_2); - MakeSurface_Generic(WINDOW_WIDTH, 15 * MAX_STRIP, SURFACE_ID_CREDIT_CAST); + MakeSurface_Generic(WINDOW_WIDTH, 16 * MAX_STRIP, SURFACE_ID_CREDIT_CAST); char path[0x100]; uint8_t *buf = nullptr;