Use dvmInitDefault instead of fatInitDefault

This commit is contained in:
Crayon2000 2025-01-11 13:29:59 -05:00
parent 6ad7fa9412
commit 57aa9ebb9c
4 changed files with 4 additions and 6 deletions

2
.gitignore vendored
View file

@ -1,7 +1,7 @@
# Folder
build
# Compiler-generated binarie
# Compiler-generated binary
*.o
*.d
*.map

View file

@ -1,5 +1,5 @@
/*------------------------------------------------------------------------------
Copyright (c) 2009-2021 The GRRLIB Team
Copyright (c) 2009-2025 The GRRLIB Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -26,7 +26,7 @@ THE SOFTWARE.
#include <ogc/conf.h>
#include <stdio.h>
#include <ogc/machine/processor.h>
#include <fat.h>
#include <dvm.h>
#define __GRRLIB_CORE__
#include <grrlib.h>
@ -200,7 +200,7 @@ int GRRLIB_Init (void) {
atexit(GRRLIB_Exit);
// Initialise the filing system
if (fatInitDefault() == false) {
if (dvmInitDefault() == false) {
error_code = -2;
}

View file

@ -9,7 +9,6 @@
#include <ogc/lwp_watchdog.h> // Needed for gettime and ticks_to_millisecs
#include <stdlib.h>
#include <wiiuse/wpad.h>
#include <fat.h>
#include "BMfont1_png.h"
#include "BMfont2_png.h"

View file

@ -8,7 +8,6 @@
#include <ogc/lwp_watchdog.h> // Needed for gettime and ticks_to_millisecs
#include <stdlib.h>
#include <fat.h>
#include "BMfont1_png.h"
#include "BMfont2_png.h"