diff --git a/source/sys.c b/source/sys.c index ebb8fb4..83b2973 100644 --- a/source/sys.c +++ b/source/sys.c @@ -13,6 +13,8 @@ /* Variables */ static const char certs_fs[] ATTRIBUTE_ALIGN(32) = "/sys/cert.sys"; +u32 boot2version; + void __Sys_ResetCallback(void) { /* Reboot console */ diff --git a/source/sys.h b/source/sys.h index 419ed68..766bffe 100644 --- a/source/sys.h +++ b/source/sys.h @@ -1,7 +1,7 @@ #ifndef _SYS_H_ #define _SYS_H_ -u32 boot2version; +extern u32 boot2version; /* Prototypes */ bool isIOSstub(u8 ios_number); bool loadIOS(int ios);