small format fixes

This commit is contained in:
georgemoralis 2023-11-08 12:10:21 +02:00
parent e35efb55a2
commit 7a3e4637f4
2 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@
namespace Core::FileSys {
constexpr int RESERVED_HANDLES = 3; //first 3 handles are stdin,stdout,stderr
constexpr int RESERVED_HANDLES = 3; // First 3 handles are stdin,stdout,stderr
void MntPoints::mount(const std::string& host_folder, const std::string& guest_folder) {
std::scoped_lock lock{m_mutex};

View File

@ -7,13 +7,14 @@ class SymbolsResolver;
}
namespace Core::Libraries::LibKernel {
constexpr int SCE_MAX_PATH = 255;
struct SceKernelDirent {
u32 d_fileno; /* file number of entry */
u16 d_reclen; /* length of this record */
u08 d_type; /* file type, see below */
u08 d_namlen; /* length of string in d_name */
u32 d_fileno; /* file number of entry */
u16 d_reclen; /* length of this record */
u08 d_type; /* file type, see below */
u08 d_namlen; /* length of string in d_name */
char d_name[SCE_MAX_PATH + 1]; /* name must be no longer than this */
};