mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Fix arm9 compilation error with -Os
This commit is contained in:
parent
6434a00ee1
commit
efb16e8011
@ -101,7 +101,7 @@ devoptab_t nitroFSdevoptab = {
|
||||
//how to read the proper way can replace these 4 functions and everything should work normally :)
|
||||
|
||||
//reads from rom image either gba rom or dldi
|
||||
inline ssize_t nitroSubRead(off_t *npos, void *ptr, size_t len)
|
||||
static inline ssize_t nitroSubRead(off_t *npos, void *ptr, size_t len)
|
||||
{
|
||||
if (ndsFile != NULL)
|
||||
{ //read from ndsfile
|
||||
@ -120,7 +120,7 @@ inline ssize_t nitroSubRead(off_t *npos, void *ptr, size_t len)
|
||||
}
|
||||
|
||||
//seek around
|
||||
inline void nitroSubSeek(off_t *npos, int pos, int dir)
|
||||
static inline void nitroSubSeek(off_t *npos, int pos, int dir)
|
||||
{
|
||||
if ((dir == SEEK_SET) || (dir == SEEK_END)) //otherwise just set the pos :)
|
||||
*npos = pos;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user