Updated threadCreate() usage in the misc examples for latest libnx.

This commit is contained in:
yellows8 2019-10-19 19:02:43 -04:00
parent 68a9002b4a
commit 188b41ff9e
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ int main(int argc, char **argv)
u64 i;
for (i=0; i<4; i++) {
num_threads = i;
rc = threadCreate(&thread[i], threadFunc, (void*)i, 0x10000, 0x2C, -2);
rc = threadCreate(&thread[i], threadFunc, (void*)i, NULL, 0x10000, 0x2C, -2);
if (R_FAILED(rc))
goto clean_up;
}

View File

@ -62,7 +62,7 @@ int main(int argc, char **argv)
Thread thread;
Result rc;
rc = threadCreate(&thread, threadFunc1, NULL, 0x10000, 0x2C, -2);
rc = threadCreate(&thread, threadFunc1, NULL, NULL, 0x10000, 0x2C, -2);
if (R_SUCCEEDED(rc))
{

View File

@ -59,7 +59,7 @@ int main(int argc, char **argv)
Thread thread;
Result rc;
rc = threadCreate(&thread, threadFunc1, NULL, 0x10000, 0x2C, -2);
rc = threadCreate(&thread, threadFunc1, NULL, NULL, 0x10000, 0x2C, -2);
if (R_SUCCEEDED(rc))
{