mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-26 11:57:47 -05:00
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
This commit is contained in:
committed by
Dave Murphy
parent
4f18f8041a
commit
2c98cc91aa
@@ -1,11 +1,11 @@
|
||||
#include <coreinit/systeminfo.h>
|
||||
#include <coreinit/thread.h>
|
||||
#include <coreinit/time.h>
|
||||
#include <coreinit/systeminfo.h>
|
||||
#include <nn/ac.h>
|
||||
|
||||
#include <whb/proc.h>
|
||||
#include <whb/log.h>
|
||||
#include <whb/log_console.h>
|
||||
#include <whb/proc.h>
|
||||
|
||||
#include <thread>
|
||||
|
||||
@@ -13,7 +13,7 @@ int
|
||||
hello_thread()
|
||||
{
|
||||
int last_tm_sec = -1;
|
||||
uint32_t ip = 0;
|
||||
uint32_t ip = 0;
|
||||
WHBLogPrintf("Hello World from a std::thread!");
|
||||
|
||||
if (!nn::ac::GetAssignedAddress(&ip)) {
|
||||
@@ -23,10 +23,10 @@ hello_thread()
|
||||
WHBLogPrintf("My IP is: %u.%u.%u.%u",
|
||||
(ip >> 24) & 0xFF,
|
||||
(ip >> 16) & 0xFF,
|
||||
(ip >> 8) & 0xFF,
|
||||
(ip >> 0) & 0xFF);
|
||||
(ip >> 8) & 0xFF,
|
||||
(ip >> 0) & 0xFF);
|
||||
|
||||
while(WHBProcIsRunning()) {
|
||||
while (WHBProcIsRunning()) {
|
||||
OSCalendarTime tm;
|
||||
OSTicksToCalendarTime(OSGetTime(), &tm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user