prettyhatemachine/sph-sgminer — pull request #1 by DJstone (2014-03-14 14:51:45+00:00)
Title: Update sgminer.c

Changed the selection of the macro "DM_SELECT" from "(1,256,65536)" to (1,1,65536)" to fix "share above target" on quarkcoin kernel.

functions changed:
"set_target"
"calc_diff"
"share_diff"

This also fixes the wrong calculated network diff if "DM_SELECT" is only changed it function "set_target".