Core: Export recompiler offsets

This commit is contained in:
Ty Lamontagne 2022-02-14 22:11:10 -05:00 committed by refractionpcsx2
parent de195d9b20
commit 5b6986c230
1 changed files with 7 additions and 1 deletions

View File

@ -331,7 +331,13 @@ static wxString GetMemoryErrorVM()
namespace HostMemoryMap { namespace HostMemoryMap {
// For debuggers // 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 /// Attempts to find a spot near static variables for the main memory