projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20091101-2-src
[rocksndiamonds.git]
/
src
/
game_sp
/
DDScrollBuffer.c
diff --git
a/src/game_sp/DDScrollBuffer.c
b/src/game_sp/DDScrollBuffer.c
index 12344b80fca9d13990b6c34fb914b5fd65a82a42..48a35ef12084aeb44410caeedc9b2586c91e2af1 100644
(file)
--- a/
src/game_sp/DDScrollBuffer.c
+++ b/
src/game_sp/DDScrollBuffer.c
@@
-181,13
+181,30
@@
void DDScrollBuffer_Blt_Ext(Bitmap *target_bitmap)
SR.left, SR.top, mScrollX, mScrollY, mDestXOff, mDestYOff);
#endif
SR.left, SR.top, mScrollX, mScrollY, mDestXOff, mDestYOff);
#endif
+#if 0
+ /* !!! quick and dirty -- FIX THIS !!! */
+ if (tape.playing && tape.fast_forward &&
+ target_bitmap == window &&
+ (FrameCounter % 2) != 0)
+ printf("::: FrameCounter == %d\n", FrameCounter);
+#endif
+
+#if 1
+ SyncDisplay();
+#endif
+
#if 1
BlitBitmap(screenBitmap, target_bitmap,
SR.left, SR.top,
SCR_FIELDX * TILEX, SCR_FIELDY * TILEY, SX, SY);
#endif
#if 1
BlitBitmap(screenBitmap, target_bitmap,
SR.left, SR.top,
SCR_FIELDX * TILEX, SCR_FIELDY * TILEY, SX, SY);
#endif
+#if 1
+ FlushDisplay();
+#endif
+
return;
return;
+
#endif
// DDraw.WaitForVerticalBlank DDWAITVB_BLOCKBEGIN, 0
#endif
// DDraw.WaitForVerticalBlank DDWAITVB_BLOCKBEGIN, 0