mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Make some RGBLINK errors non-fatal
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "helpers.h"
|
||||
|
||||
/* Variables related to CLI options */
|
||||
extern bool isDmgMode;
|
||||
extern char const *linkerScriptName;
|
||||
@@ -32,6 +34,10 @@ extern bool isWRA0Mode;
|
||||
fprintf(stderr, __VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
void error(char const *fmt, ...);
|
||||
|
||||
noreturn_ void fatal(char const *fmt, ...);
|
||||
|
||||
/**
|
||||
* Opens a file if specified, and aborts on error.
|
||||
* @param fileName The name of the file to open; if NULL, no file will be opened
|
||||
|
||||
Reference in New Issue
Block a user