# Smack

Hook Smackw32 | HOOKSMACKW32 | Hooks Smackw32 to avoid tight looping, allowing debugging, tracing, and future expansions. When this flag is active, the SmackOpen call activates a thread that ensures that all frames are refreshed to the screen (similar to the "Auto Primary Surface Blit" option in DirectDraw Surface Handling).
Fix Smack loop | FIXSMACKLOOP | Fixes a Smack loop by inserting processmessage and blit operations between frames. During the playback of Smack movies (which typically have a .smk extension), the screen may not get updated, which is detected by the OS and killed as a nonresponsive program. The intro movies in the game "Galapagos" benefit from this flag.