mirror of
https://github.com/HarbourMasters/Starship
synced 2026-07-29 15:45:14 -04:00
Sector Z, Fortuna & General Docs (#261)
* Sector Z Docs initial * Sector Z docs * some other things * correction * Space Junk * SectorZ_SetLevelObjects * rename assets with correct prefix * aSzBackgroundTex * details * pr review * Sector X initials * Meteo Initials * Sector X things I forgot * fox_tr360 & fox_ve1 & fox_so initials * fox_so details * Zones initials * More Zones initials * more zones initials * area 6 initials * fortuna inits * fortuna actors * some more docs * more docs for Fortuna * fix mistake in data incorrectly imported * Fortuna Radars * BossFO * Sector Y Initials * Venom 2 general Docs * Some Corneria Docs * Actor, Scenery and Boss IDs in update and draw functions of gObjectInfo * more docs and this usage * fox_360 this usage * more actor types and this usages * fox_effect type usage * training docs * some Sector X docs * fix incorrect usage of "this" * fix comment * more docs * funcNames * fox_bg spacing * boolean * scenery corneria bumbs * terrain bumps * corneria arch * more corneria objects * hitboxes * more corneria objects * more corneria level objects * more corneria objects * aCoWaterfallDL * corneria docs * more corneria docs * Granga swork start * corneria swork * Corneria * Corneria Granga docs * more granga docs * granga work buffer enum * CarrierParts enum use * option * Corneria Docs * GRANGA_FWK * fox_co.h header * fix Fault_FillRectangle typo * PR reviews * sCsTeamInitialPos * Doodad
This commit is contained in:
committed by
GitHub
parent
24e316a2b2
commit
c348962cab
+2
-2
@@ -50,7 +50,7 @@ const char* sFloatExceptions[6] = {
|
||||
"Unimplemented operation", "Invalid operation", "Division by zero", "Overflow", "Underflow", "Inexact operation",
|
||||
};
|
||||
|
||||
void Fault_FillRectange(s32 xPos, s32 yPos, s32 width, s32 height) {
|
||||
void Fault_FillRectangle(s32 xPos, s32 yPos, s32 width, s32 height) {
|
||||
u16* pixel;
|
||||
s32 i;
|
||||
s32 j;
|
||||
@@ -167,7 +167,7 @@ void Fault_DisplayDebugInfo(OSThread* thread) {
|
||||
causeIndex = 17;
|
||||
}
|
||||
Fault_Wait(3000);
|
||||
Fault_FillRectange(15, 15, SCREEN_WIDTH - 30, SCREEN_HEIGHT - 30);
|
||||
Fault_FillRectangle(15, 15, SCREEN_WIDTH - 30, SCREEN_HEIGHT - 30);
|
||||
Fault_Printf(30, 40, "THREAD:%d (%s)", thread->id, sFaultCauses[causeIndex]);
|
||||
Fault_Printf(30, 50, "PC:%08XH SR:%08XH\tVA:%08XH", context->pc, context->sr, context->badvaddr);
|
||||
osWritebackDCacheAll();
|
||||
|
||||
@@ -63,7 +63,7 @@ void Controller_UpdateInput(void) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
if (gControllerPlugged[i] == 1 && sNextController[i].errno == 0) {
|
||||
if ((gControllerPlugged[i] == 1) && (sNextController[i].errno == 0)) {
|
||||
sPrevController[i] = gControllerHold[i];
|
||||
gControllerHold[i] = sNextController[i];
|
||||
gControllerPress[i].button =
|
||||
|
||||
Reference in New Issue
Block a user