mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
fix some warnings
This commit is contained in:
parent
b1c48e66c9
commit
59c58aa3cf
72 changed files with 263 additions and 203 deletions
|
|
@ -331,7 +331,7 @@ namespace utils
|
|||
}
|
||||
else
|
||||
{
|
||||
percent = (sys.QuadPart - m_sys_cpu) + (usr.QuadPart - m_usr_cpu);
|
||||
percent = static_cast<double>((sys.QuadPart - m_sys_cpu) + (usr.QuadPart - m_usr_cpu));
|
||||
percent /= (now.QuadPart - m_last_cpu);
|
||||
percent /= utils::get_thread_count(); // Let's assume this is at least 1
|
||||
percent *= 100;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue