Replaced Windows critical section with mutex - fixes some issues with window movement/resizing when using Direct3D output.
This commit is contained in:
parent
6aef53e854
commit
d27c7a0947
11 changed files with 22 additions and 25 deletions
|
|
@ -235,9 +235,9 @@ void mda_poll(void *p)
|
|||
if (ysize < 32) ysize = 200;
|
||||
updatewindowsize(xsize, ysize);
|
||||
}
|
||||
startblit();
|
||||
|
||||
video_blit_memtoscreen_8(0, mda->firstline, xsize, mda->lastline - mda->firstline);
|
||||
endblit();
|
||||
|
||||
frames++;
|
||||
video_res_x = mda->crtc[1];
|
||||
video_res_y = mda->crtc[6];
|
||||
|
|
|
|||
Loading…
Reference in a new issue