Commit Graph

4 Commits

Author SHA1 Message Date
someone2639
4858ea84dd Gamecube Controller Centering (#21)
* implement gc controller centering on boot

* add clamp macros too

* format

---------

Co-authored-by: someone2639 <someone2639@gmail.com>
2025-09-13 22:26:44 -04:00
someone2639
ece07a17ba Handle All Warnings (#2)
* set build options

* remove COMPARE and MDOERN_* switches

* remove tools makefile

* AR patching is gone too since we want a fullly decomped version

* AR is modern

* remove cwd changes

* edit my own tool to fix compile errors

* compile files generated with my own tool instead of the originals

* inline modern_gcc makefile

* port mips toolchain detection logic

* add util.mk for find-command

* remove forced AR order and strip/mdebug removal commands

* add -mabi=32 to as flags

* cseq warning

* csplayer

* env

* voicecheckword

* voicestopreaddata

* voicedata

* voicecontwrite4

* voice done

* sinf

* sched

* rg

* cosf

* timerintr

* settimer

* xprintf

* xldtob

* contram

* conteepwrite

* conteepread

* dumpturbo

* gt

* aisetnextbuf

* us2dex_emu

* loadtextureblockmipmap

* guloadtile_bug

* kmcprintf

* seq

* sndplayer

* synthesizer

* seqplayer again

* load

* fix warnings

* formatting

* address csplayer, gu

* remove if(0)

* another explicit fallthrough

* last explicit fallthrough

* simplify triple multiply

* its 4 multiplies

* its an octuple multiply

* CI formatting

* sltu in alRaw16Pull

* another sltu

* handle all sltu's

* sndplayer sltu

---------

Co-authored-by: someone2639 <someone2639@gmail.com>
2025-02-20 12:17:14 -05:00
someone2639
c366e0122a Format the Repo (#3)
* set build options

* remove COMPARE and MDOERN_* switches

* remove tools makefile

* AR patching is gone too since we want a fullly decomped version

* AR is modern

* remove cwd changes

* edit my own tool to fix compile errors

* compile files generated with my own tool instead of the originals

* inline modern_gcc makefile

* port mips toolchain detection logic

* add util.mk for find-command

* remove forced AR order and strip/mdebug removal commands

* add -mabi=32 to as flags

* formatting changes

* add clang format files

* formatting changes

* make libgultra CI work

* install mips gcc too

* add format check tools

* Add formatting to CI

* Add CI (#4)

* make libgultra CI work

* install mips gcc too

* remove make setup

---------

Co-authored-by: someone2639 <someone2639@gmail.com>

* we don't use clang-tidy

* use 120 width for formatting

* a

* address clang-tidy messing up

* test

* align consecutive macros and declarations

* only align macros for now

* SpaceAfterCStyleCast: false

* format headers too

* remove cast space switch because its false by default

* pointers on left

* AlignConsecutiveBitFields: true

* install clang-format and clang-tidy on gh actions

* and clang-tools

* show diff in format check tool

* make CI work

---------

Co-authored-by: someone2639 <someone2639@gmail.com>
🙏
2025-02-17 22:56:09 -05:00
Derek Hensley
bcca1c8292 General docs + cleanup (#84)
* osCreateThread small cleanup

* osViSetSpecialFeatures

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* osAiSetNextBuffer

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* macros.h move to PRinternal.h

* dbgproto.h and dbgdefs.h moved to PRinternal

* Align OSPifRAM struct

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* LAN1 vimode comments

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* Stack macros

* Hex for all ALIGNED macros

* leoDiskSTack ALIGNED(0x10)

* interrupt bug

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* ASM comment

* Revert "LAN1 vimode comments"

This reverts commit bed467a67172de611cde15744eb659f996f3d157.

* STACK_START

* FPCSR_RM_RN

---------

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-08-20 00:19:01 -04:00