notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3DS: Schedule threads on the default core
[pcsx_rearmed.git]
/
frontend
/
3ds
/
pthread.h
diff --git
a/frontend/3ds/pthread.h
b/frontend/3ds/pthread.h
index
2c2bf6b
..
42de161
100644
(file)
--- a/
frontend/3ds/pthread.h
+++ b/
frontend/3ds/pthread.h
@@
-25,7
+25,7
@@
static inline int pthread_create(pthread_t *thread,
svcCreateThread(&thread->handle, start_routine, arg,
(uint32_t*)((uint32_t)thread->stack + CTR_PTHREAD_STACK_SIZE),
svcCreateThread(&thread->handle, start_routine, arg,
(uint32_t*)((uint32_t)thread->stack + CTR_PTHREAD_STACK_SIZE),
- 0x25,
1
);
+ 0x25,
-2
);
return 1;
}
return 1;
}