mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-01 09:12:37 -06:00
* Implemented guest-to-host function pointers (WIP) Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com> * function: support more types for function pointers * api: ported BlueBlur headers and misc. research * Move over function-pointers changes from options-menu branch. --------- Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
16 lines
391 B
C++
16 lines
391 B
C++
namespace Chao::CSD
|
|
{
|
|
template<typename T>
|
|
inline CResourceBase<T>::~CResourceBase()
|
|
{
|
|
GuestToHostFunction<void>(m_pVftable->m_fpDtor, this);
|
|
}
|
|
|
|
template<typename T>
|
|
inline void CResourceBase<T>::CopyResource(const CResourceBase& in_rOther)
|
|
{
|
|
m_rcResourceHolder = in_rOther.m_rcResourceHolder;
|
|
m_pResource = in_rOther.m_pResource;
|
|
}
|
|
}
|