mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Compile fix for #ifdef OPROFILE_REPORT code; I think I'm the only person
using this at the moment, but it's nice to have it working in case someone else wants to try it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1655 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -186,10 +186,10 @@ bool JitBlock::ContainsAddress(u32 em_address)
|
|||||||
|
|
||||||
#ifdef OPROFILE_REPORT
|
#ifdef OPROFILE_REPORT
|
||||||
char buf[100];
|
char buf[100];
|
||||||
sprintf(buf, "EmuCode%x", emAddress);
|
sprintf(buf, "EmuCode%x", b.originalAddress);
|
||||||
u8* blockStart = blockCodePointers[block_num], *blockEnd = GetWritableCodePtr();
|
const u8* blockStart = blockCodePointers[block_num];
|
||||||
op_write_native_code(agent, buf, (uint64_t)blockStart,
|
op_write_native_code(agent, buf, (uint64_t)blockStart,
|
||||||
blockStart, blockEnd - blockStart);
|
blockStart, b.codeSize);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user