X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Foptions.c;fp=src%2Foptions.c;h=b9c8e51356cfaec5a882cd12f29232e6959262e9;hb=8b08e899b6ffcfd2d1b31790de5b3a4412cde64c;hp=97b2531d4d3ed1dbb52ab89c77f1f81446a52749;hpb=c596cbfefb57d435cff35d0d24b1b40c2dca4fbe;p=retroray
diff --git a/src/options.c b/src/options.c
index 97b2531..b9c8e51 100644
--- a/src/options.c
+++ b/src/options.c
@@ -20,6 +20,7 @@ along with this program. If not, see .
#include
#include "options.h"
#include "treestor.h"
+#include "logger.h"
#define DEF_XRES 640
#define DEF_YRES 480
@@ -43,7 +44,7 @@ int load_options(const char *fname)
if(!(cfg = ts_load(fname))) {
return -1;
}
- printf("loaded config: %s\n", fname);
+ infomsg("loaded config: %s\n", fname);
opt.xres = ts_lookup_int(cfg, "options.video.xres", DEF_XRES);
opt.yres = ts_lookup_int(cfg, "options.video.yres", DEF_YRES);