mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2025-01-15 01:59:17 +00:00
Use dvmInitDefault instead of fatInitDefault
This commit is contained in:
parent
6ad7fa9412
commit
57aa9ebb9c
4 changed files with 4 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
|||
# Folder
|
||||
build
|
||||
|
||||
# Compiler-generated binarie
|
||||
# Compiler-generated binary
|
||||
*.o
|
||||
*.d
|
||||
*.map
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue