mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
SCI32: Return correct KPlatform32 value on Mac
Fixes GK1 Mac intro and other slideshow movies
This commit is contained in:
parent
ee2aa6160c
commit
9f71bcab74
@ -663,10 +663,14 @@ reg_t kPlatform32(EngineState *s, int argc, reg_t *argv) {
|
||||
return make_reg(0, kSciPlatformWindows);
|
||||
case Common::kPlatformMacintosh:
|
||||
// For Mac versions, kPlatform(0) with other args has more functionality
|
||||
if (argc > 1)
|
||||
if (argc > 1) {
|
||||
return kMacPlatform(s, argc - 1, argv + 1);
|
||||
else
|
||||
return make_reg(0, kSciPlatformMacintosh);
|
||||
} else {
|
||||
// SCI32 Mac claims to be DOS. GK1 depends on this in order to play its
|
||||
// view-based slideshow movies. It appears that Sierra opted to change
|
||||
// this return value instead of updating the game scripts for Mac.
|
||||
return make_reg(0, kSciPlatformDOS);
|
||||
}
|
||||
default:
|
||||
error("Unknown platform %d", g_sci->getPlatform());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user