diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2024-08-28 01:47:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 17:47:39 -0600 |
| commit | a1f0d32d666c07d0754d97f107a5be59153768fd (patch) | |
| tree | fcc84d9daa940274be8cf76715be902d93338e64 /src/stubs.c | |
| parent | bb3cbe0500197f894c83230a9a170a2cbe7aa3e8 (diff) | |
Update decomp clang (#67)
* Update menus.c (#634)
* Update common_data.yml (#635)
* Renames for screenId and other changes (#636)
* screenId renames
* Rename surface map to collision mesh (#637)
* Rename some stack vars (#638)
* Fix syntax error (#639)
* Rename some stack vars
* Update collision.c
* Collision Documentation (#640)
* Collision related renames
* update doxygen (#649)
* change bool (#644)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Update (#642)
* Delete trig_tables_bss.c (#650)
* fix typo audio (#656)
* fix typo src actor (#657)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* fix typo include (#658)
* fix course (#659)
* fix typo debug (#660)
* fix typo data (#661)
* replace number with const (#665)
* fix typo buffers (#655)
* fix typo buffers
* tweak ld file
* rename to sMemoryPool
* add a warning
---------
* fix typo src (#654)
* fix typo src
* fix non matcing
* Update code_80091750.c
---------
* fix typo racing (#653)
* fix typo racing
* get it match
* replace G_LINE3D to G_QUAD
---------
* fix typo src (#652)
* fix ending typo (#651)
* Action more info when it doesn't match and fix first diff (#662)
* Update linux-compile.yml
* fix first-diff
* Update first-diff.py
---------
* document texture of kart (#663)
* document texture of kart
* change screenPlayerId to screenId
* some documentation around object
* Revert "some documentation around object"
This reverts commit cbb39078e036bf2a417bed67359e910213acab28.
* more rename
---------
* Make evaluate_collision_players_palm_tree better (#667)
This matches just the same as before, but using those two casts instead of
shifts seems more likely to be accurate to the original source code
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
* add fedora instruciton (#666)
* start documenting animation (#668)
* start documenting animation
* Update course_data.c
* change comment
* update libultra asm (#648)
* update libultra asm
* fix gcc __osThreadTail
---------
* Document Vehicles (#641)
* start doc collision
* fix merge
* finish rename fonction related to vehicle
* document around waypoint of vehicle
* make some modification
* make some change and rename one
* copy_ to oldPos
* doc smoke ferry and train
* some rename
* fix some renaming
* precise index
* rename a funciton
* simplify waypoint_vehicles
* change some name
* change some name
* rename move_to_point_direction
* fix some conflict
* Update code_80005FD0.c
* Update code_80005FD0.h
---------
* Label a save info loop (#645)
* save info
* more gcc progress
* fix a value and do a rename (#669)
* 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
---------
* Update linkonly_generator.py (#670)
* format more file
* update
* fix compilation issue
* remove course_metadata folder
* re add course metadata folder
* fix banshee bordwalk crash
* fix windows eurk
* Update CMakeLists.txt
---------
Diffstat (limited to 'src/stubs.c')
| -rw-r--r-- | src/stubs.c | 62 |
1 files changed, 20 insertions, 42 deletions
diff --git a/src/stubs.c b/src/stubs.c index 6b811bd1e..7624c6209 100644 --- a/src/stubs.c +++ b/src/stubs.c @@ -8,22 +8,17 @@ u32 osResetType; u8 osAppNmiBuffer[64]; -void rmonPrintf(const char* fmt, ...) -{ - +void rmonPrintf(const char* fmt, ...) { } void func_80040030(u8* arg0, u8* arg1) { - } void func_80040174(void* arg0, s32 arg1, s32 arg2) { - } -s32 osAiSetFrequency(u32 freq) -{ - return 1; +s32 osAiSetFrequency(u32 freq) { + return 1; } void mio0decode(u8* arg0, u8* arg1) { @@ -38,75 +33,58 @@ void tkmk00decode(u8* src, u8* arg1, u8* dest, s32 n) { memcpy(dest, src, 0x1000); } -void osStartThread(OSThread* thread) -{ - +void osStartThread(OSThread* thread) { } -void osCreateThread(OSThread *thread, OSId id, void (*entry)(void *), void *arg, void *sp, OSPri pri) { - +void osCreateThread(OSThread* thread, OSId id, void (*entry)(void*), void* arg, void* sp, OSPri pri) { } void osInitialize(void) { - } -void osSetThreadPri(OSThread *thread, OSPri pri) { - +void osSetThreadPri(OSThread* thread, OSPri pri) { } -void osSpTaskLoad(OSTask *task) { - +void osSpTaskLoad(OSTask* task) { } -void osSpTaskStartGo(OSTask *task) { - +void osSpTaskStartGo(OSTask* task) { } void osSpTaskYield(void) { - } -OSYieldResult osSpTaskYielded(OSTask *task) { - +OSYieldResult osSpTaskYielded(OSTask* task) { } -s32 osPfsDeleteFile(OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name) { - +s32 osPfsDeleteFile(OSPfs* pfs, u16 company_code, u32 game_code, u8* game_name, u8* ext_name) { } -s32 osPfsReadWriteFile(OSPfs *pfs, s32 file_no, u8 flag, int offset, int size_in_bytes, u8 *data_buffer) { - +s32 osPfsReadWriteFile(OSPfs* pfs, s32 file_no, u8 flag, int offset, int size_in_bytes, u8* data_buffer) { } -s32 osPfsAllocateFile(OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name, int file_size_in_bytes, s32 *file_no) { - +s32 osPfsAllocateFile(OSPfs* pfs, u16 company_code, u32 game_code, u8* game_name, u8* ext_name, int file_size_in_bytes, + s32* file_no) { } void osSetTime(OSTime time) { - } -s32 osPfsIsPlug(OSMesgQueue *queue, u8 *pattern) { - +s32 osPfsIsPlug(OSMesgQueue* queue, u8* pattern) { } -s32 osPfsInit(OSMesgQueue *queue, OSPfs *pfs, int channel) { - +s32 osPfsInit(OSMesgQueue* queue, OSPfs* pfs, int channel) { } -s32 osPfsNumFiles(OSPfs *pfs, s32 *max_files, s32 *files_used) { +s32 osPfsNumFiles(OSPfs* pfs, s32* max_files, s32* files_used) { return 0; } -s32 osPfsFileState(OSPfs *pfs, s32 file_no, OSPfsState *state) { - +s32 osPfsFileState(OSPfs* pfs, s32 file_no, OSPfsState* state) { } -s32 osPfsFreeBlocks(OSPfs *pfs, s32 *bytes_not_used) { - +s32 osPfsFreeBlocks(OSPfs* pfs, s32* bytes_not_used) { } -s32 osPfsFindFile(OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name, s32 *file_no) { - -}
\ No newline at end of file +s32 osPfsFindFile(OSPfs* pfs, u16 company_code, u32 game_code, u8* game_name, u8* ext_name, s32* file_no) { +} |
