diff options
author | Jaroslav Hensl <emulator@emulace.cz> | 2024-07-29 13:34:42 +0200 |
---|---|---|
committer | Jaroslav Hensl <emulator@emulace.cz> | 2024-07-29 13:34:42 +0200 |
commit | be8a59eca43f5de0b25c332f4e7c6f799fce307f (patch) | |
tree | e7a02cd4dfac1b67364026f60b7e6a87fc86a28f | |
parent | aa6a69c3b3e147581eb6f1339ae73e876841ef95 (diff) | |
download | vmdisp9x-1.2024.0.72.tar.gz |
optimised CB checkingv1.2024.0.72
-rw-r--r-- | makefile | 2 | ||||
-rw-r--r-- | vxd_svga_cb.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -12,7 +12,7 @@ OBJS += & INCS = -I$(%WATCOM)\h\win -Iddk -Ivmware
-VER_BUILD = 71
+VER_BUILD = 72
FLAGS = -DDRV_VER_BUILD=$(VER_BUILD)
diff --git a/vxd_svga_cb.c b/vxd_svga_cb.c index c73da2f..47ac8f4 100644 --- a/vxd_svga_cb.c +++ b/vxd_svga_cb.c @@ -97,10 +97,10 @@ static uint64 cb_next_id = {0, 0}; */
#define WAIT_FOR_CB(_cb, _forcesync) \
do{ \
- /*dbg_printf(dbg_wait_cb, __LINE__);*/ \
- while(!CB_queue_check_inline(_cb)){ \
- WAIT_FOR_CB_SYNC_ ## _forcesync \
- } \
+ if(cb->status == SVGA_CB_STATUS_NONE){ \
+ while(!CB_queue_check_inline(_cb)){ \
+ WAIT_FOR_CB_SYNC_ ## _forcesync \
+ } } \
}while(0)
/* expansions of WAIT_FOR_CB */
|