diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-08-16 13:32:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-16 14:32:40 -0600 |
| commit | 114582643fcdb8b99499984e7e8e1f6c4e0671da (patch) | |
| tree | db35b5a92bedd6f6e0f12045fe2188ad1269f6a7 /src/c | |
| parent | 7fd7d0c1f3ac84a4f10b41fab925c18e0be0c5dc (diff) | |
Kytag00 / Vrbox2 work, some cphase / kankyo doc (#1886)
* kytag00 work
* d_a_vrbox2 close to done
* rename cPhase enum values
* some enums from noclip / kankyo doc
* remove asm
* use macro
* uncomment ok-check.yml
Diffstat (limited to 'src/c')
| -rw-r--r-- | src/c/c_dylink.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/c/c_dylink.cpp b/src/c/c_dylink.cpp index 2f7780c1b5..3e13f9ca84 100644 --- a/src/c/c_dylink.cpp +++ b/src/c/c_dylink.cpp @@ -886,7 +886,7 @@ static BOOL cDyl_Initialized; /* 800185C0-80018688 012F00 00C8+00 1/1 1/1 0/0 .text cDyl_LinkASync__Fs */ int cDyl_LinkASync(s16 i_ProfName) { if (cDyl_Initialized == false) { - return cPhs_ZERO_e; + return cPhs_INIT_e; } if (i_ProfName >= ARRAY_SIZE(DMC)) { @@ -905,7 +905,7 @@ int cDyl_LinkASync(s16 i_ProfName) { return cPhs_ERROR_e; } } else { - return cPhs_ZERO_e; + return cPhs_INIT_e; } } @@ -985,7 +985,7 @@ int cDylPhs::Link(request_of_phase_process_class* i_phase, s16 param_1) { (request_of_phase_process_fn)cDylPhs::phase_03 }; - if (i_phase->id == cPhs_TWO_e) { + if (i_phase->id == cPhs_NEXT_e) { return cPhs_COMPLEATE_e; } @@ -997,9 +997,9 @@ int cDylPhs::Link(request_of_phase_process_class* i_phase, s16 param_1) { int cDylPhs::Unlink(request_of_phase_process_class* i_phase, s16 i_ProfName) { int ret; - if (i_phase->id == cPhs_TWO_e) { + if (i_phase->id == cPhs_NEXT_e) { ret = cDyl_Unlink(i_ProfName); - i_phase->id = cPhs_ZERO_e; + i_phase->id = cPhs_INIT_e; } else { ret = 0; } |
