fix: emulator polling input at 10Hz now

This commit is contained in:
Laureηt 2021-11-01 14:06:28 +01:00
parent 922a4c51f1
commit 6b19b6ff95
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -44,7 +44,7 @@ async def main():
while True:
if core.frame_counter % 30 == 0: # 2Hz
if core.frame_counter % 6 == 0: # 10Hz
await websocket.send('{"emu":"get"}')
message = await websocket.recv()
data = json.loads(message)