mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
修正编译错误
This commit is contained in:
parent
5b4959439c
commit
ed3686ec0d
@ -273,7 +273,7 @@ atp_error_t oaf_config_page()
|
||||
}
|
||||
|
||||
// cache the savetype
|
||||
static u16 from_savetype_cache( const char *file )
|
||||
static u16 from_savetype_cache( char file[512] )
|
||||
{
|
||||
FILINFO fi;
|
||||
int len = strlen( file );
|
||||
@ -296,7 +296,7 @@ static u16 from_savetype_cache( const char *file )
|
||||
file[len-3] = 'g';
|
||||
return retval;
|
||||
}
|
||||
static void savetype_cache_store( const char *file, u16 savetype )
|
||||
static void savetype_cache_store( char file[512], u16 savetype )
|
||||
{
|
||||
int len = strlen( file );
|
||||
file[len-1] = 'c';
|
||||
|
Loading…
x
Reference in New Issue
Block a user