From 499e884a625ca13d8011055011aaae740a0f1fd4 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Mon, 30 Oct 2017 21:22:49 +0100 Subject: [PATCH] commit Fajer's legacy, so it won't be forgotten --- src/utils.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/utils.c b/src/utils.c index e3e8c89..ad5c11d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -158,6 +158,11 @@ SYMBOL_EXPORT void ScaleBitmap(ALLEGRO_BITMAP* source, int width, int height) { } SYMBOL_EXPORT ALLEGRO_BITMAP* LoadScaledBitmap(struct Game* game, char* filename, int width, int height) { + // CORRUPTS MEMORY FOR SOME REASON PLZ LOOK AT IT LATERRRR + // PROBABYL GetDataFilePath and Gargabe collecting related + // IT'S FUCKING HARD TO DEBUG SO DON'T STUMBLE ON IT AGAIN + exit(1); + bool memoryscale = !strtol(GetConfigOptionDefault(game, "SuperDerpy", "GPU_scaling", "1"), NULL, 10); ALLEGRO_BITMAP *source, *target = al_create_bitmap(width, height); al_set_target_bitmap(target);