From e95e6310dc34d4d1b7c1d4127944039bb6bbce59 Mon Sep 17 00:00:00 2001 From: anyc Date: Mon, 19 May 2014 21:34:54 +0200 Subject: [PATCH] use SDL_HasMMX() do detect MMX capability --- src/rct2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rct2.c b/src/rct2.c index 39b939e420..90674252b7 100644 --- a/src/rct2.c +++ b/src/rct2.c @@ -355,7 +355,7 @@ void get_system_info() else RCT2_GLOBAL(0x1423C18, sint32) = 1; - RCT2_GLOBAL(0x01423C20, uint32) = RCT2_CALLFUNC(0x406993, uint32); // cpu_has_mmx() + RCT2_GLOBAL(0x01423C20, uint32) = (SDL_HasMMX() == SDL_TRUE); }