popsdeco

libs/sceHelper.cpp:GetSetBaseAddrNid

Oct 12th, 2011
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static u32 GetSetBaseAddrNid(u32 HASH,u32 FW500,u32 FW620,u32 FW635,u32 FW660)
  2. {
  3. u32 devkit = sceKernelDevkitVersion();
  4. if(devkit<PSP_FIRMWARE(0x500))return HASH;
  5. if(devkit<PSP_FIRMWARE(0x620))return FW500; //should be 0x555?
  6. if(devkit<PSP_FIRMWARE(0x630))return FW620;
  7. if(devkit<PSP_FIRMWARE(0x660))return FW635;
  8. return FW660;
  9. }
  10.  
RAW Paste Data