diff options
author | Sven Hesse | 2006-04-18 12:39:02 +0000 |
---|---|---|
committer | Sven Hesse | 2006-04-18 12:39:02 +0000 |
commit | 4d2f4a9f797e8beabad868164b203fbc3e5625e1 (patch) | |
tree | a208c555729d846cd71c03684e8126c9f68a3759 /engines/gob/draw_v2.cpp | |
parent | 18cf15ffc3801bc68bcf07708df6c7c260397410 (diff) | |
download | scummvm-rg350-4d2f4a9f797e8beabad868164b203fbc3e5625e1.tar.gz scummvm-rg350-4d2f4a9f797e8beabad868164b203fbc3e5625e1.tar.bz2 scummvm-rg350-4d2f4a9f797e8beabad868164b203fbc3e5625e1.zip |
- Closed the stub in Draw_v2::printText()
- Added a language field in GameSettings, so that the texts in
Gob2 work for other languages than EN_GRB as well
svn-id: r22005
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r-- | engines/gob/draw_v2.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index 34ee703572..f2468766b0 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -329,14 +329,9 @@ void Draw_v2::printText(void) { case 10: // loc_12C93 - warning("GOB2 Stub! Draw_v2::printText: cmd == 10"); -/* -WTF: - mov ax, word ptr [bp+ptr] - xor dx, dx - sub ax, word ptr _game_totTextData - sbb dx, 0 -*/ + str[0] = (char)255; + *((int16*)(str+1)) = ptr - (char *)_vm->_game->_totTextData; + str[3] = 0; ptr++; i = *ptr++; for (i = *ptr++; i > 0; i--) { |