Hacking How to change the version string in emunand

ReiNAND had this code to edit the Ver. string. It was in the file thread\thread.c which is not present on AuReiNAND, so I'm not sure where you could add it into the source code and still have it compile.

Code:
void patches(void){
    //Change version string
    for(int i = 0; i < 0x600000; i+=4){
        if(strcomp((void*)0x27B00000 - i, (void*)L"Ver.", 4)){
            if(strcomp((void*)0x27B00000 - i + 0x28, (void*)"T_ver_00", 4)) strcopy((void*)0x27B00000 - i, (void*)L"\uE024Rei", 4);
        }
    }
}
 
  • Like
Reactions: DesuIsSparta

Site & Scene News

Popular threads in this forum