Skip to content

Commit

Permalink
webMAN MOD 1.47.47h
Browse files Browse the repository at this point in the history
- Fixed compilation errors when PS3MAPI flag is commented out
- Fixed missing ;

Thanks to @korn3r for the report in issue #1140
  • Loading branch information
aldostools committed Nov 21, 2024
1 parent c307107 commit 405fc80
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _Projects_/prepISO/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int main(int argc, const char* argv[])
sysFsChmod(path, S_IFDIR | 0777);

g_mmcm = 0;
g_remove_ext = !g_mmcm
g_remove_ext = !g_mmcm;

if(argc > 0 && argv)
{
Expand Down
2 changes: 2 additions & 0 deletions include/cmd/nobd.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@

_concat2(&sbuffer, "noBD: ", noBD ? STR_ENABLED : STR_DISABLED);

#if defined(DEBUG_MEM) || defined(PS3MAPI)
sprintf(param, "/peek.lv1?712790");
ps3mapi_find_peek_poke_hexview(pbuffer, templn, param);
#endif
}
else
_concat2(&sbuffer, "noBD: ", STR_ERROR);
Expand Down
2 changes: 1 addition & 1 deletion include/mount/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ static void mount_thread(u64 action)

#ifdef COBRA_NON_LITE
if(!ret)
patch_gameboot(0); // None
{patch_gameboot(0);} // None
#endif // #ifdef COBRA_ONLY

#ifdef VIRTUAL_PAD
Expand Down
4 changes: 2 additions & 2 deletions include/ps3mapi/debug_mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static void ps3mapi_mem_dump(char *buffer, char *html, char *param)
sprintf(html, " [" HTML_URL2 "]", "/delete.ps3", dump_file, STR_DELETE); strcat(buffer, html);
}
}
#endif
#endif //#ifdef DEBUG_MEM

#define HEXVIEW_SIZE 0x200

Expand Down Expand Up @@ -479,4 +479,4 @@ static void ps3mapi_find_peek_poke_hexview(char *buffer, char *templn, char *par
add_html(dat_DEBUG_MEM_KEYS, 0, buffer, html);
}

#endif // #ifdef DEBUG_MEM
#endif // #if defined(DEBUG_MEM) || defined(PS3MAPI)

0 comments on commit 405fc80

Please sign in to comment.