Ryzee119 / LithiumX

A simple dashboard, mainly developed for the Original Xbox console, but it can be compiled for Windows and Linux for rapid development and testing.
MIT License
72 stars 8 forks source link

xbox: Cache remainder of platform items #37

Closed Ryzee119 closed 10 months ago

Ryzee119 commented 11 months ago

Kind of follows from https://github.com/Ryzee119/LithiumX/pull/36

Caches remainder of non-volatile strings - things that access EEPROM are slow and block GUI thread. Dont call GetLocalTime every second - this is slow and has lots of EEPROM access ( it now reads once then calculates using ticks) - will read the EEPROM the first time or once a day. Moved the temp reading from ADM out of gui thread

Platform info screen GUI CPU time is basically the same as most idle screens now

GXTX commented 11 months ago

Smoke tested and it's working!