mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
933ee5b156
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first parameter another one "void *", they furthermore have the exact same number of required parameters. The one "void *" just had a few extra parameters with default values. This resulted in a bug in SCUMM, where "VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &" and thus the method taking "void *" was incorrectly used. To make it easier to spot such bugs in the future I just removed the default values and thus disallow such calls. |
||
---|---|---|
.. | ||
engine | ||
graphics | ||
parser | ||
sound | ||
video | ||
console.cpp | ||
console.h | ||
debug.h | ||
decompressor.cpp | ||
decompressor.h | ||
detection_tables.h | ||
detection.cpp | ||
event.cpp | ||
event.h | ||
module.mk | ||
resource_audio.cpp | ||
resource_intern.h | ||
resource.cpp | ||
resource.h | ||
sci.cpp | ||
sci.h | ||
util.cpp | ||
util.h |