PicoDrive: minor cleanup

This commit is contained in:
nattthebear 2017-07-02 18:29:41 -04:00
parent 45e0770d06
commit a80f16c032
3 changed files with 6 additions and 3 deletions

View File

@ -2,5 +2,8 @@
{ {
"editor.tabSize": 4, "editor.tabSize": 4,
"editor.insertSpaces": false, "editor.insertSpaces": false,
"editor.detectIndentation": false "editor.detectIndentation": false,
"files.associations": {
"*.inc": "cpp"
}
} }

View File

@ -383,7 +383,7 @@ static int is_expr(const char *expr, char **pr)
return 1; return 1;
} }
#include "carthw_cfg.c" #include "carthw_cfg.inc"
static void parse_carthw(const char *carthw_cfg, int *fill_sram) static void parse_carthw(const char *carthw_cfg, int *fill_sram)
{ {

View File

@ -1,5 +1,5 @@
/* generated by ./tools/make_carthw_c, do not modify */ /* generated by ./tools/make_carthw_c, do not modify */
static const char builtin_carthw_cfg[] = static const char *builtin_carthw_cfg =
"[]\n" "[]\n"
"check_str=0x150,\"Virtua Racing\"\n" "check_str=0x150,\"Virtua Racing\"\n"
"check_str=0x810,\"OHMP\"\n" "check_str=0x810,\"OHMP\"\n"