mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-04 11:19:58 -04:00
1.1.1 fixes (#1168)
* fix keyboard npe * fix autosave NPE * hintTalkEvCamera UB * fix UB in f_pc_base logging * fix NPE in karg carry logic * fix link model dangling pointers * exponential audio slider and better audio default * fix speedrun mode defaullt layer restore issue
This commit is contained in:
+10
-1
@@ -136,8 +136,17 @@ base_process_class* fpcBs_Create(s16 i_profname, fpc_ProcID i_procID, void* i_ap
|
||||
u32 size;
|
||||
|
||||
pprofile = (process_profile_definition*)fpcPf_Get(i_profname);
|
||||
if (pprofile == NULL) {
|
||||
#if TARGET_PC
|
||||
DuskLog.debug("fpcBs_Create: profile not found for profname={}", i_profname);
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
#if TARGET_PC
|
||||
const char* procName = getProcName(i_profname);
|
||||
DuskLog.debug("fpcBs_Create: pid={} profname={} ({}) profile={} procSize={} unkSize={}",
|
||||
i_procID, getProcName(i_profname), i_profname, (void*)pprofile, pprofile->process_size, pprofile->unk_size);
|
||||
i_procID, procName ? procName : "(unknown)", i_profname, (void*)pprofile, pprofile->process_size, pprofile->unk_size);
|
||||
#endif
|
||||
size = pprofile->process_size + pprofile->unk_size;
|
||||
|
||||
pprocess = (base_process_class*)cMl::memalignB(-4, size);
|
||||
|
||||
Reference in New Issue
Block a user