aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorJonathan Gray2004-05-01 13:20:58 +0000
committerJonathan Gray2004-05-01 13:20:58 +0000
commitdb5e659d0c965c4a32162100840fb3de0bfb0a75 (patch)
tree4a76f6415eeb03479152f00a8e698a40b913ee6e /saga
parentd46b68d7fe563303089567e8f092856d4108ad07 (diff)
downloadscummvm-rg350-db5e659d0c965c4a32162100840fb3de0bfb0a75.tar.gz
scummvm-rg350-db5e659d0c965c4a32162100840fb3de0bfb0a75.tar.bz2
scummvm-rg350-db5e659d0c965c4a32162100840fb3de0bfb0a75.zip
add some debug calls in the verify functions
svn-id: r13709
Diffstat (limited to 'saga')
-rw-r--r--saga/game.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/saga/game.cpp b/saga/game.cpp
index 666c39aba4..9b774c0479 100644
--- a/saga/game.cpp
+++ b/saga/game.cpp
@@ -544,6 +544,7 @@ int GAME_GetGameType() {
}
int Verify_ITEDEMO(const char *game_dir) {
+ debug(3, "Verify_ITEDEMO()");
YS_IGNORE_PARAM(game_dir);
return R_SUCCESS;
@@ -552,6 +553,7 @@ int Verify_ITEDEMO(const char *game_dir) {
int Verify_ITEDISK(const char *game_dir) {
R_RSCFILE_CONTEXT *test_ctx;
+ debug(3, "Verify_ITEDISK()");
uint32 script_lut_len;
uint32 script_lut_rn;
int verified = 0;
@@ -560,7 +562,7 @@ int Verify_ITEDISK(const char *game_dir) {
if (RSC_OpenContext(test_ctx, "ITE.RSC") != R_SUCCESS) {
return R_FAILURE;
}
-
+
script_lut_rn = GameDescs[R_GAME_ITE_DISK].gd_resource_desc->script_lut_rn;
if (RSC_GetResourceSize(test_ctx,
script_lut_rn, &script_lut_len) != R_SUCCESS) {
@@ -582,18 +584,21 @@ int Verify_ITEDISK(const char *game_dir) {
}
int Verify_ITECD(const char *game_dir) {
+ debug(3, "Verify_ITECD()");
YS_IGNORE_PARAM(game_dir);
return R_SUCCESS;
}
int Verify_IHNMDEMO(const char *game_dir) {
+ debug(3, "Verify_IHNMDEMO()");
YS_IGNORE_PARAM(game_dir);
return R_SUCCESS;
}
int Verify_IHNMCD(const char *game_dir) {
+ debug(3, "Verify_IHNMCD()");
YS_IGNORE_PARAM(game_dir);
return R_SUCCESS;