int op_remove_disc(char *code) { if (wbfs_rm_disc(app_state.wbfs, (u8 *) code)) { show_error("Error Removing Disc", "Can't find disc id '%s'", code); return 1; } return 0; }
s32 WBFS_RemoveGame(u8 *discid) { s32 ret; /* No device open */ if (!hdd) return -1; /* Remove game from device */ ret = wbfs_rm_disc(hdd, discid); if (ret < 0) return ret; return 0; }