Commit 2aa5b73d authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Fix ngen_FailedToFindBlock errors for other architectures

parent 574d009c
Pipeline #16328 passed with stages
in 2 minutes and 37 seconds
......@@ -279,7 +279,6 @@ extern "C" void ngen_LinkBlock_cond_Branch_stub();
extern "C" void ngen_LinkBlock_cond_Next_stub();
extern "C" void ngen_FailedToFindBlock_();
void (*ngen_FailedToFindBlock)()=&ngen_FailedToFindBlock_; // in asm
#include <map>
......@@ -2380,9 +2379,11 @@ void ngen_ResetBlocks()
*/
void ngen_init(void)
{
INFO_LOG(DYNAREC, "Initializing the ARM32 dynarec");
verify(FPCB_OFFSET == -0x2100000 || FPCB_OFFSET == -0x4100000);
verify(rcb_noffs(p_sh4rcb->fpcb) == FPCB_OFFSET);
INFO_LOG(DYNAREC, "Initializing the ARM32 dynarec");
verify(FPCB_OFFSET == -0x2100000 || FPCB_OFFSET == -0x4100000);
verify(rcb_noffs(p_sh4rcb->fpcb) == FPCB_OFFSET);
ngen_FailedToFindBlock = &ngen_FailedToFindBlock_;
for (int s=0;s<6;s++)
{
......
......@@ -68,7 +68,6 @@ static void (*mainloop)(void *context);
static int (*arm64_intc_sched)();
static void (*arm64_no_update)();
void(*ngen_FailedToFindBlock)();
static bool restarting;
void ngen_mainloop(void* v_cntx)
......
......@@ -9,6 +9,5 @@ u32 gas_offs=offsetof(Sh4RCB,cntx.jdyn);
u32 cpurun_offset=offsetof(Sh4RCB,cntx.CpuRunning);
u32 nextpc_offset=offsetof(Sh4RCB,cntx.pc);
void (*ngen_FailedToFindBlock)()=&ngen_FailedToFindBlock_;
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment