mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
9722ae2a5d
Move the JITed function/basic-block registration logic out of the CPU subsystem in order to add JIT registration to JITed DSP and Video/VertexLoader code. This necessary in order to add /tmp/perf-$pid.map support to other JITed code as they need to write to the same file.
16 lines
282 B
C++
16 lines
282 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
namespace JitRegister
|
|
{
|
|
|
|
void Init();
|
|
void Shutdown();
|
|
void Register(const void* base_address, u32 code_size,
|
|
const char* name, u32 original_address=0);
|
|
|
|
}
|