Fix libimg to execute emms after mmx code

Also, remove an emms hack from Dino game.
Fix #98.
This commit is contained in:
2025-02-24 01:40:31 +00:00
parent 54669d62b4
commit a11466d56b
6 changed files with 175 additions and 128 deletions

View File

@@ -57,10 +57,11 @@ include 'xbm/xbm.asm'
include 'scale.asm'
include 'convert.asm'
COMPOSITE_MODE equ MMX
; MMX | pretty fast and compatible
; SSE | a bit faster, but may be unsupported by some CPUs
include 'blend.asm'
COMPOSITE_MODE equ MMX
match =MMX, COMPOSITE_MODE {include 'blend_mmx.asm'}
match =SSE, COMPOSITE_MODE {include 'blend_sse.asm'}
;;============================================================================;;
proc lib_init ;///////////////////////////////////////////////////////////////;;