From e22f9f69d8191f859006cfa7d111423e18a41cd7 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 30 Sep 2024 23:23:48 +0300 Subject: [PATCH] drc: less alarmist ram map message To discourage opening bugs like libretro/pcsx_rearmed#717 Also a warning fix --- libpcsxcore/new_dynarec/new_dynarec.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index d9438d88..ed2f4c63 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -6349,8 +6349,8 @@ void new_dynarec_init(void) arch_init(); new_dynarec_test(); ram_offset = (uintptr_t)psxM - 0x80000000; - if (ram_offset!=0) - SysPrintf("warning: RAM is not directly mapped, performance will suffer\n"); + if (ram_offset != 0) + SysPrintf("RAM is not directly mapped\n"); SysPrintf("Mapped (RAM/scrp/ROM/LUTs/TC):\n"); SysPrintf("%p/%p/%p/%p/%p\n", psxM, psxH, psxR, mem_rtab, out); } @@ -8367,8 +8367,9 @@ static noinline void pass5a_preallocate1(void) // to use, which can avoid a load-use penalty on certain CPUs. static noinline void pass5b_preallocate2(void) { - int i, hr; - for(i=0;i