mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
* Maintain list position after operations. * Show current target info in batch operations. * Fix freeze when suspending to the home menu during a threaded task. * Other miscellaneous fixes and clean-ups.
14 lines
528 B
C
14 lines
528 B
C
#include <3ds.h>
|
|
|
|
#include "action.h"
|
|
#include "../section.h"
|
|
#include "../task/task.h"
|
|
#include "../../list.h"
|
|
|
|
void action_browse_user_ext_save_data(linked_list* items, list_item* selected) {
|
|
ext_save_data_info* info = (ext_save_data_info*) selected->data;
|
|
|
|
u32 path[3] = {info->mediaType, (u32) (info->extSaveDataId & 0xFFFFFFFF), (u32) ((info->extSaveDataId >> 32) & 0xFFFFFFFF)};
|
|
FS_Archive archive = {info->shared ? ARCHIVE_SHARED_EXTDATA : ARCHIVE_EXTDATA, {PATH_BINARY, 12, path}};
|
|
files_open(archive);
|
|
} |