[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 <cmatsuoka@gmail.com>
master
Claudio Matsuoka 13 years ago
parent 7bc0c45b59
commit 9635482e0e
  1. 3
      src/main.c
  2. 2
      src/modules.conf

@ -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);

@ -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

Loading…
Cancel
Save