Doesn't seem to work with Mega Man X4 anymore... don't know why, but all of a sudden I see this wrong screen res/detph: https://i.ibb.co/YPhV52P/20200310-170515.jpg (pic)
Another img with the issue: https://i.ibb.co/92t9JV4/20200310-171859.jpg
It seems a bug when the Game screen depth option is set in 16-bit mode, works fine in 32-bit. Of course DXGL was configured for 8-16-32-bit modes but doesn't seem to work fine in 8-16 (you can switch res in-game with F5 and F6 keys).
In that case, I might have to add an API hook to tell the game what BPP the game is running at, as it may be using Win32 instead of DirectDraw to query the screen BPP.