mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
git subrepo clone --force --branch=exo2 https://github.com/m4xw/emummc
subrepo: subdir: "emummc" merged: "3791be9f" upstream: origin: "https://github.com/m4xw/emummc" branch: "exo2" commit: "3791be9f" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
This commit is contained in:
parent
6c145d76c7
commit
f82954e98b
29 changed files with 1653 additions and 871 deletions
|
@ -96,7 +96,7 @@ u64 get_tmr_us()
|
|||
void msleep(u64 milliseconds)
|
||||
{
|
||||
u64 now = get_tmr_ms();
|
||||
while (get_tmr_ms() - now < milliseconds)
|
||||
while (((u64)get_tmr_ms() - now) < milliseconds)
|
||||
;
|
||||
//svcSleepThread(1000000 * milliseconds);
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ void msleep(u64 milliseconds)
|
|||
void usleep(u64 microseconds)
|
||||
{
|
||||
u64 now = get_tmr_us();
|
||||
while (get_tmr_us() - now < microseconds)
|
||||
while (((u64)get_tmr_us() - now) < microseconds)
|
||||
;
|
||||
//svcSleepThread(1000 * microseconds);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue