[zret] Port some documentation changes (#1164)

* zret: Documentation pass on scene/room commands #1226

* Update OTR scene

* zret: Document the lens system #1079

* zret: Misc. doc/cleanup 4 #1093

* zret: Fix misc 8 #1150

* zret: Document Distortions from z_camera and z_view #1102
This commit is contained in:
David Chavez
2022-08-17 03:53:28 +02:00
committed by GitHub
parent b4614acf70
commit 6b0338a37d
73 changed files with 898 additions and 833 deletions

View File

@@ -72,7 +72,7 @@ void StackCheck_Cleanup(StackEntry* entry) {
}
}
StackStatus StackCheck_GetState(StackEntry* entry) {
s32 StackCheck_GetState(StackEntry* entry) {
u32* last;
size_t used;
size_t free;

View File

@@ -11,7 +11,7 @@ s32 sDmaMgrCurFileLine;
u32 D_80009460 = 0;
u32 gDmaMgrDmaBuffSize = 0x2000;
u32 sDmaMgrDataExistError = 0;
u32 sDmaMgrIsRomCompressed = false;
// dmadata filenames
#define DEFINE_DMA_ENTRY(name) #name,
@@ -289,7 +289,7 @@ void DmaMgr_ProcessMsg(DmaRequest* req) {
}
if (!found) {
if (sDmaMgrDataExistError) {
if (sDmaMgrIsRomCompressed) {
DmaMgr_Error(req, NULL, "DATA DON'T EXIST", "該当するデータが存在しません");
return;
}
@@ -385,14 +385,14 @@ void DmaMgr_Init(void) {
//(uintptr_t)(_dmadataSegmentRomEnd - _dmadataSegmentRomStart));
osSyncPrintf("dma_rom_ad[]\n");
sDmaMgrDataExistError = 0;
sDmaMgrIsRomCompressed = false;
name = sDmaMgrFileNames;
iter = gDmaDataTable;
idx = 0;
while (iter->vromEnd != 0) {
if (iter->romEnd != 0) {
sDmaMgrDataExistError = 1;
sDmaMgrIsRomCompressed = true;
}
osSyncPrintf(