Mount boot drive to '\' by default

This commit is contained in:
Jozef Nagy 2025-01-29 20:07:27 +01:00
parent 4ec95a6a52
commit fae958815f
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068

View file

@ -23,7 +23,7 @@
void axboot_init()
{
if (!vfs_init("/")) {
if (!vfs_init("\\")) {
debug("axboot_init(): Failed to mount boot drive! Halting...");
// TODO: Halt
while (1);
@ -31,7 +31,7 @@ void axboot_init()
// read kernel -> test read
char *buffer = NULL;
vfs_read("/System/axkrnl", buffer);
vfs_read("\\System\\axkrnl", buffer);
mem_free(buffer);