N64FlashcartMenu
Loading...
Searching...
No Matches
cart_load.h
Go to the documentation of this file.
1
7#ifndef CART_LOAD_H__
8#define CART_LOAD_H__
9
10
11#include "disk_info.h"
12#include "flashcart/flashcart.h"
13#include "menu_state.h"
14#include "rom_info.h"
15
17typedef enum {
36 CART_LOAD_ERR_EMU_ROM_LOAD_FAIL,
44
46typedef enum {
58
59
60char *cart_load_convert_error_message (cart_load_err_t err);
61cart_load_err_t cart_load_n64_rom_and_save (menu_t *menu, flashcart_progress_callback_t progress);
62cart_load_err_t cart_load_64dd_ipl_and_disk (menu_t *menu, flashcart_progress_callback_t progress);
63cart_load_err_t cart_load_emulator (menu_t *menu, cart_load_emu_type_t emu_type, flashcart_progress_callback_t progress);
64
65
66#endif
cart_load_err_t
Cart load state enumeration.
Definition: cart_load.h:17
@ CART_LOAD_ERR_SAVE_LOAD_FAIL
Failed to load the save correctly.
Definition: cart_load.h:23
@ CART_LOAD_ERR_64DD_IPL_LOAD_FAIL
Failed to load the 64DD IPL (BIOS) file.
Definition: cart_load.h:29
@ CART_LOAD_ERR_EMU_NOT_FOUND
Failed to find the emulator required.
Definition: cart_load.h:33
@ CART_LOAD_ERR_EMU_LOAD_FAIL
Failed to load the emulator required.
Definition: cart_load.h:35
@ CART_LOAD_ERR_EXP_PAK_NOT_FOUND
There was not enough system memory available (expected an Expansion PAK).
Definition: cart_load.h:40
@ CART_LOAD_ERR_64DD_IPL_NOT_FOUND
Failed to find the 64DD IPL (BIOS) file.
Definition: cart_load.h:27
@ CART_LOAD_ERR_ROM_LOAD_FAIL
Failed to load the ROM correctly.
Definition: cart_load.h:21
@ CART_LOAD_ERR_64DD_PRESENT
The 64DD is available for use.
Definition: cart_load.h:25
@ CART_LOAD_ERR_64DD_DISK_LOAD_FAIL
Failed to find the 64DD disk.
Definition: cart_load.h:31
@ CART_LOAD_OK
Returned no error.
Definition: cart_load.h:19
@ CART_LOAD_ERR_FUNCTION_NOT_SUPPORTED
An unexpected response.
Definition: cart_load.h:42
@ CART_LOAD_ERR_CREATE_SAVES_SUBDIR_FAIL
Failed to create the save sub-directory.
Definition: cart_load.h:38
cart_load_emu_type_t
Cart load type enumeration.
Definition: cart_load.h:46
@ CART_LOAD_EMU_TYPE_GAMEBOY_COLOR
The ROM is designed for a Nintendo Gameboy Color.
Definition: cart_load.h:54
@ CART_LOAD_EMU_TYPE_SEGA_GENERIC_8BIT
The ROM is designed for a Sega 8Bit system (Game Gear or Master System).
Definition: cart_load.h:56
@ CART_LOAD_EMU_TYPE_SNES
The ROM is designed for a Super Nintendo Entertainment System or Super Famicom.
Definition: cart_load.h:50
@ CART_LOAD_EMU_TYPE_NES
The ROM is designed for a Nintendo Entertainment System or Famicom.
Definition: cart_load.h:48
@ CART_LOAD_EMU_TYPE_GAMEBOY
The ROM is designed for a Nintendo Gameboy.
Definition: cart_load.h:52
64DD disk information
Flashcart Subsystem.
Menu State.
Menu Structure.
Definition: menu_state.h:67
N64 ROM Database.