IOS LLE: checkpoint NAND conformance and diagnostic tooling

Preserve formatted NAND boot and Wii Remote pairing, add DMA/SRAM conformance tests and a Wii comparison probe. Keep P1 profiling tools and native update A/B evidence; reject the unhelpful targeted SRAM shortcut.
This commit is contained in:
Yaya48 committed 2026-09-23 13:30:17 +02:00
1 parent b931671fde
commit c230971f07
64 files changed
+6488 -238

No files matched your search

+9 -1
View File
@@ -9,6 +9,7 @@
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Common/MemoryUtil.h"
#include "Common/PerformanceTrace.h"
namespace Common
{
@@ -72,6 +73,8 @@ public:
void FreeCodeSpace()
{
ASSERT(!m_is_child);
if (region)
PerformanceTrace::CodeReset("Generated", this, region, region + total_region_size);
Common::FreeMemoryPages(region, total_region_size);
region = nullptr;
region_size = 0;
@@ -97,7 +100,12 @@ public:
{
Common::UnWriteProtectMemory(region, region_size, allow_execute);
}
void ResetCodePtr() { T::SetCodePtr(region, region + region_size); }
void ResetCodePtr()
{
if (region)
PerformanceTrace::CodeReset("Generated", this, region, region + region_size);
T::SetCodePtr(region, region + region_size);
}
size_t GetSpaceLeft() const
{
ASSERT(static_cast<size_t>(T::GetCodePtr() - region) < region_size);