Fixed incorrect pgn result. I mistakenly swaped black and white on writing PGN files, causing an opposite result to be saved. This is a severe bug, however I only noticed it when I saw reversed ranking in bayeselo :(
Fixed argv[0] passed to the engine (which now is an absolute path). Some engines can not start if argv[0] is incorrect.
Thanks again for the contribution about the Window process support code, Haobin! The PGN color is a little tricky and I once made the same mistake of reversed the colors of two sides before😂
Hi Chao Ma,
This PR contains 4 changes:
getc()
to_getc_nolock()
.