aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/draci/script.cpp2
-rw-r--r--engines/draci/script.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index 05018b590d..c04100af78 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -275,7 +275,7 @@ GPL2Command *Script::findCommand(byte num, byte subnum) {
* value comes from.
*/
-int Script::gpldisasm(byte *gplcode, uint16 len) {
+int Script::run(byte *gplcode, uint16 len) {
Common::MemoryReadStream reader(gplcode, len);
while (!reader.eos()) {
diff --git a/engines/draci/script.h b/engines/draci/script.h
index 11aded6330..4ad305c209 100644
--- a/engines/draci/script.h
+++ b/engines/draci/script.h
@@ -53,7 +53,7 @@ struct GPL2Command {
class Script {
public:
- int gpldisasm(byte *gplcode, uint16 len);
+ int run(byte *gplcode, uint16 len);
private:
GPL2Command *findCommand(byte num, byte subnum);