diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-09-24 05:27:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 20:27:24 -0600 |
| commit | 169c7ae4a2e892a78babe26b450a2846ea0d8e38 (patch) | |
| tree | 085f3eff6babca2b93d25c9b3ac3d2f3cd4885e8 /include | |
| parent | 68b4af5eab55fa9aeff69d8425a7d26d14689264 (diff) | |
JHOSTIO almost comletely linked (#2689)
Diffstat (limited to 'include')
| -rw-r--r-- | include/JSystem/JHostIO/JHICommonMem.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/JSystem/JHostIO/JHICommonMem.h b/include/JSystem/JHostIO/JHICommonMem.h index 017e8d2669..55ba3672b2 100644 --- a/include/JSystem/JHostIO/JHICommonMem.h +++ b/include/JSystem/JHostIO/JHICommonMem.h @@ -18,18 +18,18 @@ struct JHITag { mp_data = NULL; } - // NONMATCHING - stack stuff - const void* send(const void* param_0, s32 param_1) { - u32 sp10 = JHIhtonl(m_tag); - u32 sp14 = JHIhtonl(param_1); + s32 send(const void* param_0, s32 param_1) { + u32 sp10[2]; + sp10[0] = JHIhtonl(m_tag); + sp10[1] = JHIhtonl(param_1); if (mp_data->sendBegin() >= param_1 + 8) { - mp_data->sendCont(&sp10, 8); + mp_data->sendCont(sp10, 8); mp_data->sendCont(param_0, param_1); mp_data->sendEnd(); } - return param_0; + return param_1; } virtual ~JHITag() {} |
