Random epic tweaks (#568)
* various tweaks to tackle redundancy * Update collision.inc.c * inline the function * fix surface denorms * oops forgot to remove a comment that I just proved false lol * stack asserts * Update main.c * Update main.c * fix bug plural s * Update main.c * comment
This commit is contained in:
1 parent
dc71aef024
commit
35dffd9b4e
9 files changed
+93
-31
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include "main.h"
|
||||
#include "debug.h"
|
||||
#include "rumble_init.h"
|
||||
#include "buffers/buffers.h"
|
||||
|
||||
#include "sm64.h"
|
||||
|
||||
@@ -80,7 +81,7 @@ extern far char *find_function_in_stack(u32 *sp);
|
||||
|
||||
struct {
|
||||
OSThread thread;
|
||||
u64 stack[0x800 / sizeof(u64)];
|
||||
u64 stack[THREAD2_STACK / sizeof(u64)];
|
||||
OSMesgQueue mesgQueue;
|
||||
OSMesg mesg;
|
||||
u16 *framebuffer;
|
||||
|
||||
@@ -261,7 +261,7 @@ void cancel_rumble(void) {
|
||||
|
||||
void create_thread_6(void) {
|
||||
osCreateMesgQueue(&gRumbleThreadVIMesgQueue, gRumbleThreadVIMesgBuf, 1);
|
||||
osCreateThread(&gRumblePakThread, THREAD_6_RUMBLE, thread6_rumble_loop, NULL, gThread6Stack + 0x2000, 30);
|
||||
osCreateThread(&gRumblePakThread, THREAD_6_RUMBLE, thread6_rumble_loop, NULL, gThread6Stack + 0x400, 30);
|
||||
osStartThread(&gRumblePakThread);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user