diff options
author | Max Horn | 2006-04-05 00:58:08 +0000 |
---|---|---|
committer | Max Horn | 2006-04-05 00:58:08 +0000 |
commit | 9394430ea8aad1ada90cca0179bf78d111b2509e (patch) | |
tree | 53891b00d7c79bd612ce469b00d1478b84d704c2 | |
parent | 2a528657ad9f728b4865e5647d751af0060f5b2f (diff) | |
download | scummvm-rg350-9394430ea8aad1ada90cca0179bf78d111b2509e.tar.gz scummvm-rg350-9394430ea8aad1ada90cca0179bf78d111b2509e.tar.bz2 scummvm-rg350-9394430ea8aad1ada90cca0179bf78d111b2509e.zip |
use _gameid instead of _game.features to detect games using ImuseDigital (slightly less clean, but then it's still a hack, and this way we only need to pass around the gameid)
svn-id: r21625
-rw-r--r-- | backends/wince/wince-sdl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp index eabcc9c969..b5a8d3a972 100644 --- a/backends/wince/wince-sdl.cpp +++ b/backends/wince/wince-sdl.cpp @@ -533,7 +533,9 @@ void OSystem_WINCE3::get_sample_rate() { } } // See if the output frequency is forced by the game - if ((_gameDetector._game.features & Scumm::GF_DIGI_IMUSE) || + if ((_gameDetector._gameid == "ft" || + _gameDetector._gameid == "dig" || + _gameDetector._gameid == "comi" || _gameDetector._gameid == "queen" || strncmp(_gameDetector._gameid.c_str(), "sword", 5) == 0 || strncmp(_gameDetector._gameid.c_str(), "sky", 3) == 0) |