mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-10-22 06:07:43 -04:00
NTSC-U and NTSC-J support (#326)
* add ntsc-u and ntsc-j support Co-authored-by: DarthMDev <mgracer48@yahoo.com> Co-authored-by: rooklz <rookieb@muzo-works.com> * hash inc files and require project for shards * port remaining stale rr us hooks * drop map report generation * drop one-off region porters --------- Co-authored-by: DarthMDev <mgracer48@yahoo.com> Co-authored-by: rooklz <rookieb@muzo-works.com>
This commit is contained in:
@@ -46,10 +46,10 @@ std::atomic<uint32_t> g_viRetracePendingCount{0};
|
||||
namespace {
|
||||
constexpr uint32_t kOSCurrentContextAddr = 0x800000d4u;
|
||||
constexpr uint32_t kOSRunningContextAddr = 0x800000e4u; // OSGetCurrentThread reads this
|
||||
constexpr uint32_t kThreadQueueArrayAddr = 0x803477b0u;
|
||||
constexpr uint32_t kSchedulerPendingFlagAddr = 0x80386920u;
|
||||
constexpr uint32_t kSchedulerReschedCounterAddr = 0x8038691cu;
|
||||
constexpr uint32_t kSchedulerIdleFlagAddr = 0x80386918u;
|
||||
const uint32_t kThreadQueueArrayAddr = MKW_GADDR(803477b0);
|
||||
const uint32_t kSchedulerPendingFlagAddr = MKW_GADDR(80386920);
|
||||
const uint32_t kSchedulerReschedCounterAddr = MKW_GADDR(8038691c);
|
||||
const uint32_t kSchedulerIdleFlagAddr = MKW_GADDR(80386918);
|
||||
|
||||
// OSThread structure offsets
|
||||
constexpr uint32_t kThreadStateOffset = 0x2C8u;
|
||||
@@ -584,7 +584,7 @@ void GuestFiberManager::FiberProc(void* param)
|
||||
CpuContextScope scope(cpu);
|
||||
|
||||
int startDeferAttempts = 0;
|
||||
while (entryPoint == 0x8024373c) { // EGG::Thread::start
|
||||
while (entryPoint == MKW_GADDR(8024373c)) { // EGG::Thread::start
|
||||
uint32_t vtable = 0;
|
||||
uint32_t startFn = 0;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user