mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Fixed a typo
This commit is contained in:
parent
838a08df2a
commit
3d405166c5
@ -1839,7 +1839,7 @@ u32 GodMode(int entrypoint) {
|
|||||||
if (IS_SIGHAX) { // we could actually do this on any entrypoint
|
if (IS_SIGHAX) { // we could actually do this on any entrypoint
|
||||||
DsTime dstime;
|
DsTime dstime;
|
||||||
get_dstime(&dstime);
|
get_dstime(&dstime);
|
||||||
if ((DSTIMEGET(&dstime, bcd_Y) < 17) &&
|
if ((DSTIMEGET(&dstime, bcd_Y) < 18) &&
|
||||||
ShowPrompt(true, "RTC date&time seems to be\nwrong. Set it now?") &&
|
ShowPrompt(true, "RTC date&time seems to be\nwrong. Set it now?") &&
|
||||||
ShowRtcSetterPrompt(&dstime, "Set RTC date&time:")) {
|
ShowRtcSetterPrompt(&dstime, "Set RTC date&time:")) {
|
||||||
char timestr[32];
|
char timestr[32];
|
||||||
|
@ -442,7 +442,7 @@ bool init_vars(const char* path_script) {
|
|||||||
set_var("HAX", IS_SIGHAX ? (isntrboot() ? "ntrboot" : "sighax") : IS_A9LH ? "a9lh" : ""); // type of hax running from
|
set_var("HAX", IS_SIGHAX ? (isntrboot() ? "ntrboot" : "sighax") : IS_A9LH ? "a9lh" : ""); // type of hax running from
|
||||||
set_var("ONTYPE", IS_O3DS ? "O3DS" : "N3DS"); // type of the console
|
set_var("ONTYPE", IS_O3DS ? "O3DS" : "N3DS"); // type of the console
|
||||||
set_var("RDTYPE", IS_DEVKIT ? "devkit" : "retail"); // devkit / retail
|
set_var("RDTYPE", IS_DEVKIT ? "devkit" : "retail"); // devkit / retail
|
||||||
char* ptr = set_var("GM9VER", GM9VER); // GodMode9 version, truncated below
|
char* ptr = set_var("GM9VER", VERSION); // GodMode9 version, truncated below
|
||||||
while (*(ptr++) != '\0') if (*ptr == '-') *ptr = '\0';
|
while (*(ptr++) != '\0') if (*ptr == '-') *ptr = '\0';
|
||||||
upd_var(NULL); // set all dynamic environment vars
|
upd_var(NULL); // set all dynamic environment vars
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user