mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
samples/swkbd: Use FS_ERROR_FLAG_NONE instead of 0
This commit is contained in:
parent
af99d5acbd
commit
583b7d412d
@ -18,7 +18,7 @@ int main(int argc, char **argv)
|
||||
|
||||
// Create FSClient for swkbd
|
||||
FSClient *fsClient = (FSClient *)MEMAllocFromDefaultHeap(sizeof(FSClient));
|
||||
FSAddClient(fsClient, 0);
|
||||
FSAddClient(fsClient, FS_ERROR_FLAG_NONE);
|
||||
|
||||
// Create swkbd
|
||||
nn::swkbd::CreateArg createArg;
|
||||
@ -114,7 +114,7 @@ int main(int argc, char **argv)
|
||||
nn::swkbd::Destroy();
|
||||
MEMFreeToDefaultHeap(createArg.workMemory);
|
||||
|
||||
FSDelClient(fsClient, 0);
|
||||
FSDelClient(fsClient, FS_ERROR_FLAG_NONE);
|
||||
MEMFreeToDefaultHeap(fsClient);
|
||||
|
||||
FSShutdown();
|
||||
|
Loading…
Reference in New Issue
Block a user