Increased the upper limit of ProcessorIdle

This commit is contained in:
NovaRain
2023-01-07 23:06:07 +08:00
parent 9bdd633fcd
commit ad137896c9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -348,7 +348,7 @@ ExtraKillTypes=0
;0 - Fallout default
;1 - Glovz's Damage Fix
;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
;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 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 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
;Set to 1 if using the hero appearance mod
+1 -1
View File
@@ -914,7 +914,7 @@ static void EngineOptimizationPatches() {
}
void MiscPatches::SetIdle(int value) {
idle = (value > 30) ? 30 : value;
idle = (value > 50) ? 50 : value;
}
void MiscPatches::init() {