merge from master
fix for efb to ram on dx9
merge master changes