Skip to content

Commit

Permalink
funkey config file now with extension .fkcfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent-FK committed Apr 12, 2021
1 parent aadbc04 commit c2f5d2a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ CFLAGS += -DNO_FRONTEND
endif

# misc
OBJS += frontend/main.o frontend/plugin.o frontend/configfile.o
OBJS += frontend/main.o frontend/plugin.o frontend/configfile_fk.o


frontend/menu.o frontend/main.o: frontend/revision.h
Expand Down
4 changes: 2 additions & 2 deletions frontend/configfile.c → frontend/configfile_fk.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// configfile.c - handles loading and saving the configuration options
// configfile_fk.c - handles loading and saving the funkey configuration options
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>

#include "configfile.h"
#include "configfile_fk.h"

#define ARRAY_LEN(arr) (sizeof(arr) / sizeof(arr[0]))

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions frontend/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "plugin_lib.h"
#include "pcnt.h"
#include "menu.h"
#include "configfile.h"
#include "configfile_fk.h"
#include "plat.h"
#include "../libpcsxcore/misc.h"
#include "../libpcsxcore/cheat.h"
Expand Down Expand Up @@ -67,7 +67,7 @@ char *quick_save_file = NULL;
char *cfg_file_default = NULL;
char *cfg_file_rom = NULL;
static char *cfg_file_default_name = "default_config";
static char *cfg_file_extension = "cfg";
static char *cfg_file_extension = "fkcfg";



Expand Down
2 changes: 1 addition & 1 deletion frontend/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "main.h"
#include "menu.h"
#include "configfile.h"
#include "configfile_fk.h"
#include "config.h"
#include "plugin.h"
#include "plugin_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion frontend/plat_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "plugin.h"
#include "main.h"
#include "menu.h"
#include "configfile.h"
#include "configfile_fk.h"
#include "plat.h"
#include "revision.h"

Expand Down

0 comments on commit c2f5d2a

Please sign in to comment.