mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 12:14:50 +01:00
backend/x64: Fix PerfMapRegister usages.
Both the far code and fast_dispatch_table_lookup were missing.
This commit is contained in:
parent
d0372aebaf
commit
b2acdec8cb
5 changed files with 19 additions and 4 deletions
|
|
@ -47,6 +47,11 @@ void OpenFile() {
|
|||
|
||||
namespace detail {
|
||||
void PerfMapRegister(const void* start, const void* end, std::string_view friendly_name) {
|
||||
if (start == end) {
|
||||
// Nothing to register
|
||||
return;
|
||||
}
|
||||
|
||||
std::lock_guard guard{mutex};
|
||||
|
||||
if (!file) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue