Skip to content

Commit 260d8ea

Browse files
committed
Export version info for real
1 parent eec19fb commit 260d8ea

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

libogc/system.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ extern u8 __ipcbufferLo[], __ipcbufferHi[];
213213

214214
u32 __sys_inIPL = (u32)__isIPL;
215215

216+
const char __sys_versioninfo[] = _V_STRING;
217+
216218
static const u32 _dsp_initcode[] =
217219
{
218220
0x029F0010,0x029F0033,0x029F0034,0x029F0035,
@@ -233,9 +235,6 @@ static sys_resetinfo mem_resetinfo = {
233235
127
234236
};
235237

236-
static const char *__sys_versiondate;
237-
static const char *__sys_versionbuild;
238-
239238
static void (*reload)(void) = (void(*)(void))0x80001800;
240239

241240
static bool __stub_found(void)
@@ -985,12 +984,7 @@ void* __SYS_GetIPCBufferHi(void)
985984
{
986985
return __ipcbufferhi;
987986
}
988-
#endif
989987

990-
void _V_EXPORTNAME(void)
991-
{ __sys_versionbuild = _V_STRING; __sys_versiondate = _V_DATE_; }
992-
993-
#if defined(HW_RVL)
994988
void __SYS_DoPowerCB(void)
995989
{
996990
u32 level;
@@ -1019,8 +1013,6 @@ void SYS_Init(void)
10191013
_CPU_ISR_Disable(level);
10201014
__SYS_PreInit();
10211015

1022-
_V_EXPORTNAME();
1023-
10241016
__sysarena_init();
10251017
#if defined(HW_RVL)
10261018
__ipcbuffer_init();

0 commit comments

Comments
 (0)