Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acef46781d | ||
|
|
024ef7cd6e | ||
|
|
4b445d6c9c | ||
|
|
0991c73c60 | ||
|
|
3527b6ac4d |
19
.github/workflows/builder.yml
vendored
19
.github/workflows/builder.yml
vendored
@@ -8,27 +8,14 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkita64_devkitarm
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install devkitpro
|
||||
run: |
|
||||
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
|
||||
sudo dpkg -i devkitpro-pacman.deb
|
||||
sudo dkp-pacman -S switch-dev --noconfirm
|
||||
sudo dkp-pacman -S devkitARM --noconfirm
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Build TegraExplorer
|
||||
run: |
|
||||
echo # SETTING PATH #
|
||||
export DEVKITPRO=/opt/devkitpro
|
||||
export DEVKITARM=${DEVKITPRO}/devkitARM
|
||||
export DEVKITPPC=${DEVKITPRO}/devkitPPC
|
||||
export PATH=${DEVKITPRO}/tools/bin:$PATH
|
||||
echo # MAKE #
|
||||
make -j$(nproc)
|
||||
run: make -j$(nproc)
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
|
||||
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ include $(DEVKITARM)/base_rules
|
||||
IPL_LOAD_ADDR := 0x40003000
|
||||
LPVERSION_MAJOR := 3
|
||||
LPVERSION_MINOR := 0
|
||||
LPVERSION_BUGFX := 4
|
||||
LPVERSION_BUGFX := 5
|
||||
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ static const pkg1_id_t _pkg1_ids[] = {
|
||||
{ "20190809135709", 9, {0x2ec10, 0x5573, 0, 1, 12, HASH_ORDER_700_10x, 0x6495, 0x1d807} }, //9.0.0 - 9.0.1
|
||||
{ "20191021113848", 10,{0x2ec10, 0x5573, 0, 1, 12, HASH_ORDER_700_10x, 0x6495, 0x1d807} }, //9.1.0
|
||||
{ "20200303104606", 10,{0x30ea0, 0x5e4b, 0, 1, 12, HASH_ORDER_700_10x, 0x663c, 0x1d9a4} }, //10.0.0
|
||||
{ "20201030110885", 10,{0x30ea0, 0x5e4b, 0, 1, 12, HASH_ORDER_700_10x, 0x663c, 0x1d9a4} }, //11.0.0
|
||||
{ NULL } //End.
|
||||
};
|
||||
|
||||
|
||||
@@ -99,4 +99,4 @@ menu_entry fwDump_typeMenu[] = {
|
||||
{"Firmware format type:", COLOR_WHITE, {ISMENU | ISSKIP}},
|
||||
{"Daybreak (prod.keys required!)", COLOR_BLUE, {ISMENU}},
|
||||
{"ChoiNX", COLOR_VIOLET, {ISMENU}}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -28,6 +28,7 @@ extern sdmmc_storage_t storage;
|
||||
extern emmc_part_t *system_part;
|
||||
extern char *clipboard;
|
||||
extern u8 clipboardhelper;
|
||||
extern bool sd_mounted;
|
||||
|
||||
|
||||
void addEntry(emmc_part_t *part, u8 property_GPT, int spot){
|
||||
@@ -73,6 +74,12 @@ int fillMmcMenu(short mmcType){
|
||||
|
||||
mu_createObjects(count, &mmcMenuEntries);
|
||||
|
||||
if (!sd_mounted)
|
||||
sd_mount();
|
||||
|
||||
SETBIT(mmcmenu_filemenu[3].property, ISHIDE, !sd_mounted);
|
||||
SETBIT(mmcmenu_start[1].property, ISHIDE, !sd_mounted);
|
||||
|
||||
for (i = 0; i < 4; i++)
|
||||
mu_copySingle(mmcmenu_start[i].name, mmcmenu_start[i].storage, mmcmenu_start[i].property, &mmcMenuEntries[i]);
|
||||
|
||||
@@ -92,13 +99,13 @@ int handleEntries(short mmcType, menu_entry part){
|
||||
return -1;
|
||||
}
|
||||
if (!mount_mmc(part.name, part.storage))
|
||||
fileexplorer("emmc:/", 1);
|
||||
fileexplorer("emmc:/", 1);
|
||||
}
|
||||
else {
|
||||
/*
|
||||
if (mmcmenu_filemenu[1].name != NULL)
|
||||
free(mmcmenu_filemenu[1].name);
|
||||
|
||||
|
||||
utils_copystring(part.name, &mmcmenu_filemenu[1].name);
|
||||
*/
|
||||
|
||||
@@ -162,7 +169,7 @@ int makeMmcMenu(short mmcType){
|
||||
if (!mmcFlashFile(clipboard, mmcType, true)){
|
||||
gfx_printf("\nDone!");
|
||||
hidWait();
|
||||
}
|
||||
}
|
||||
clipboardhelper = 0;
|
||||
}
|
||||
else
|
||||
@@ -173,4 +180,4 @@ int makeMmcMenu(short mmcType){
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ void gfx_clearscreen(){
|
||||
gfx_boxGrey(0, 703, 1279, 719, 0xFF);
|
||||
gfx_boxGrey(0, 0, 1279, 15, 0xFF);
|
||||
gfx_con_setpos(0, 0);
|
||||
gfx_printf("Tegraexplorer v2.0.4 | Battery: %3d%%\n", battery >> 8);
|
||||
gfx_printf("Tegraexplorer v2.0.5 | Battery: %3d%%\n", battery >> 8);
|
||||
|
||||
RESETCOLOR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user