ricerobo said:
I would like to try sneek menu mod in revision 80.
Because my sneek nand is 4.2J, I think I should edit es/main.c to open di menu.
In es/main.c, case 482(4.2E) and case481(4.2U) are listed, but case 480(4.2J) not.
I presents some contents of es/main.c in rev 80
****************************************
aspect = GetAspectRatio();
u32 FrameBuffer = 0;
u32 FBOffset = 0;
u32 FBEnable = 0;
u32 FBSize = 0;
u32 SysFreeze = 0;
u32 SysFreezeBL = 0;
u32 WPadOffset = 0x0113F160;
if( TitleID == 0x0000000100000002LL )
{
//Disable SD for system menu
if( *SDStatus == 1 )
*SDStatus = 2;
switch( TitleVersion )
{
case 482:
{
//Disc Region free hack
*(u32*)0x0137DC90 = 0x4800001C;
*(u32*)0x0137E4E4 = 0x60000000;
LoadFont( "/font.bin" );
TimerRestart( Timer, 0, 10000 );
FBOffset = 0x01699448;
FBEnable = 0x01699430;
FBSize = 320*480*4;
SysFreeze = 0x0133DFB0;
SysFreezeBL = 0x481FDB19;
} break;
case 481:
{
//Disc Region free hack
*(u32*)0x0137DBE8 = 0x4800001C;
*(u32*)0x0137E43C = 0x60000000;
LoadFont( "/font.bin" );
TimerRestart( Timer, 0, 10000 );
FBOffset = 0x016975A8;
FBEnable = 0x01697590;
FBSize = 304*480*4;
SysFreeze = 0x0133DF40;
SysFreezeBL = 0x481FDA8D;
} break;
******************************************
Can anyone tell me how to edit es/main.c?
Thanks in advance!