[FS] Add directory stuff, clean up

This commit is contained in:
wheremyfoodat 2023-03-29 00:23:55 +03:00
parent 3ca324350b
commit 4bef096f04
10 changed files with 70 additions and 9 deletions
include
kernel
renderer_gl

View file

@ -129,6 +129,11 @@ private:
void openLinkFile(u32 messagePointer, Handle file);
void setFilePriority(u32 messagePointer, Handle file);
// Directory operations
void handleDirectoryOperation(u32 messagePointer, Handle directory);
void closeDirectory(u32 messagePointer, Handle directory);
void readDirectory(u32 messagePointer, Handle directory);
public:
Kernel(CPU& cpu, Memory& mem, GPU& gpu);
void initializeFS() { return serviceManager.initializeFS(); }

View file

@ -95,5 +95,5 @@ public:
void setColourBufferLoc(u32 loc) { colourBufferLoc = loc; }
void setDepthBufferLoc(u32 loc) { depthBufferLoc = loc; }
static constexpr u32 vertexBufferSize = 0x1500;
static constexpr u32 vertexBufferSize = 0x10000;
};