mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
SCI32: Remove never-read default values
This commit is contained in:
parent
836f1bdf44
commit
eba9526fdd
@ -158,7 +158,7 @@ reg_t kResCheck(EngineState *s, int argc, reg_t *argv) {
|
||||
// GK2 stores some VMDs inside of resource volumes, but usually videos are
|
||||
// streamed from the filesystem.
|
||||
if (res == nullptr) {
|
||||
const char *format = nullptr;
|
||||
const char *format;
|
||||
switch (restype) {
|
||||
case kResourceTypeRobot:
|
||||
format = "%u.rbt";
|
||||
|
@ -1509,7 +1509,7 @@ uint32 RobotDecoder::createCel5(const byte *rawVideoData, const int16 screenItem
|
||||
assert(bitmap.getHunkPaletteOffset() == (uint32)bitmap.getWidth() * bitmap.getHeight() + SciBitmap::getBitmapHeaderSize());
|
||||
bitmap.setOrigin(origin);
|
||||
|
||||
byte *targetBuffer = nullptr;
|
||||
byte *targetBuffer;
|
||||
if (_verticalScaleFactor == 100) {
|
||||
// direct copy to bitmap
|
||||
targetBuffer = bitmap.getPixels();
|
||||
|
Loading…
x
Reference in New Issue
Block a user