mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Opt: Allow nemu_ipc to have a lower default screenshot interval
This commit is contained in:
parent
76e148f860
commit
0226dd5df3
@ -157,6 +157,9 @@ class Screenshot(Adb, WSA, DroidCast, AScreenCap, Scrcpy, NemuIpc):
|
|||||||
if interval != origin:
|
if interval != origin:
|
||||||
logger.warning(f'Optimization.ScreenshotInterval {origin} is revised to {interval}')
|
logger.warning(f'Optimization.ScreenshotInterval {origin} is revised to {interval}')
|
||||||
self.config.Optimization_ScreenshotInterval = interval
|
self.config.Optimization_ScreenshotInterval = interval
|
||||||
|
# Allow nemu_ipc to have a lower default
|
||||||
|
if self.config.Emulator_ScreenshotMethod == 'nemu_ipc':
|
||||||
|
interval = limit_in(origin, 0.1, 0.2)
|
||||||
elif interval == 'combat':
|
elif interval == 'combat':
|
||||||
origin = self.config.Optimization_CombatScreenshotInterval
|
origin = self.config.Optimization_CombatScreenshotInterval
|
||||||
interval = limit_in(origin, 0.3, 1.0)
|
interval = limit_in(origin, 0.3, 1.0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user