From c924f95e502d531ae37ea1fe8cbfc8e9e6009624 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Fri, 29 Mar 2013 12:34:52 -0300 Subject: [PATCH] [xmp] Fix option setting Signed-off-by: Claudio Matsuoka --- src/options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/options.c b/src/options.c index 6ed1764..c325648 100644 --- a/src/options.c +++ b/src/options.c @@ -171,7 +171,7 @@ void get_options(int argc, char **argv, struct options *options) options->rate = strtoul(optarg, NULL, 0); break; case OPT_FIXLOOP: - options->flags |= XMP_FLAGS_FIXLOOP; + options->fixloop = 1; break; case 'I': options->ins_path = optarg; @@ -225,7 +225,7 @@ void get_options(int argc, char **argv, struct options *options) } break; case OPT_FX9BUG: - options->flags |= XMP_FLAGS_FX9BUG; + options->fx9bug = 1; break; case 'P': options->mix = strtoul(optarg, NULL, 0); @@ -283,7 +283,7 @@ void get_options(int argc, char **argv, struct options *options) options->format |= XMP_FORMAT_UNSIGNED; break; case OPT_VBLANK: - options->flags |= XMP_FLAGS_VBLANK; + options->vblank = 1; break; case 'V': puts("Extended Module Player " VERSION);