emummc: update for 23.5.0

This commit is contained in:
hexkyz committed 2026-11-10 21:52:52 +00:00
1 parent c721b0d2f6
commit ce8ae4a5b3
5 files changed
+130 -1

No files matched your search

+8
View File
@@ -89,6 +89,8 @@
#include "offsets/2250_exfat.h"
#include "offsets/2300.h"
#include "offsets/2300_exfat.h"
#include "offsets/2350.h"
#include "offsets/2350_exfat.h"
#include "../utils/fatal.h"
#define GET_OFFSET_STRUCT_NAME(vers) g_offsets##vers
@@ -189,6 +191,8 @@ DEFINE_OFFSET_STRUCT(_2250);
DEFINE_OFFSET_STRUCT(_2250_EXFAT);
DEFINE_OFFSET_STRUCT(_2300);
DEFINE_OFFSET_STRUCT(_2300_EXFAT);
DEFINE_OFFSET_STRUCT(_2350);
DEFINE_OFFSET_STRUCT(_2350_EXFAT);
const fs_offsets_t *get_fs_offsets(enum FS_VER version) {
switch (version) {
@@ -338,6 +342,10 @@ const fs_offsets_t *get_fs_offsets(enum FS_VER version) {
return &(GET_OFFSET_STRUCT_NAME(_2300));
case FS_VER_23_0_0_EXFAT:
return &(GET_OFFSET_STRUCT_NAME(_2300_EXFAT));
case FS_VER_23_5_0:
return &(GET_OFFSET_STRUCT_NAME(_2350));
case FS_VER_23_5_0_EXFAT:
return &(GET_OFFSET_STRUCT_NAME(_2350_EXFAT));
default:
fatal_abort(Fatal_UnknownVersion);
}