-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BDM: replace USB and add iLink support
Add support for the Block Device Manager. This allows for multiple block devices to be added, while sharing the same filesystem and reducing a lot of duplicated code.
- Loading branch information
1 parent
4480105
commit 17c4a62
Showing
51 changed files
with
923 additions
and
2,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef __BDM_SUPPORT_H | ||
#define __BDM_SUPPORT_H | ||
|
||
#include "include/iosupport.h" | ||
|
||
#define BDM_MODE_UPDATE_DELAY MENU_UPD_DELAY_GENREFRESH | ||
|
||
#include "include/mcemu.h" | ||
|
||
typedef struct | ||
{ | ||
int active; /* Activation flag */ | ||
u32 start_sector; /* Start sector of vmc file */ | ||
int flags; /* Card flag */ | ||
vmc_spec_t specs; /* Card specifications */ | ||
} bdm_vmc_infos_t; | ||
|
||
#define MAX_BDM_DEVICES 5 | ||
|
||
void bdmInit(); | ||
item_list_t *bdmGetObject(int initOnly); | ||
int bdmFindPartition(char *target, const char *name, int write); | ||
void bdmLoadModules(void); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.