Simplify bitshift divisions/multiplications
This commit is contained in:
parent
97d7171123
commit
1d84156509
24 changed files with 342 additions and 342 deletions
|
|
@ -177,7 +177,7 @@ void nthread_start(bool set_turn_upper_bit)
|
|||
largestMsgSize = 512;
|
||||
if (caps.maxmessagesize < 0x200)
|
||||
largestMsgSize = caps.maxmessagesize;
|
||||
gdwDeltaBytesSec = caps.bytessec >> 2;
|
||||
gdwDeltaBytesSec = caps.bytessec / 4;
|
||||
gdwLargestMsgSize = largestMsgSize;
|
||||
gdwNormalMsgSize = caps.bytessec * sgbNetUpdateRate / 20;
|
||||
gdwNormalMsgSize *= 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue