X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fcommon%2Fconfig.h;fp=drivers%2Fcommon%2Fconfig.h;h=b2d224479a2bb8f5af7f1534e7b63f7aac684c92;hp=0689f2118b0f1936c848fc42e0603367761bf701;hb=642070a99a18726024c5b214263221a0340e6987;hpb=39e1ccffc7ec6bbee9bb3ed1be7cbe856792bf69 diff --git a/drivers/common/config.h b/drivers/common/config.h index 0689f21..b2d2244 100644 --- a/drivers/common/config.h +++ b/drivers/common/config.h @@ -24,8 +24,8 @@ typedef struct { int len; } CFGSTRUCT; -void SaveFCEUConfig(char *filename, CFGSTRUCT *cfgst); -void LoadFCEUConfig(char *filename, CFGSTRUCT *cfgst); +int SaveFCEUConfig(char *filename, CFGSTRUCT *cfgst); +int LoadFCEUConfig(char *filename, CFGSTRUCT *cfgst); /* Macros for building CFGSTRUCT structures. */ @@ -39,7 +39,7 @@ void LoadFCEUConfig(char *filename, CFGSTRUCT *cfgst); #define ADDCFGSTRUCT(x) { 0,&x,0 } /* Oops. The NAC* macros shouldn't have the # in front of the w, but - fixing this would break configuration files of previous versions and it + fixing this would break configuration files of previous versions and it isn't really hurting much. */