mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
SCI: Move kGetWindowsOption together with the other misc kernel functions
This commit is contained in:
parent
9184a40fcc
commit
5a47afea9e
@ -197,18 +197,6 @@ reg_t kDisposeTextBitmap(EngineState *s, int argc, reg_t *argv) {
|
|||||||
return s->r_acc;
|
return s->r_acc;
|
||||||
}
|
}
|
||||||
|
|
||||||
reg_t kGetWindowsOption(EngineState *s, int argc, reg_t *argv) {
|
|
||||||
uint16 windowsOption = argv[0].toUint16();
|
|
||||||
switch (windowsOption) {
|
|
||||||
case 0:
|
|
||||||
// Title bar on/off in Phantasmagoria, we return 0 (off)
|
|
||||||
return NULL_REG;
|
|
||||||
default:
|
|
||||||
warning("GetWindowsOption: Unknown option %d", windowsOption);
|
|
||||||
return NULL_REG;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
reg_t kWinHelp(EngineState *s, int argc, reg_t *argv) {
|
reg_t kWinHelp(EngineState *s, int argc, reg_t *argv) {
|
||||||
switch (argv[0].toUint16()) {
|
switch (argv[0].toUint16()) {
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -419,6 +419,18 @@ reg_t kGetSierraProfileInt(EngineState *s, int argc, reg_t *argv) {
|
|||||||
return argv[2];
|
return argv[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reg_t kGetWindowsOption(EngineState *s, int argc, reg_t *argv) {
|
||||||
|
uint16 windowsOption = argv[0].toUint16();
|
||||||
|
switch (windowsOption) {
|
||||||
|
case 0:
|
||||||
|
// Title bar on/off in Phantasmagoria, we return 0 (off)
|
||||||
|
return NULL_REG;
|
||||||
|
default:
|
||||||
|
warning("GetWindowsOption: Unknown option %d", windowsOption);
|
||||||
|
return NULL_REG;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// kIconBar is really a subop of kMacPlatform for SCI1.1 Mac
|
// kIconBar is really a subop of kMacPlatform for SCI1.1 Mac
|
||||||
|
Loading…
Reference in New Issue
Block a user