mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Increased the upper limit of ProcessorIdle
This commit is contained in:
+2
-2
@@ -348,7 +348,7 @@ ExtraKillTypes=0
|
|||||||
;0 - Fallout default
|
;0 - Fallout default
|
||||||
;1 - Glovz's Damage Fix
|
;1 - Glovz's Damage Fix
|
||||||
;2 - Glovz's Damage Fix with Damage Multiplier tweak
|
;2 - Glovz's Damage Fix with Damage Multiplier tweak
|
||||||
;5 - Haenlomal's Yet Another Ammo Mod.
|
;5 - Haenlomal's Yet Another Ammo Mod
|
||||||
DamageFormula=0
|
DamageFormula=0
|
||||||
|
|
||||||
;Prevents you from using 0 to escape from dialogue at any time.
|
;Prevents you from using 0 to escape from dialogue at any time.
|
||||||
@@ -428,7 +428,7 @@ CorpseDeleteTime=6
|
|||||||
;Set a number of milliseconds to idle each input loop
|
;Set a number of milliseconds to idle each input loop
|
||||||
;Set to -1 to disable
|
;Set to -1 to disable
|
||||||
;Set to 0 to idle only if other processes are waiting for processor time (WinXP/2000: if processes have equal priority)
|
;Set to 0 to idle only if other processes are waiting for processor time (WinXP/2000: if processes have equal priority)
|
||||||
;Set to 1 (or some higher number if needed) to prevent 100% CPU use. The maximum is 30
|
;Set to 1 (or some higher number if needed) to prevent 100% CPU use. The maximum is 50
|
||||||
ProcessorIdle=-1
|
ProcessorIdle=-1
|
||||||
|
|
||||||
;Set to 1 if using the hero appearance mod
|
;Set to 1 if using the hero appearance mod
|
||||||
|
|||||||
@@ -914,7 +914,7 @@ static void EngineOptimizationPatches() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MiscPatches::SetIdle(int value) {
|
void MiscPatches::SetIdle(int value) {
|
||||||
idle = (value > 30) ? 30 : value;
|
idle = (value > 50) ? 50 : value;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MiscPatches::init() {
|
void MiscPatches::init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user