diff --git a/include/JSystem/JSupport/JSUOutputStream.h b/include/JSystem/JSupport/JSUOutputStream.h index 25f5e70a37..4cc9ce459c 100644 --- a/include/JSystem/JSupport/JSUOutputStream.h +++ b/include/JSystem/JSupport/JSUOutputStream.h @@ -18,12 +18,15 @@ public: s32 write(const void*, s32); void write(const char*); -#ifdef TARGET_PC - JSUOutputStream& operator<<(uintptr_t param_0) { - write(¶m_0, sizeof(uintptr_t)); + JSUOutputStream& operator<<(u64 param_0) { + write(¶m_0, sizeof(u64)); + return *this; + } + + JSUOutputStream& operator<<(s64 param_0) { + write(¶m_0, sizeof(s64)); return *this; } -#endif JSUOutputStream& operator<<(u32 param_0) { write(¶m_0, sizeof(u32)); diff --git a/include/JSystem/JSupport/JSupport.h b/include/JSystem/JSupport/JSupport.h index 1940e6dff8..c982af6103 100644 --- a/include/JSystem/JSupport/JSupport.h +++ b/include/JSystem/JSupport/JSupport.h @@ -18,11 +18,7 @@ T* JSUConvertOffsetToPtr(const void* ptr, uintptr_t offset) { * */ template -#if TARGET_PC -T* JSUConvertOffsetToPtr(const void* ptr, u32 offset) { -#else T* JSUConvertOffsetToPtr(const void* ptr, const void* offset) { -#endif T* ret; if (offset == 0) { ret = NULL;