xenia-canary/src/xenia/vfs
Wunkolo 1a8068b151 [Base] Add user-literals for several memory sizes
Rather than using `n * 1024 * 1024`, this adds a convenient `_MiB`/`_KiB` user-literal to the new `literals.h` header to concisely describe units of memory in a much more readable way. Any other useful literals can be added to this header. These literals exist in the `xe::literals` namespace so they are opt-in, similar to `std::chrono` literals, and require a `using namespace xe::literals` statement to utilize it within the current scope.

I've done a pass through the codebase to replace trivial instances of `1024 * 1024 * ...` expressions being used but avoided anything that added additional casting complexity from `size_t` to `uint32_t` and such to keep this commit concise.
2022-01-02 11:51:31 -06:00
..
devices [Base] Add user-literals for several memory sizes 2022-01-02 11:51:31 -06:00
device.cc C++17ification. 2020-04-07 16:09:41 -05:00
device.h [Kernel/VFS] Cleanup info query/set+sector size. 2020-04-20 16:08:02 -05:00
entry.cc [Kernel/VFS] Specify root entry to open from + cleanup. 2020-04-20 01:14:07 -05:00
entry.h [Kernel/VFS] Specify root entry to open from + cleanup. 2020-04-20 01:14:07 -05:00
file.h [Kernel] Add support for XFileEndOfFileInformation. 2018-05-23 04:24:37 -05:00
premake5.lua [UI] Loop thread to main thread WindowedAppContext 2021-08-28 19:38:24 +03:00
vfs_dump.cc [Base] Add user-literals for several memory sizes 2022-01-02 11:51:31 -06:00
virtual_file_system.cc [VFS] Suppress error msg for ShaderDumpxe:\CB. 2021-06-28 20:32:52 -05:00
virtual_file_system.h [Kernel/IO] Return error creating dir as non-dir. 2020-12-06 17:07:34 -06:00