OpenOrbis / mira-project

mira rewrite in cxx
GNU General Public License v3.0
292 stars 65 forks source link

REN, Fixes, and Nitpicks #84

Closed Al-Azif closed 4 years ago

Al-Azif commented 4 years ago

Don't accept this pull, I'll make separate ones for each component once everything is tested and other pending changes in other forks are accepted.

Changes

Inquiries

TODO

Notes

Al-Azif commented 4 years ago

Currently the fork hosted on the DNS includes these additional patches for 6.72:

    s_Ret = Utilities::ProcessReadWriteMemory(s_Process, (void*)(s_TextStart + 0x0033943E), 5, (void*)"\x31\xC0\xFF\xC0\x90", nullptr, true);
    if (s_Ret < 0)
    {
        WriteLog(LL_Error, "ssc_enable_data_mount_patch");
        return false;
    }

    s_Ret = Utilities::ProcessReadWriteMemory(s_Process, (void*)(s_TextStart + 0x007268C9), 5, (void*)"\x31\xC0\x90\x90\x90", nullptr, true);
    if (s_Ret < 0)
    {
        WriteLog(LL_Error, "ssc_debug_trophies");
        return false;
    }

    s_Ret = Utilities::ProcessReadWriteMemory(s_Process, (void*)(s_TextStart + 0x000DD2A6), 5, (void*)"\x90\x90\x90\x90\x90", nullptr, true);
    if (s_Ret < 0)
    {
        WriteLog(LL_Error, "ssc_enable_screenshots");
        return false;
    }

and comments out the ssc_enable_fakepkg_patch block as well as the Verbose Panics, Enable mount for unprivileged user, and patch suword_lwpid patches