update clang and add action (#664)

* update clang and add action

* try clang on course folder only

* forget two file

* Update course_displaylists.inc.c

* forget few other file

* Update course_vertices.inc.c

* format all code while get it match

* second pass

* format other dir

* disable clang format on bad ido code

* fix some tabulation

* revert format on tool dir

* Update clang-format.yml

* ignore gbi.h

* add some read me instruction

* fix error

* format and fixing error

* Update README.md

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
coco875
2024-08-24 23:27:53 +02:00
committed by GitHub
parent 368c276e1e
commit 17a6f4bb3d
405 changed files with 190745 additions and 207588 deletions
+8 -8
View File
@@ -1,15 +1,15 @@
#include "libultra_internal.h"
NO_REORDER OSThread *__osThreadTail = NULL;
NO_REORDER OSThread* __osThreadTail = NULL;
NO_REORDER u32 __osTest = -1;
NO_REORDER OSThread *__osRunQueue = (OSThread *) &__osThreadTail;
NO_REORDER OSThread *__osActiveQueue = (OSThread *) &__osThreadTail;
OSThread *__osRunningThread = NULL;
OSThread *__osFaultedThread = NULL;
NO_REORDER OSThread* __osRunQueue = (OSThread*) &__osThreadTail;
NO_REORDER OSThread* __osActiveQueue = (OSThread*) &__osThreadTail;
OSThread* __osRunningThread = NULL;
OSThread* __osFaultedThread = NULL;
void __osDequeueThread(OSThread **queue, OSThread *thread) {
register OSThread **a2;
register OSThread *a3;
void __osDequeueThread(OSThread** queue, OSThread* thread) {
register OSThread** a2;
register OSThread* a3;
a2 = queue;
a3 = *a2;
while (a3 != NULL) {