mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 18:06:40 +00:00
nyx: adhere to nx_emmc_bis changes
This commit is contained in:
parent
20c4d6dba6
commit
781f377083
4 changed files with 3 additions and 5 deletions
|
@ -28,7 +28,6 @@
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#include <libs/fatfs/diskio.h>
|
#include <libs/fatfs/diskio.h>
|
||||||
#include <libs/fatfs/ff.h>
|
#include <libs/fatfs/ff.h>
|
||||||
#include "../storage/nx_emmc_bis.h"
|
|
||||||
|
|
||||||
#define OUT_FILENAME_SZ 128
|
#define OUT_FILENAME_SZ 128
|
||||||
#define NAND_PATROL_SECTOR 0xC20
|
#define NAND_PATROL_SECTOR 0xC20
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include "fe_emummc_tools.h"
|
#include "fe_emummc_tools.h"
|
||||||
#include "gui_tools_partition_manager.h"
|
#include "gui_tools_partition_manager.h"
|
||||||
#include <libs/fatfs/ff.h>
|
#include <libs/fatfs/ff.h>
|
||||||
#include "../storage/nx_emmc_bis.h"
|
|
||||||
|
|
||||||
extern char *emmcsn_path_impl(char *path, char *sub_dir, char *filename, sdmmc_storage_t *storage);
|
extern char *emmcsn_path_impl(char *path, char *sub_dir, char *filename, sdmmc_storage_t *storage);
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include "../hos/hos.h"
|
#include "../hos/hos.h"
|
||||||
#include "../hos/pkg1.h"
|
#include "../hos/pkg1.h"
|
||||||
#include <libs/fatfs/ff.h>
|
#include <libs/fatfs/ff.h>
|
||||||
#include "../storage/nx_emmc_bis.h"
|
|
||||||
|
|
||||||
#define SECTORS_TO_MIB_COEFF 11
|
#define SECTORS_TO_MIB_COEFF 11
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
/* Low level disk I/O module skeleton for FatFs (C)ChaN, 2016 */
|
/* Low level disk I/O module skeleton for FatFs */
|
||||||
|
/* (C) ChaN, 2016 */
|
||||||
|
/* (C) CTCaer, 2018-2020 */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
/* If a working storage control module is available, it should be */
|
/* If a working storage control module is available, it should be */
|
||||||
/* attached to the FatFs via a glue function rather than modifying it. */
|
/* attached to the FatFs via a glue function rather than modifying it. */
|
||||||
|
@ -12,7 +14,6 @@
|
||||||
#include <bdk.h>
|
#include <bdk.h>
|
||||||
|
|
||||||
#include <libs/fatfs/diskio.h> /* FatFs lower layer API */
|
#include <libs/fatfs/diskio.h> /* FatFs lower layer API */
|
||||||
#include "../../storage/nx_emmc_bis.h"
|
|
||||||
|
|
||||||
static u32 sd_rsvd_sectors = 0;
|
static u32 sd_rsvd_sectors = 0;
|
||||||
static u32 ramdisk_sectors = 0;
|
static u32 ramdisk_sectors = 0;
|
||||||
|
|
Loading…
Reference in a new issue