mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Using optick, linked from boo
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <array>
|
||||
#include <cctype>
|
||||
#include <iterator>
|
||||
#include "optick.h"
|
||||
|
||||
#include "Runtime/CStopwatch.hpp"
|
||||
#include "Runtime/IObj.hpp"
|
||||
@@ -35,6 +36,7 @@ bool CFactoryMgr::CanMakeMemory(const urde::SObjectTag& tag) const {
|
||||
CFactoryFnReturn CFactoryMgr::MakeObjectFromMemory(const SObjectTag& tag, std::unique_ptr<u8[]>&& buf, int size,
|
||||
bool compressed, const CVParamTransfer& paramXfer,
|
||||
CObjectReference* selfRef) {
|
||||
OPTICK_EVENT();
|
||||
std::unique_ptr<u8[]> localBuf = std::move(buf);
|
||||
|
||||
const auto memFactoryIter = m_memFactories.find(tag.type);
|
||||
|
||||
Reference in New Issue
Block a user