diff options
-rw-r--r-- | engines/tony/font.cpp | 4 | ||||
-rw-r--r-- | engines/tony/mpal/mpal.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp index 60c7b8d525..42540a2620 100644 --- a/engines/tony/font.cpp +++ b/engines/tony/font.cpp @@ -1055,8 +1055,8 @@ void RMFontCredits::Init(void) { cTable[(byte)'é'] = 57; // cTable[''] = 58; // e ^ // cTable[''] = 59; // e pallini - cTable['ì'] = 60; - cTable['í'] = 61; + cTable[(byte)'ì'] = 60; + cTable[(byte)'í'] = 61; // cTable[''] = 62; // i ^ // cTable[''] = 63; // i pallini cTable[(byte)'ò'] = 64; diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp index ec38083a76..5f88eef268 100644 --- a/engines/tony/mpal/mpal.cpp +++ b/engines/tony/mpal/mpal.cpp @@ -1518,7 +1518,7 @@ static HANDLE DoAction(uint32 nAction, uint32 ordItem, uint32 dwParam) { return INVALID_HANDLE_VALUE; // Nella nuova versione scriviamo il numero dell'azione in dwRes - CopyMemory(newitem,item,sizeof(MPALITEM)); + Common::copy((byte *)item, (byte *)item + sizeof(MPALITEM), (byte *)newitem); /* newitem->Action[0].nCmds=item->Action[i].nCmds; CopyMemory(newitem->Action[0].CmdNum,item->Action[i].CmdNum,newitem->Action[0].nCmds*sizeof(newitem->Action[0].CmdNum[0])); */ |