DC: BUILD: Always disable SCUMMv7+ on Dreamcast (Bug#6008)

With the recent v7/v8 changes in the SCUMM engine, trying to run a v7/v8
SCUMM game is not a nice user experience anymore, because the game just
won't fit in the limited default memory available on Dreamcast anymore.

This is also a problem for some other engines on this platform, but the
SCUMM engine being one of the most popular engines, quite a lot of users
end up burning a toast CD-R on their Dreamcast until they figure out
that only SCUMMv6 and earlier still work nowadays (with some limitations
too).  Disabling v7/v8 from the SCUMM engine plugin should also free up
some memory for a better experience with earlier SCUMM titles.
This commit is contained in:
Donovan Watteau 2023-02-07 15:45:39 +01:00 committed by Eugene Sandulenko
parent 8c570d2701
commit 7e3d551321
2 changed files with 14 additions and 7 deletions

View File

@ -42,7 +42,8 @@ ENABLED=STATIC_PLUGIN
endif
ENABLE_SCUMM = $(ENABLED)
ENABLE_SCUMM_7_8 = $(ENABLED)
# Not meaningful anymore (bug #6008)
#ENABLE_SCUMM_7_8 = $(ENABLED)
ENABLE_HE = $(ENABLED)
ENABLE_AGI = $(ENABLED)
ENABLE_AGOS = $(ENABLED)

18
configure vendored
View File

@ -1513,8 +1513,8 @@ for ac_option in $@; do
*)
option_error
;;
esac;
done;
esac
done
guessed_host=`$_srcdir/config.guess`
get_system_exe_extension $guessed_host
@ -2282,7 +2282,7 @@ else
fi
# Check if std::nullptr_t is available
echo_n "Checking if C++11 std::nullptr_t is available..."
echo_n "Checking if C++11 std::nullptr_t is available... "
cat > $TMPC << EOF
#include <cstddef>
int main(int argc, char *argv[]) {
@ -2292,10 +2292,10 @@ int main(int argc, char *argv[]) {
EOF
cc_check
if test "$TMPR" -eq 0; then
echo yes
echo yes
else
echo no
define_in_config_if_yes yes 'NO_CXX11_NULLPTR_T'
echo no
define_in_config_if_yes yes 'NO_CXX11_NULLPTR_T'
fi
#
@ -2945,6 +2945,12 @@ EOF
if test "$_dynamic_modules" = yes ; then
_detection_features_static=no
fi
# XXX: Enabling SCUMM v7+ hasn't been useful on DC for many years (bug #6008),
# and may confuse users, since this is one of the most popular engines, so make
# sure that it won't be enabled (until a better backend capability requirement
# feature is implemented). This may also help SCUMMv6 and below behave better
# on this very memory-limited platform.
engine_disable scumm_7_8
;;
ds)
_optimization_level=-Os