Update ui quicker for usb and xci stuff

This commit is contained in:
Huntereb 2019-11-30 13:42:55 -05:00
parent bca8a71b1d
commit 73762a6165
3 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ namespace tin::install::xci
{ {
u64 newTime = armGetSystemTick(); u64 newTime = armGetSystemTick();
if (newTime - startTime >= freq) if (newTime - startTime >= freq * 0.5)
{ {
size_t newSizeBuffered = bufferedPlaceholderWriter.GetSizeBuffered(); size_t newSizeBuffered = bufferedPlaceholderWriter.GetSizeBuffered();
double mbBuffered = (newSizeBuffered / 1000000.0) - (startSizeBuffered / 1000000.0); double mbBuffered = (newSizeBuffered / 1000000.0) - (startSizeBuffered / 1000000.0);

View file

@ -107,7 +107,7 @@ namespace tin::install::nsp
{ {
u64 newTime = armGetSystemTick(); u64 newTime = armGetSystemTick();
if (newTime - startTime >= freq) if (newTime - startTime >= freq * 0.5)
{ {
size_t newSizeBuffered = bufferedPlaceholderWriter.GetSizeBuffered(); size_t newSizeBuffered = bufferedPlaceholderWriter.GetSizeBuffered();
double mbBuffered = (newSizeBuffered / 1000000.0) - (startSizeBuffered / 1000000.0); double mbBuffered = (newSizeBuffered / 1000000.0) - (startSizeBuffered / 1000000.0);

View file

@ -107,7 +107,7 @@ namespace tin::install::xci
{ {
u64 newTime = armGetSystemTick(); u64 newTime = armGetSystemTick();
if (newTime - startTime >= freq) if (newTime - startTime >= freq * 0.5)
{ {
size_t newSizeBuffered = bufferedPlaceholderWriter.GetSizeBuffered(); size_t newSizeBuffered = bufferedPlaceholderWriter.GetSizeBuffered();
double mbBuffered = (newSizeBuffered / 1000000.0) - (startSizeBuffered / 1000000.0); double mbBuffered = (newSizeBuffered / 1000000.0) - (startSizeBuffered / 1000000.0);