mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 19:02:14 +02:00
change FsStorage* f to FsStorage* s
This commit is contained in:
parent
7d36668d21
commit
fe2f9ffd8e
@ -197,7 +197,7 @@ void fsDirClose(FsDir* d);
|
|||||||
|
|
||||||
// IStorage
|
// IStorage
|
||||||
Result fsStorageRead(FsStorage* s, u64 off, void* buf, size_t len);
|
Result fsStorageRead(FsStorage* s, u64 off, void* buf, size_t len);
|
||||||
Result fsStorageGetSize(FsStorage* f, u64* out);
|
Result fsStorageGetSize(FsStorage* s, u64* out);
|
||||||
void fsStorageClose(FsStorage* s);
|
void fsStorageClose(FsStorage* s);
|
||||||
|
|
||||||
// ISaveDataInfoReader
|
// ISaveDataInfoReader
|
||||||
|
@ -1143,7 +1143,7 @@ Result fsStorageRead(FsStorage* s, u64 off, void* buf, size_t len) {
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result fsStorageGetSize(FsStorage* f, u64* out) {
|
Result fsStorageGetSize(FsStorage* s, u64* out) {
|
||||||
IpcCommand c;
|
IpcCommand c;
|
||||||
ipcInitialize(&c);
|
ipcInitialize(&c);
|
||||||
|
|
||||||
@ -1157,7 +1157,7 @@ Result fsStorageGetSize(FsStorage* f, u64* out) {
|
|||||||
raw->magic = SFCI_MAGIC;
|
raw->magic = SFCI_MAGIC;
|
||||||
raw->cmd_id = 4;
|
raw->cmd_id = 4;
|
||||||
|
|
||||||
Result rc = serviceIpcDispatch(&f->s);
|
Result rc = serviceIpcDispatch(&s->s);
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
IpcParsedCommand r;
|
IpcParsedCommand r;
|
||||||
|
Loading…
Reference in New Issue
Block a user