summaryrefslogtreecommitdiff
path: root/csrc/media_init.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-04 17:34:00 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-04 17:34:00 +0800
commitd999645d973846eddacc66d414a62bc83f3fdfab (patch)
tree2860c1778af80836b65b19f4b670db2e9fad1ab4 /csrc/media_init.c
parent287472628b86043c3fffef88b02b6002c5e6d8a5 (diff)
downloadrich4-d999645d973846eddacc66d414a62bc83f3fdfab.tar.xz
rewrite cursor functions using known structs
Diffstat (limited to 'csrc/media_init.c')
-rw-r--r--csrc/media_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csrc/media_init.c b/csrc/media_init.c
index 56367fb..da6f479 100644
--- a/csrc/media_init.c
+++ b/csrc/media_init.c
@@ -104,7 +104,7 @@ void CALLBACK *timeProc(
IDirectDraw_WaitForVerticalBlank(pddraw, 1, NULL);
}
IDirectDrawSurface_Lock(pddrawsf1, NULL, &sfdesc2, 1, NULL);
- st_46cb14.f8 = dw_48a11c;
+ st_46cb14.gdata = sfdesc2.lpSurface;
fcn_00401f5e();
fcn_00401e59(p.x, p.y);
IDirectDrawSurface_Unlock(pddrawsf1, NULL);