-Fixed the pesky bug that sometimes caused the slot number of a vWii cIOS to be way off. Thanks to asper for lots of testing.

This commit is contained in:
Joostinonline 2014-02-20 16:22:19 +00:00
parent 8cb3995e60
commit 67218503ae
6 changed files with 10 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -2,8 +2,8 @@
<app version="1"> <app version="1">
<name>SysCheck HacksDen Edition</name> <name>SysCheck HacksDen Edition</name>
<coder>Double_A, R2-D2199, JoostinOnline, Nano</coder> <coder>Double_A, R2-D2199, JoostinOnline, Nano</coder>
<version>2.2.0 HD Edition</version> <version>2.2.1 HD Edition</version>
<release_date>20140217000000</release_date> <release_date>20140220000000</release_date>
<short_description>System Checker HacksDen Edition</short_description> <short_description>System Checker HacksDen Edition</short_description>
<long_description>Homebrew application which does several checks on installed IOS and custom IOS: <long_description>Homebrew application which does several checks on installed IOS and custom IOS:
- Base IOS Detection - Base IOS Detection
@ -21,6 +21,8 @@ The author can not be held responsible for any damage sysCheck might cause!
------------------ ------------------
Changelog Changelog
Version 2.2.1 HacksDen Edition
* Fixed the pesky bug that sometimes caused the slot number of a vWii cIOS to be way off. Thanks to asper for lots of testing.
Version 2.2.0 HacksDen Edition Version 2.2.0 HacksDen Edition
* Added support for the new vWii System Menu's. * Added support for the new vWii System Menu's.
* Fixed the ridiculous bug (possibly intentional?) where the System Menu region is defined by setting.txt, not by what's installed. * Fixed the ridiculous bug (possibly intentional?) where the System Menu region is defined by setting.txt, not by what's installed.

View File

@ -1 +1 @@
Version=21 Version=22

View File

@ -7,6 +7,7 @@
#define HOLLYWOOD_VERSION (vu32*)0x80003138 #define HOLLYWOOD_VERSION (vu32*)0x80003138
#define LOADER_STUB (vu32*)0x80001800 #define LOADER_STUB (vu32*)0x80001800
#define IS_WII_U ((*(vu32*)(0xCd8005A0) >> 16 ) == 0xCAFE) #define IS_WII_U ((*(vu32*)(0xCd8005A0) >> 16 ) == 0xCAFE)
#define MAX_ELEMENTS(x) ((sizeof((x))) / (sizeof((x)[0])))
// Turn upper and lower into a full title ID // Turn upper and lower into a full title ID
#define TITLE_ID(x,y) (((u64)(x) << 32) | (y)) #define TITLE_ID(x,y) (((u64)(x) << 32) | (y))
@ -65,7 +66,7 @@ typedef struct {
bool infoVersionPatch; bool infoVersionPatch;
s32 baseIOS; s32 baseIOS;
s32 mloadVersion; s32 mloadVersion;
char info[0x10]; char info[64];
u8 infoContent; u8 infoContent;
u32 titleID; u32 titleID;
u8 num_contents; u8 num_contents;

View File

@ -2,7 +2,7 @@
#define _UPDATE_H_ #define _UPDATE_H_
/* Constants */ /* Constants */
#define REVISION 21 #define REVISION 22
#define PATH "sd:/apps/SysCheckHDE/" #define PATH "sd:/apps/SysCheckHDE/"
s32 updateApp(void); s32 updateApp(void);

View File

@ -146,9 +146,9 @@ bool getInfoFromContent(IOS *ios) {
ios->baseIOS = iosinfo->baseios; ios->baseIOS = iosinfo->baseios;
if (strcmp(iosinfo->name, "nintendo") == 0) if (strcmp(iosinfo->name, "nintendo") == 0)
sprintf(ios->info, "rev %u", iosinfo->version); snprintf(ios->info, MAX_ELEMENTS(ios->info), "rev %u", iosinfo->version);
else else
sprintf(ios->info, "%s-v%u%s", iosinfo->name, iosinfo->version, iosinfo->versionstring); snprintf(ios->info, MAX_ELEMENTS(ios->info), "%s-v%u%s", iosinfo->name, iosinfo->version, iosinfo->versionstring);
gprintf("is %s\n", ios->info); gprintf("is %s\n", ios->info);
logfile("is %s\r\n", ios->info); logfile("is %s\r\n", ios->info);
retValue = true; retValue = true;