aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saga/image.cpp2
-rw-r--r--saga/interface.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/saga/image.cpp b/saga/image.cpp
index 79550e24ea..ed2320ef10 100644
--- a/saga/image.cpp
+++ b/saga/image.cpp
@@ -58,7 +58,7 @@ int SagaEngine::decodeBGImage(const byte *image_data, size_t image_size,
size_t out_buf_len;
if (image_size <= SAGA_IMAGE_DATA_OFFSET) {
- error("decodeBGImage() Image size is way too small");
+ error("decodeBGImage() Image size is way too small (%d)", image_size);
}
MemoryReadStreamEndian readS(image_data, image_size, isBigEndian());
diff --git a/saga/interface.cpp b/saga/interface.cpp
index 46e2941c87..88ce03b5fe 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -570,7 +570,7 @@ void Interface::draw() {
drawStatusBar();
- if (_panelMode == kPanelMain) {
+ if (_panelMode == kPanelMain || _panelMode == kPanelMap) {
_mainPanel.getRect(rect);
backBuffer->blit(rect, _mainPanel.image);
@@ -2129,7 +2129,8 @@ void Interface::mapPanelShow() {
rect.left = rect.top = 0;
- _vm->_resource->loadResource(_interfaceContext, RID_ITE_TYCHO_MAP, resource, resourceLength);
+ _vm->_resource->loadResource(_interfaceContext,
+ _vm->_resource->convertResourceId(RID_ITE_TYCHO_MAP), resource, resourceLength);
if (resourceLength == 0) {
error("Interface::mapPanelShow() unable to load Tycho map resource");
}