@@ -423,6 +423,7 @@ static S32 iSG_mc_fclose(st_ISG_MEMCARD_DATA* mcdata)
423423 return iSG_mc_fclose (mcdata, NULL );
424424}
425425
426+ // Inlining issue
426427static S32 iSG_mc_fopen (st_ISG_MEMCARD_DATA* mcdata, const char * fname, S32 fsize,
427428 en_ISG_IOMODE mode, en_ASYNC_OPERR* operr)
428429{
@@ -857,7 +858,7 @@ static S32 iSG_bnr_unpack(st_ISG_TPL_TEXPALETTE* tpl)
857858 return iSG_tpl_unpack (tpl);
858859}
859860
860- # pragma inline_depth(0)
861+ // Inlining issue
861862static S32 iSG_load_icondata ()
862863{
863864 g_rawicon = (st_ISG_TPL_TEXPALETTE*)iFileLoad (" /SBGCIcon.tpl" , NULL , &g_iconsize);
@@ -867,7 +868,6 @@ static S32 iSG_load_icondata()
867868
868869 return g_rawicon && (S32)g_iconsize && g_rawbanr && (S32)g_banrsize ? 1 : 0 ;
869870}
870- #pragma inline_depth(5)
871871
872872static S32 iSG_get_finfo (st_ISG_MEMCARD_DATA* mcdata, const char * dpath)
873873{
@@ -1518,12 +1518,11 @@ char* iSGFileModDate(st_ISGSESSION* isgdata, const char* fname, S32* sec, S32* m
15181518 return datestr;
15191519}
15201520
1521- # pragma inline_depth(0)
1521+ // Inlining issue
15221522char * iSGFileModDate (st_ISGSESSION* isgdata, const char * fname)
15231523{
15241524 return iSGFileModDate (isgdata, fname, NULL , NULL , NULL , NULL , NULL , NULL );
15251525}
1526- #pragma inline_depth(5)
15271526
15281527static S32 iSG_get_fsize (st_ISG_MEMCARD_DATA* mcdata, const char * param2)
15291528{
@@ -1563,7 +1562,7 @@ S32 iSGFileSize(st_ISGSESSION* isgdata, const char* fname)
15631562 return ret;
15641563}
15651564
1566- # pragma inline_depth(0)
1565+ // Inlining issue
15671566S32 iSGTgtHaveRoomStartup (st_ISGSESSION* isgdata, S32 tidx, S32 fsize, const char * dpath,
15681567 const char * fname, S32* bytesNeeded, S32* availOnDisk, S32* needFile)
15691568{
@@ -1637,9 +1636,8 @@ S32 iSGTgtHaveRoomStartup(st_ISGSESSION* isgdata, S32 tidx, S32 fsize, const cha
16371636 }
16381637 return (count >= 3 ) ? 0 : is_space;
16391638}
1640- #pragma inline_depth(5)
16411639
1642- # pragma inline_depth(0)
1640+ // Inlining issue
16431641S32 iSGTgtHaveRoom (st_ISGSESSION* isgdata, S32 tidx, S32 fsize, const char * dpath,
16441642 const char * fname, S32* bytesNeeded, S32* availOnDisk, S32* needFile)
16451643{
@@ -1708,7 +1706,6 @@ S32 iSGTgtHaveRoom(st_ISGSESSION* isgdata, S32 tidx, S32 fsize, const char* dpat
17081706
17091707 return (*bytesNeeded > *availOnDisk) ? 0 : is_space;
17101708}
1711- #pragma inline_depth(5)
17121709
17131710static S32 iSG_mc_exists (S32 slot)
17141711{
@@ -2000,7 +1997,7 @@ S32 iSGShutdown()
20001997 return 1 ;
20011998}
20021999
2003- # pragma inline_depth(0)
2000+ // Inlining issue
20042001S32 iSGStartup () // TO-DO - 92%
20052002{
20062003 if (g_isginit++ != 0 )
@@ -2014,7 +2011,6 @@ S32 iSGStartup() // TO-DO - 92%
20142011 return g_isginit;
20152012 }
20162013}
2017- #pragma inline_depth(5)
20182014
20192015// iPar
20202016
@@ -2156,13 +2152,12 @@ extern U32 HeapSize;
21562152extern U32 mem_top_alloc;
21572153extern U32 mem_base_alloc;
21582154
2159- # pragma inline_depth(0)
2155+ // Inlining issue
21602156void iMemExit ()
21612157{
21622158 free ((void *)gMemInfo .DRAM .addr );
21632159 gMemInfo .DRAM .addr = 0 ;
21642160}
2165- #pragma inline_depth(5)
21662161
21672162// I dont have a name for these yet
21682163
@@ -3347,7 +3342,7 @@ void iEnvEndRenderFX(iEnv*)
33473342 }
33483343}
33493344
3350- # pragma inline_depth(0)
3345+ // Inlining issue
33513346void iEnvRender (iEnv* env, bool )
33523347{
33533348 RwRenderStateSet (rwRENDERSTATESRCBLEND, (void *)rwBLENDSRCALPHA);
@@ -3364,7 +3359,6 @@ void iEnvRender(iEnv* env, bool)
33643359
33653360 lastEnv = env;
33663361}
3367- #pragma inline_depth(5)
33683362
33693363void iEnvSetup (iEnv* env)
33703364{
0 commit comments