Skip to content

Commit

Permalink
Core: Export recompiler offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
F0bes authored and refractionpcsx2 committed Feb 16, 2022
1 parent de195d9 commit 5b6986c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pcsx2/System.cpp
Expand Up @@ -331,7 +331,13 @@ static wxString GetMemoryErrorVM()

namespace HostMemoryMap {
// For debuggers
uptr EEmem, IOPmem, VUmem, EErec, IOPrec, VIF0rec, VIF1rec, mVU0rec, mVU1rec, bumpAllocator;
extern "C" {
#ifdef _WIN32
_declspec(dllexport) uptr EEmem, IOPmem, VUmem, EErec, IOPrec, VIF0rec, VIF1rec, mVU0rec, mVU1rec, bumpAllocator;
#else
__attribute__((visibility("default"), used)) uptr EEmem, IOPmem, VUmem, EErec, IOPrec, VIF0rec, VIF1rec, mVU0rec, mVU1rec, bumpAllocator;
#endif
}
}

/// Attempts to find a spot near static variables for the main memory
Expand Down

0 comments on commit 5b6986c

Please sign in to comment.