mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
library: Mark NF_Error as noreturn
This commit is contained in:
parent
0672158d1e
commit
c3d6122d95
@ -53,7 +53,7 @@ extern char NF_ROOTFOLDER[64];
|
||||
/// @param code Error code.
|
||||
/// @param text Description.
|
||||
/// @param value Additional info.
|
||||
void NF_Error(u16 code, const char *text, u32 value);
|
||||
__attribute__((noreturn)) void NF_Error(u16 code, const char *text, u32 value);
|
||||
|
||||
/// Defines the root folder of your project (FAT or NitroFS).
|
||||
///
|
||||
|
@ -20,7 +20,7 @@
|
||||
// Define la variable global NF_ROOTFOLDER
|
||||
char NF_ROOTFOLDER[64];
|
||||
|
||||
void NF_Error(u16 code, const char* text, u32 value) {
|
||||
__attribute__((noreturn)) void NF_Error(u16 code, const char *text, u32 value) {
|
||||
|
||||
consoleDemoInit(); // Inicializa la consola de texto
|
||||
consoleClear(); // Borra la pantalla
|
||||
|
Loading…
Reference in New Issue
Block a user