diff options
-rw-r--r-- | engines/hopkins/graphics.cpp | 7 | ||||
-rw-r--r-- | engines/hopkins/graphics.h | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp index bf6a900804..01d61d51e9 100644 --- a/engines/hopkins/graphics.cpp +++ b/engines/hopkins/graphics.cpp @@ -198,7 +198,7 @@ void GraphicsManager::CHARGE_ECRAN(const Common::String &file) { Cls_Pal(); if (!DOUBLE_ECRAN) { - souris_max(); + _vm->_eventsManager.souris_max(); SCANLINE(SCREEN_WIDTH); max_x = SCREEN_WIDTH; DD_Lock(); @@ -470,11 +470,6 @@ void GraphicsManager::Cls_Pal() { } } -// TODO: Check if it's normal it's defined two times (also in events). -void GraphicsManager::souris_max() { - // Original has no implementation -} - void GraphicsManager::SCANLINE(int pitch) { nbrligne = nbrligne2 = pitch; } diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h index 510450795f..8b93efcbc6 100644 --- a/engines/hopkins/graphics.h +++ b/engines/hopkins/graphics.h @@ -118,7 +118,6 @@ public: void Trans_bloc2(byte *surface, byte *col, int size); void A_PCX640_480(byte *surface, const Common::String &file, byte *palette, bool typeFlag); void Cls_Pal(); - void souris_max(); void SCANLINE(int pitch); void m_scroll(const byte *surface, int xs, int ys, int width, int height, int destX, int destY); void m_scroll2(const byte *surface, int xs, int ys, int width, int height, int destX, int destY); |