From 3ba15a42512189d12eb8211ad431ff0a311f86c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Wed, 6 Oct 2021 21:09:59 +0200 Subject: [PATCH] Don't try to close non openend file --- Source/platform/ctr/system.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/platform/ctr/system.cpp b/Source/platform/ctr/system.cpp index 203afa824..c3b14b818 100644 --- a/Source/platform/ctr/system.cpp +++ b/Source/platform/ctr/system.cpp @@ -51,7 +51,6 @@ bool ctr_check_dsp() { FILE *dsp = fopen("sdmc:/3ds/dspfirm.cdc", "r"); if (dsp == NULL) { - fclose(dsp); gfxInitDefault(); errorConf error; errorInit(&error, ERROR_TEXT, CFG_LANGUAGE_EN);