mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-31 01:15:17 +01:00
Merge pull request #14290 from Dentomologist/jitregister_remove_redundant_open_file_check
JitRegister: Remove redundant check for open file
This commit is contained in:
@@ -65,11 +65,6 @@ bool IsEnabled()
|
|||||||
|
|
||||||
void Register(const void* base_address, u32 code_size, const std::string& symbol_name)
|
void Register(const void* base_address, u32 code_size, const std::string& symbol_name)
|
||||||
{
|
{
|
||||||
#ifndef USE_VTUNE
|
|
||||||
if (!s_perf_map_file.IsOpen())
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_VTUNE
|
#ifdef USE_VTUNE
|
||||||
iJIT_Method_Load jmethod = {0};
|
iJIT_Method_Load jmethod = {0};
|
||||||
jmethod.method_id = iJIT_GetNewMethodID();
|
jmethod.method_id = iJIT_GetNewMethodID();
|
||||||
|
|||||||
Reference in New Issue
Block a user