Online Instruction Manual coded into CFW. Also updated brazilian translation.

This commit is contained in:
Coldbird 2012-06-01 23:41:53 +02:00
parent 01816bc2b7
commit fe17ab1dfc
5 changed files with 70 additions and 5 deletions

View File

@ -11,21 +11,21 @@ Conecção USB Ativada
Conecção USB Desativada
Configuração
Mudar de região
Police du Menu Recovery
Fonte du Menu Recovery
Modo ISO
Normal
M33 driver
Sony NP9660
Inferno
Vincular o PSP ao PC mediante o fio USB
Vincular o PSP ao PC através do cabo USB
Flash 0
Flash 1
Flash 2
Flash 3
Disco UMD
Carregar a bateria enquanto o fiu USB estah plugado
Carregar a bateria enquanto o cabo USB estiver ligado
Usar as cores da PSP Slim numa PSP Fat
Usar uma destinação escolhida pelo utilizador para htmlviewer
Usar uma destinação escolhida pelo usuário para htmlviewer
Esconder o endereço MAC
Pular a imagem da SONY
Pular o Gameboot
@ -96,4 +96,4 @@ Rússia
China
Modo Debug I
Modo Debug II
Liberar memoria adicional
Liberar memória adicional

View File

@ -0,0 +1,23 @@
Padrão
Desabilitar
Abilitar
Normal
M33 driver
Sony NP9660
Inferno
CLOCK DO PROCESSADOR NO XMB
CLOCK DO PROCESSADOR EM JOGOS
USB DEVICE
UMD ISO MODE
MONTAR ISO DE VIDEO
RECOVERY MENU ->
DESLIGAR O PSP
HIBERNAR O PSP
REINICIAR O PSP
REINICIAR VSH
Sair
PRO VSH MENU
Flash
Disco UMD
Cartão de memória
Nenhum

View File

@ -53,6 +53,10 @@ PatchOffset g_660_offsets = {
},
.htmlviewer_plugin_patch = {
.htmlviewer_save_location = 0x0001C7FC,
.htmlviewer_manual_location = 0x0001C2B0,
},
.htmlviewer_utility_patch = {
.htmlutility_manual_location = 0x0000CDBC,
},
.msvideo_main_plugin_patch = {
.checks = {
@ -136,6 +140,10 @@ PatchOffset g_639_offsets = {
},
.htmlviewer_plugin_patch = {
.htmlviewer_save_location = 0x0001C7FC,
.htmlviewer_manual_location = 0x0001C2B0,
},
.htmlviewer_utility_patch = {
.htmlutility_manual_location = 0x0000CD3C,
},
.msvideo_main_plugin_patch = {
.checks = {
@ -219,6 +227,10 @@ PatchOffset g_635_offsets = {
},
.htmlviewer_plugin_patch = {
.htmlviewer_save_location = 0x0001C7FC,
.htmlviewer_manual_location = 0x0001C2B0,
},
.htmlviewer_utility_patch = {
.htmlutility_manual_location = 0x0000CD3C,
},
.msvideo_main_plugin_patch = {
.checks = {
@ -302,6 +314,10 @@ PatchOffset g_620_offsets = {
},
.htmlviewer_plugin_patch = {
.htmlviewer_save_location = 0x0001C7C0,
.htmlviewer_manual_location = 0x0001C274,
},
.htmlviewer_utility_patch = {
.htmlviewer_manual_location = 0x0000CCCC,
},
.msvideo_main_plugin_patch = {
.checks = {

View File

@ -51,6 +51,11 @@ struct GamePluginPatch {
struct HtmlViewerPluginPatch {
u32 htmlviewer_save_location;
u32 htmlviewer_manual_location;
};
struct HtmlUtilityPatch {
u32 htmlviewer_manual_location;
};
struct MsVideoMainPluginPatch {
@ -87,6 +92,7 @@ typedef struct _PatchOffset {
struct SysConfPluginPatch sysconf_plugin_patch;
struct GamePluginPatch game_plugin_patch;
struct HtmlViewerPluginPatch htmlviewer_plugin_patch;
struct HtmlUtilityPatch htmlviewer_utility_patch;
struct MsVideoMainPluginPatch msvideo_main_plugin_patch;
struct VshModulePatch vsh_module_patch;
struct UpdatePluginPatch update_plugin_patch;

View File

@ -62,6 +62,7 @@ static void patch_Gameboot(SceModule2 *mod);
static void patch_hibblock(SceModule2 *mod);
static void patch_msvideo_main_plugin_module(u32 text_addr);
static void patch_htmlviewer_plugin_module(u32 text_addr);
static void patch_htmlviewer_utility_module(u32 text_addr);
static int vshpatch_module_chain(SceModule2 *mod)
{
@ -122,6 +123,12 @@ static int vshpatch_module_chain(SceModule2 *mod)
sync_cache();
goto exit;
}
if(0 == strcmp(mod->modname, "sceVshHVUtility_Module")) {
patch_htmlviewer_utility_module(text_addr);
sync_cache();
goto exit;
}
exit:
if (previous)
@ -406,6 +413,19 @@ static void patch_htmlviewer_plugin_module(u32 text_addr)
p = (void*)(text_addr + g_offs->htmlviewer_plugin_patch.htmlviewer_save_location); // "/PSP/COMMON"
strcpy(p, "/ISO");
p = (void*)(text_addr + g_offs->htmlviewer_plugin_patch.htmlviewer_manual_location); // "http://manuals.playstation.net/document/pspindex.html"
strcpy(p, "http://www.prometheus.uk.to/manual/index.html");
}
static void patch_htmlviewer_utility_module(u32 text_addr)
{
char *p;
p = (void*)(text_addr + g_offs->htmlviewer_utility_patch.htmlviewer_manual_location); // "http://manuals.playstation.net/document/pspindex.html"
strcpy(p, "http://www.prometheus.uk.to/manual/index.html");
}
int umdLoadExec(char * file, struct SceKernelLoadExecVSHParam * param)