mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-25 21:04:40 +00:00
8f88d8fb4d
exitspawn, set_fork and salamander.
197 lines
3.9 KiB
C
197 lines
3.9 KiB
C
/* coreinit */
|
|
IMPORT_BEGIN(coreinit);
|
|
|
|
IMPORT(OSFatal);
|
|
IMPORT(OSDynLoad_Acquire);
|
|
IMPORT(OSDynLoad_FindExport);
|
|
IMPORT(OSDynLoad_Release);
|
|
IMPORT(OSSetExceptionCallback);
|
|
IMPORT(OSSavesDone_ReadyToRelease);
|
|
IMPORT(OSInitMutex);
|
|
IMPORT(OSLockMutex);
|
|
IMPORT(OSUnlockMutex);
|
|
IMPORT(OSInitCond);
|
|
IMPORT(OSWaitCond);
|
|
IMPORT(OSSignalCond);
|
|
IMPORT(OSInitSpinLock);
|
|
IMPORT(OSUninterruptibleSpinLock_Acquire);
|
|
IMPORT(OSUninterruptibleSpinLock_Release);
|
|
IMPORT(OSSleepTicks);
|
|
IMPORT(OSCreateThread);
|
|
IMPORT(OSResumeThread);
|
|
IMPORT(OSJoinThread);
|
|
IMPORT(OSYieldThread);
|
|
IMPORT(OSGetSystemTime);
|
|
IMPORT(OSGetSystemTick);
|
|
IMPORT(OSGetSymbolName);
|
|
IMPORT(OSEffectiveToPhysical);
|
|
|
|
IMPORT(exit);
|
|
IMPORT(_Exit);
|
|
IMPORT(__os_snprintf);
|
|
IMPORT(DisassemblePPCRange);
|
|
|
|
IMPORT(DCFlushRange);
|
|
IMPORT(DCStoreRange);
|
|
IMPORT(DCStoreRangeNoSync);
|
|
|
|
IMPORT(MEMGetBaseHeapHandle);
|
|
IMPORT(MEMCreateExpHeapEx);
|
|
IMPORT(MEMDestroyExpHeap);
|
|
IMPORT(MEMAllocFromExpHeapEx);
|
|
IMPORT(MEMFreeToExpHeap);
|
|
IMPORT(MEMGetSizeForMBlockExpHeap);
|
|
IMPORT(MEMAllocFromFrmHeapEx);
|
|
IMPORT(MEMFreeToFrmHeap);
|
|
IMPORT(MEMGetAllocatableSizeForFrmHeapEx);
|
|
|
|
IMPORT(FSInit);
|
|
IMPORT(FSShutdown);
|
|
IMPORT(FSAddClient);
|
|
IMPORT(FSDelClient);
|
|
IMPORT(FSInitCmdBlock);
|
|
IMPORT(FSChangeDir);
|
|
IMPORT(FSGetFreeSpaceSize);
|
|
IMPORT(FSGetStat);
|
|
IMPORT(FSRemove);
|
|
IMPORT(FSOpenFile);
|
|
IMPORT(FSCloseFile);
|
|
IMPORT(FSOpenDir);
|
|
IMPORT(FSMakeDir);
|
|
IMPORT(FSReadDir);
|
|
IMPORT(FSRewindDir);
|
|
IMPORT(FSCloseDir);
|
|
IMPORT(FSGetStatFile);
|
|
IMPORT(FSReadFile);
|
|
IMPORT(FSWriteFile);
|
|
IMPORT(FSSetPosFile);
|
|
IMPORT(FSFlushFile);
|
|
IMPORT(FSTruncateFile);
|
|
IMPORT(FSRename);
|
|
IMPORT(FSGetMountSource);
|
|
IMPORT(FSMount);
|
|
IMPORT(FSUnmount);
|
|
|
|
IMPORT(IOS_Open);
|
|
IMPORT(IOS_Close);
|
|
IMPORT(IOS_Ioctl);
|
|
IMPORT(IOS_IoctlAsync);
|
|
|
|
IMPORT_END();
|
|
|
|
/* nsysnet */
|
|
IMPORT_BEGIN(nsysnet);
|
|
|
|
IMPORT(socket_lib_init);
|
|
IMPORT(socket);
|
|
IMPORT(socketclose);
|
|
IMPORT(connect);
|
|
IMPORT(send);
|
|
IMPORT(inet_aton);
|
|
|
|
IMPORT_END();
|
|
|
|
/* gx2 */
|
|
IMPORT_BEGIN(gx2);
|
|
|
|
IMPORT(GX2Invalidate);
|
|
IMPORT(GX2Init);
|
|
IMPORT(GX2GetSystemTVScanMode);
|
|
IMPORT(GX2CalcTVSize);
|
|
IMPORT(GX2SetTVBuffer);
|
|
IMPORT(GX2CalcDRCSize);
|
|
IMPORT(GX2SetDRCBuffer);
|
|
IMPORT(GX2CalcSurfaceSizeAndAlignment);
|
|
IMPORT(GX2InitColorBufferRegs);
|
|
IMPORT(GX2SetupContextStateEx);
|
|
IMPORT(GX2SetContextState);
|
|
IMPORT(GX2SetColorBuffer);
|
|
IMPORT(GX2SetViewport);
|
|
IMPORT(GX2SetScissor);
|
|
IMPORT(GX2SetDepthOnlyControl);
|
|
IMPORT(GX2SetColorControl);
|
|
IMPORT(GX2SetBlendControl);
|
|
IMPORT(GX2SetCullOnlyControl);
|
|
IMPORT(GX2CalcFetchShaderSizeEx);
|
|
IMPORT(GX2InitFetchShaderEx);
|
|
IMPORT(GX2SetFetchShader);
|
|
IMPORT(GX2SetVertexShader);
|
|
IMPORT(GX2SetPixelShader);
|
|
IMPORT(GX2SetAttribBuffer);
|
|
IMPORT(GX2InitTextureRegs);
|
|
IMPORT(GX2InitSampler);
|
|
IMPORT(GX2SetPixelTexture);
|
|
IMPORT(GX2SetPixelSampler);
|
|
IMPORT(GX2ClearColor);
|
|
IMPORT(GX2CopyColorBufferToScanBuffer);
|
|
IMPORT(GX2SwapScanBuffers);
|
|
IMPORT(GX2Flush);
|
|
IMPORT(GX2WaitForVsync);
|
|
IMPORT(GX2SetTVEnable);
|
|
IMPORT(GX2SetDRCEnable);
|
|
IMPORT(GX2SetSwapInterval);
|
|
IMPORT(GX2DrawDone);
|
|
IMPORT(GX2Shutdown);
|
|
IMPORT(GX2DrawEx);
|
|
IMPORT(GX2WaitForFlip);
|
|
IMPORT(GX2GetSwapStatus);
|
|
|
|
IMPORT_END();
|
|
|
|
/* proc_ui */
|
|
IMPORT_BEGIN(proc_ui);
|
|
|
|
IMPORT(ProcUIInit);
|
|
IMPORT(ProcUIShutdown);
|
|
|
|
IMPORT_END();
|
|
|
|
/* sndcore2 */
|
|
IMPORT_BEGIN(sndcore2);
|
|
|
|
IMPORT(AXInitWithParams);
|
|
IMPORT(AXQuit);
|
|
IMPORT(AXRegisterFrameCallback);
|
|
IMPORT(AXAcquireMultiVoice);
|
|
IMPORT(AXSetMultiVoiceDeviceMix);
|
|
IMPORT(AXSetMultiVoiceOffsets);
|
|
IMPORT(AXSetMultiVoiceCurrentOffset);
|
|
IMPORT(AXSetMultiVoiceState);
|
|
IMPORT(AXSetMultiVoiceVe);
|
|
IMPORT(AXSetMultiVoiceSrcType);
|
|
IMPORT(AXSetMultiVoiceSrcRatio);
|
|
IMPORT(AXIsMultiVoiceRunning);
|
|
IMPORT(AXFreeMultiVoice);
|
|
|
|
IMPORT_END();
|
|
|
|
/* sysapp */
|
|
IMPORT_BEGIN(sysapp);
|
|
|
|
IMPORT(SYSRelaunchTitle);
|
|
IMPORT(SYSLaunchMenu);
|
|
|
|
IMPORT_END();
|
|
|
|
/* vpad */
|
|
IMPORT_BEGIN(vpad);
|
|
|
|
IMPORT(VPADRead);
|
|
IMPORT(VPADInit);
|
|
|
|
IMPORT_END();
|
|
|
|
/* padscore */
|
|
IMPORT_BEGIN(padscore);
|
|
|
|
IMPORT(KPADInit);
|
|
IMPORT(WPADProbe);
|
|
IMPORT(WPADSetDataFormat);
|
|
IMPORT(WPADEnableURCC);
|
|
IMPORT(WPADEnableWiiRemote);
|
|
IMPORT(WPADRead);
|
|
IMPORT(KPADRead);
|
|
|
|
IMPORT_END();
|
|
|