From 03b7ccd02d73299d8d3185d980838c5583dea9f4 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Fri, 28 Sep 2018 19:09:12 +0800 Subject: show_loading_scene --- csrc/loadsave.c | 6 +++--- csrc/main.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/csrc/loadsave.c b/csrc/loadsave.c index 9cba9f0..220cb87 100644 --- a/csrc/loadsave.c +++ b/csrc/loadsave.c @@ -20,11 +20,11 @@ char *dw_48bad0; char *dw_48badc; char *dw_496930[20]; -void fcn_00401543() +void show_loading_scene() { char *ebx = read_mkf(mkf_data, 0x259, NULL, NULL); IDirectDrawSurface_Lock(pddrawsf2, NULL, &sfdesc1, 1, NULL); - memcpy(sfdesc1.lpSurface, ebx, 0x96000); + memcpy(sfdesc1.lpSurface, ebx, 0x96000 /* 640*480*2 */); IDirectDrawSurface_Unlock(pddrawsf2, NULL); IDirectDrawSurface_BltFast(pddrawsf1, g_rect.left, g_rect.top, pddrawsf2, &g_rect, 16); @@ -296,7 +296,7 @@ int load_checkpoint(int n) if (fp == NULL) { return 0; } - fcn_00401543(); + show_loading_scene(); ebp = timeGetTime(); /* esi = 0 */ fcn_004080f5(); diff --git a/csrc/main.c b/csrc/main.c index 3344c00..5cf1ba2 100644 --- a/csrc/main.c +++ b/csrc/main.c @@ -279,7 +279,7 @@ L401cb3: case 0: if (init_new_game((int)b_46cafc)==0) goto case_401de8_0; - fcn_00401543(); + show_loading_scene(); fcn_00407ad2(); fcn_004190cf(); fcn_004291d6(); -- cgit v1.2.3