From 9635482e0e72eda3ecd256e80de995e6635f1447 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Fri, 29 Mar 2013 11:57:25 -0300 Subject: [PATCH] [xmp] Fix player flag setting Don't set flags for the current module based on flags for the previous module (which may include module quirks). Signed-off-by: Claudio Matsuoka --- src/main.c | 3 +-- src/modules.conf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index f2c9eb2..c5990ea 100644 --- a/src/main.c +++ b/src/main.c @@ -361,8 +361,7 @@ int main(int argc, char **argv) else if ((y) < 0) (x) &= ~ (z); \ } while (0) - flags = xmp_get_player(xc, XMP_PLAYER_FLAGS); - + flags = 0; set_flag(flags, opt.vblank, XMP_FLAGS_VBLANK); set_flag(flags, opt.fx9bug, XMP_FLAGS_FX9BUG); set_flag(flags, opt.fixloop, XMP_FLAGS_FIXLOOP); diff --git a/src/modules.conf b/src/modules.conf index 9aab033..8c51b92 100644 --- a/src/modules.conf +++ b/src/modules.conf @@ -28,6 +28,6 @@ fixloop = yes [70aa034dfb2f1f73d9fdbafe131bb701] vblank = yes -# Klisje paa klisje (added by Kjetil Torgrim Homme) +# "klisje paa klisje" (added by Kjetil Torgrim Homme) [e998012c700eb43af0321711305829b2] vblank = yes