/*1* Copyright (c) 2018 Rajko Stojadinovic2* Copyright (c) 2018 CTCaer3*4* This program is free software; you can redistribute it and/or modify it5* under the terms and conditions of the GNU General Public License,6* version 2, as published by the Free Software Foundation.7*8* This program is distributed in the hope it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13* You should have received a copy of the GNU General Public License14* along with this program. If not, see <http://www.gnu.org/licenses/>.15*/1617#ifndef _FE_EMUMMC_TOOLS_H_18#define _FE_EMUMMC_TOOLS_H_1920#include "gui.h"2122typedef struct _emummc_cfg_t23{24int enabled;25u32 sector;26u16 id;27char *path;28char *nintendo_path;29} emummc_cfg_t;3031void load_emummc_cfg(emummc_cfg_t *emu_info);32void save_emummc_cfg(u32 part_idx, u32 sector_start, const char *path);33void dump_emummc_file(emmc_tool_gui_t *gui);34void dump_emummc_raw(emmc_tool_gui_t *gui, int part_idx, u32 sector_start, u32 resized_count);35void update_emummc_base_folder(char *outFilename, u32 sdPathLen, u32 currPartIdx);3637#endif383940