ps2dev / ps2sdk

Homebrew PS2 SDK
Other
935 stars 133 forks source link

kernel: Add COP0 register enum #550

Closed F0bes closed 6 months ago

F0bes commented 7 months ago

Makes using GetCop0 and SetCop0 easier

ee_cop0_defs.h exists, but the defines are intended to be used in assembly, rather than passed as an argument.

fjtrujy commented 7 months ago

Shouldn’t be better if we set directly values in each section, maybe is cleaner, anyway I don’t have against this PR

F0bes commented 6 months ago

Shouldn’t be better if we set directly values in each section, maybe is cleaner, anyway I don’t have against this PR

Do you mean in a different header file, or on a different line in kernel.h?