Rename opcode
svn-id: r14993
This commit is contained in:
parent
00452c4073
commit
c1fe9cefd3
5 changed files with 11 additions and 16 deletions
|
@ -634,7 +634,7 @@ protected:
|
||||||
void o7_writeINI();
|
void o7_writeINI();
|
||||||
void o7_unknownF5();
|
void o7_unknownF5();
|
||||||
void o7_unknownF6();
|
void o7_unknownF6();
|
||||||
void o7_unknownF9();
|
void o7_setFilePath();
|
||||||
void o7_unknownFA();
|
void o7_unknownFA();
|
||||||
void o7_unknownFB();
|
void o7_unknownFB();
|
||||||
void o7_unknownFC();
|
void o7_unknownFC();
|
||||||
|
@ -760,7 +760,7 @@ protected:
|
||||||
void o72_unknownF5();
|
void o72_unknownF5();
|
||||||
void o72_unknownF6();
|
void o72_unknownF6();
|
||||||
void o72_unknownF8();
|
void o72_unknownF8();
|
||||||
void o72_unknownF9();
|
void o72_setFilePath();
|
||||||
void o72_unknownFA();
|
void o72_unknownFA();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ void ScummEngine_v72he::setupOpcodes() {
|
||||||
OPCODE(o6_invalid),
|
OPCODE(o6_invalid),
|
||||||
/* F8 */
|
/* F8 */
|
||||||
OPCODE(o72_unknownF8),
|
OPCODE(o72_unknownF8),
|
||||||
OPCODE(o72_unknownF9),
|
OPCODE(o72_setFilePath),
|
||||||
OPCODE(o72_unknownFA),
|
OPCODE(o72_unknownFA),
|
||||||
OPCODE(o7_unknownFB),
|
OPCODE(o7_unknownFB),
|
||||||
/* FC */
|
/* FC */
|
||||||
|
@ -1913,11 +1913,11 @@ void ScummEngine_v72he::o72_unknownF8() {
|
||||||
debug(1,"stub o72_unknownF8(%d)", a);
|
debug(1,"stub o72_unknownF8(%d)", a);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScummEngine_v72he::o72_unknownF9() {
|
void ScummEngine_v72he::o72_setFilePath() {
|
||||||
// File related
|
// File related
|
||||||
byte filename[100];
|
byte filename[100];
|
||||||
copyScriptString(filename);
|
copyScriptString(filename);
|
||||||
debug(1,"o72_unknownF9: %s", filename);
|
debug(1,"o72_setFilePath: %s", filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScummEngine_v72he::o72_unknownFA() {
|
void ScummEngine_v72he::o72_unknownFA() {
|
||||||
|
|
|
@ -357,7 +357,7 @@ void ScummEngine_v7he::setupOpcodes() {
|
||||||
OPCODE(o6_invalid),
|
OPCODE(o6_invalid),
|
||||||
/* F8 */
|
/* F8 */
|
||||||
OPCODE(o6_invalid),
|
OPCODE(o6_invalid),
|
||||||
OPCODE(o7_unknownF9),
|
OPCODE(o7_setFilePath),
|
||||||
OPCODE(o7_unknownFA),
|
OPCODE(o7_unknownFA),
|
||||||
OPCODE(o7_unknownFB),
|
OPCODE(o7_unknownFB),
|
||||||
/* FC */
|
/* FC */
|
||||||
|
@ -986,9 +986,9 @@ void ScummEngine_v7he::o7_unknownF6() {
|
||||||
debug(1,"stub o7_unknownF6");
|
debug(1,"stub o7_unknownF6");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScummEngine_v7he::o7_unknownF9() {
|
void ScummEngine_v7he::o7_setFilePath() {
|
||||||
// File related
|
// File related
|
||||||
int len, r;
|
int len;
|
||||||
byte filename[100];
|
byte filename[100];
|
||||||
|
|
||||||
addMessageToStack(_scriptPointer, filename, sizeof(filename));
|
addMessageToStack(_scriptPointer, filename, sizeof(filename));
|
||||||
|
@ -996,12 +996,7 @@ void ScummEngine_v7he::o7_unknownF9() {
|
||||||
len = resStrLen(_scriptPointer);
|
len = resStrLen(_scriptPointer);
|
||||||
_scriptPointer += len + 1;
|
_scriptPointer += len + 1;
|
||||||
|
|
||||||
for (r = strlen((char*)filename); r != 0; r--) {
|
debug(1,"stub o7_setFilePath(%s)", filename);
|
||||||
if (filename[r - 1] == '\\')
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
debug(1,"stub o7_unknownF9(\"%s\")", filename + r);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScummEngine_v7he::o7_unknownFA() {
|
void ScummEngine_v7he::o7_unknownFA() {
|
||||||
|
|
|
@ -356,7 +356,7 @@ void ScummEngine_v80he::setupOpcodes() {
|
||||||
OPCODE(o6_invalid),
|
OPCODE(o6_invalid),
|
||||||
/* F8 */
|
/* F8 */
|
||||||
OPCODE(o72_unknownF8),
|
OPCODE(o72_unknownF8),
|
||||||
OPCODE(o72_unknownF9),
|
OPCODE(o72_setFilePath),
|
||||||
OPCODE(o72_unknownFA),
|
OPCODE(o72_unknownFA),
|
||||||
OPCODE(o7_unknownFB),
|
OPCODE(o7_unknownFB),
|
||||||
/* FC */
|
/* FC */
|
||||||
|
|
|
@ -356,7 +356,7 @@ void ScummEngine_v90he::setupOpcodes() {
|
||||||
OPCODE(o6_invalid),
|
OPCODE(o6_invalid),
|
||||||
/* F8 */
|
/* F8 */
|
||||||
OPCODE(o72_unknownF8),
|
OPCODE(o72_unknownF8),
|
||||||
OPCODE(o72_unknownF9),
|
OPCODE(o72_setFilePath),
|
||||||
OPCODE(o72_unknownFA),
|
OPCODE(o72_unknownFA),
|
||||||
OPCODE(o7_unknownFB),
|
OPCODE(o7_unknownFB),
|
||||||
/* FC */
|
/* FC */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue