Skip to content

Commit

Permalink
Release 7.6.1, added more print statements for other errors that may …
Browse files Browse the repository at this point in the history
…happen
  • Loading branch information
krazynez committed Nov 20, 2024
1 parent 55e75e9 commit 37a924d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Copy the official firmware update to `PSP/GAME/UPDATE/EBOOT.PBP` on your memory
The downgrader is "signed", and can be launched without having a custom firmware installed. Once you run the application, follow the on-screen instructions.

## Changelog
### Version 7.6.1
* Added more print statements for less common issues with parsing EBOOT.PBP or the buffer
### Version 7.6
* Changed Default color, makes it a bit easier to read.
* Detect which OFW you have to make sure your flashing the proper model OFW. ( i.e You can only flash GO OFW on GO and vice versa )
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.signed
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ LIBS = -lpsppower
PSP_FW_VERSION = 271

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Chronoswitch Downgrader v7.6
PSP_EBOOT_TITLE = Chronoswitch Downgrader v7.6.1

BUILD_PRX = 1

Expand Down
8 changes: 5 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
#include "kernel_exploit.h"
#include "rebootex.h"

PSP_MODULE_INFO("Chronoswitch", 0, 7, 6);
PSP_MODULE_INFO("Chronoswitch", 0, 7, 61);
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_VFPU);
PSP_HEAP_SIZE_KB(3 << 10);

#define DOWNGRADER_VER ("7.6")
#define DOWNGRADER_VER ("7.6.1")


typedef struct __attribute__((packed))
Expand Down Expand Up @@ -128,6 +128,7 @@ u32 get_updater_version(char *argv)
if (sfo_size > sizeof(sfo_buffer))
{
/* too much */
printf("\nTo much deditated wammm ... Perhaps not have all your plugins running right now ...\n");
sceIoClose(fd);
return 0xFFF;
}
Expand All @@ -153,6 +154,7 @@ u32 get_updater_version(char *argv)
/* see if we went through all the data */
if (i == header->count)
{
printf("\nHmmm SFO count is too big ... Looks like the EBOOT.PBP is corrupted somehow.\n");
return 0xFFF;
}

Expand All @@ -178,7 +180,7 @@ int main(int argc, char *argv[])
/* display welcome message */
printf(
"Chronoswitch Downgrader" "\n"
"Version %s. Built %s %s" "\n" "\n"
"Version %s Built %s %s" "\n" "\n"

"Contributions:" "\n"
"\t" "6.31/6.35 Support added by Davee" "\n"
Expand Down

0 comments on commit 37a924d

Please sign in to comment.