From b4e5bf410669b63af076a16ec81634ecf7126dea Mon Sep 17 00:00:00 2001 From: James Benton Date: Fri, 25 May 2018 18:06:25 +0100 Subject: [PATCH] Change OS{Get,Set}ThreadSpecific to use void *. --- include/coreinit/thread.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/coreinit/thread.h b/include/coreinit/thread.h index 04ff2d7..cccfcc6 100644 --- a/include/coreinit/thread.h +++ b/include/coreinit/thread.h @@ -175,7 +175,7 @@ struct OSThread UNKNOWN(0x57c - 0x3a0); //! Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific. - uint32_t specific[0x10]; + void *specific[0x10]; UNKNOWN(0x5c0 - 0x5bc); @@ -375,7 +375,7 @@ OSGetThreadPriority(OSThread *thread); /** * Get a thread's specific value set by OSSetThreadSpecific. */ -uint32_t +void * OSGetThreadSpecific(uint32_t id); @@ -498,7 +498,7 @@ OSSetThreadRunQuantum(OSThread *thread, */ void OSSetThreadSpecific(uint32_t id, - uint32_t value); + void *value); /**