x87: Fix Final Reality discolored screen for all dynarecs

This commit is contained in:
Cacodemon345
2025-02-27 13:50:45 +06:00
parent 6d3816df64
commit 03dd94f361
5 changed files with 75 additions and 0 deletions

View File

@@ -829,6 +829,12 @@ extern uint16_t prefetch_queue_get_ip(void);
extern int prefetch_queue_get_prefetching(void);
extern int prefetch_queue_get_size(void);
#ifdef USE_NEW_DYNAREC
extern void x87_to_mmxreg(uint16_t reg);
#else
extern void x87_to_mmxreg(void);
#endif
#define prefetch_queue_set_suspended(s) prefetch_queue_set_prefetching(!s)
#define prefetch_queue_get_suspended !prefetch_queue_get_prefetching