c_phase match, thanks to Cuyler

also some JPA work
This commit is contained in:
Jasper St. Pierre
2023-12-19 22:05:59 -08:00
parent 83329401b4
commit 4bd0dede83
7 changed files with 304 additions and 147 deletions
+6 -3
View File
@@ -48,10 +48,12 @@ int cPhs_Next(request_of_phase_process_class* pPhase) {
}
/* 80245268-8024533C .text cPhs_Do__FP30request_of_phase_process_classPv */
// pUserData loading in too early
int cPhs_Do(request_of_phase_process_class* pPhase, void* pUserData) {
if (pPhase->mpHandlerTable) {
int newStep = pPhase->mpHandlerTable[pPhase->id](pUserData);
cPhs__Handler * handler = pPhase->mpHandlerTable;
if (handler) {
handler += pPhase->id;
int newStep = (*handler)(pUserData);
switch (newStep) {
case cPhs_LOADING_e:
@@ -66,6 +68,7 @@ int cPhs_Do(request_of_phase_process_class* pPhase, void* pUserData) {
case cPhs_ERROR_e:
cPhs_UnCompleate(pPhase);
return cPhs_ERROR_e;
case cPhs_INIT_e:
default:
return newStep;
}