mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Some functions added
This commit is contained in:
parent
cd6f95c90d
commit
6cab4d7100
14 changed files with 1199 additions and 191 deletions
|
@ -257,23 +257,23 @@ void sceGxmSetBackPolygonMode(vm::psv::ptr<SceGxmContext> context, SceGxmPolygon
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
void sceGxmSetFrontStencilFunc(vm::psv::ptr<SceGxmContext> context, SceGxmStencilFunc func, SceGxmStencilOp stencilFail, SceGxmStencilOp depthFail, SceGxmStencilOp depthPass, uint8_t compareMask, uint8_t writeMask)
|
||||
void sceGxmSetFrontStencilFunc(vm::psv::ptr<SceGxmContext> context, SceGxmStencilFunc func, SceGxmStencilOp stencilFail, SceGxmStencilOp depthFail, SceGxmStencilOp depthPass, u8 compareMask, u8 writeMask)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
void sceGxmSetBackStencilFunc(vm::psv::ptr<SceGxmContext> context, SceGxmStencilFunc func, SceGxmStencilOp stencilFail, SceGxmStencilOp depthFail, SceGxmStencilOp depthPass, uint8_t compareMask, uint8_t writeMask)
|
||||
void sceGxmSetBackStencilFunc(vm::psv::ptr<SceGxmContext> context, SceGxmStencilFunc func, SceGxmStencilOp stencilFail, SceGxmStencilOp depthFail, SceGxmStencilOp depthPass, u8 compareMask, u8 writeMask)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
void sceGxmSetFrontDepthBias(vm::psv::ptr<SceGxmContext> context, int32_t factor, int32_t units)
|
||||
void sceGxmSetFrontDepthBias(vm::psv::ptr<SceGxmContext> context, s32 factor, s32 units)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
void sceGxmSetBackDepthBias(vm::psv::ptr<SceGxmContext> context, int32_t factor, int32_t units)
|
||||
void sceGxmSetBackDepthBias(vm::psv::ptr<SceGxmContext> context, s32 factor, s32 units)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
@ -463,12 +463,12 @@ s32 sceGxmDepthStencilSurfaceInitDisabled(vm::psv::ptr<SceGxmDepthStencilSurface
|
|||
// throw __FUNCTION__;
|
||||
//}
|
||||
|
||||
uint8_t sceGxmDepthStencilSurfaceGetBackgroundStencil(vm::psv::ptr<const SceGxmDepthStencilSurface> surface)
|
||||
u8 sceGxmDepthStencilSurfaceGetBackgroundStencil(vm::psv::ptr<const SceGxmDepthStencilSurface> surface)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
void sceGxmDepthStencilSurfaceSetBackgroundStencil(vm::psv::ptr<SceGxmDepthStencilSurface> surface, uint8_t backgroundStencil)
|
||||
void sceGxmDepthStencilSurfaceSetBackgroundStencil(vm::psv::ptr<SceGxmDepthStencilSurface> surface, u8 backgroundStencil)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
|
@ -35,15 +35,15 @@ struct SceNetSockaddr
|
|||
struct SceNetEpollDataExt
|
||||
{
|
||||
s32 id;
|
||||
u32 u32;
|
||||
u32 data;
|
||||
};
|
||||
|
||||
union SceNetEpollData
|
||||
{
|
||||
vm::psv::ptr<void> ptr;
|
||||
s32 fd;
|
||||
u32 u32;
|
||||
u64 u64;
|
||||
u32 _u32;
|
||||
u64 _u64;
|
||||
SceNetEpollDataExt ext;
|
||||
};
|
||||
|
||||
|
|
|
@ -4,6 +4,431 @@
|
|||
|
||||
extern psv_log_base sceNgs;
|
||||
|
||||
struct SceNgsVoiceDefinition;
|
||||
|
||||
typedef u32 SceNgsModuleID;
|
||||
typedef u32 SceNgsParamsID;
|
||||
typedef vm::psv::ptr<void> SceNgsHVoice;
|
||||
typedef vm::psv::ptr<void> SceNgsHPatch;
|
||||
typedef vm::psv::ptr<void> SceNgsHSynSystem;
|
||||
typedef vm::psv::ptr<void> SceNgsHRack;
|
||||
|
||||
struct SceNgsModuleParamHeader
|
||||
{
|
||||
s32 moduleId;
|
||||
s32 chan;
|
||||
};
|
||||
|
||||
struct SceNgsParamsDescriptor
|
||||
{
|
||||
SceNgsParamsID id;
|
||||
u32 size;
|
||||
};
|
||||
|
||||
struct SceNgsBufferInfo
|
||||
{
|
||||
vm::psv::ptr<void> data;
|
||||
u32 size;
|
||||
};
|
||||
|
||||
struct SceNgsVoicePreset
|
||||
{
|
||||
s32 nNameOffset;
|
||||
u32 uNameLength;
|
||||
s32 nPresetDataOffset;
|
||||
u32 uSizePresetData;
|
||||
s32 nBypassFlagsOffset;
|
||||
u32 uNumBypassFlags;
|
||||
};
|
||||
|
||||
struct SceNgsSystemInitParams
|
||||
{
|
||||
s32 nMaxRacks;
|
||||
s32 nMaxVoices;
|
||||
s32 nGranularity;
|
||||
s32 nSampleRate;
|
||||
s32 nMaxModules;
|
||||
};
|
||||
|
||||
struct SceNgsRackDescription
|
||||
{
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> pVoiceDefn;
|
||||
s32 nVoices;
|
||||
s32 nChannelsPerVoice;
|
||||
s32 nMaxPatchesPerInput;
|
||||
s32 nPatchesPerOutput;
|
||||
vm::psv::ptr<void> pUserReleaseData;
|
||||
};
|
||||
|
||||
struct SceNgsPatchSetupInfo
|
||||
{
|
||||
SceNgsHVoice hVoiceSource;
|
||||
s32 nSourceOutputIndex;
|
||||
s32 nSourceOutputSubIndex;
|
||||
SceNgsHVoice hVoiceDestination;
|
||||
s32 nTargetInputIndex;
|
||||
};
|
||||
|
||||
struct SceNgsVolumeMatrix
|
||||
{
|
||||
float m[2][2];
|
||||
};
|
||||
|
||||
struct SceNgsPatchRouteInfo
|
||||
{
|
||||
s32 nOutputChannels;
|
||||
s32 nInputChannels;
|
||||
SceNgsVolumeMatrix vols;
|
||||
};
|
||||
|
||||
struct SceNgsVoiceInfo
|
||||
{
|
||||
u32 uVoiceState;
|
||||
u32 uNumModules;
|
||||
u32 uNumInputs;
|
||||
u32 uNumOutputs;
|
||||
u32 uNumPatchesPerOutput;
|
||||
};
|
||||
|
||||
struct SceNgsCallbackInfo
|
||||
{
|
||||
SceNgsHVoice hVoiceHandle;
|
||||
SceNgsHRack hRackHandle;
|
||||
SceNgsModuleID uModuleID;
|
||||
s32 nCallbackData;
|
||||
s32 nCallbackData2;
|
||||
vm::psv::ptr<void> pCallbackPtr;
|
||||
vm::psv::ptr<void> pUserData;
|
||||
};
|
||||
|
||||
typedef vm::psv::ptr<void(vm::psv::ptr<const SceNgsCallbackInfo> pCallbackInfo)> SceNgsCallbackFunc;
|
||||
|
||||
typedef SceNgsCallbackFunc SceNgsRackReleaseCallbackFunc;
|
||||
typedef SceNgsCallbackFunc SceNgsModuleCallbackFunc;
|
||||
typedef SceNgsCallbackFunc SceNgsParamsErrorCallbackFunc;
|
||||
|
||||
struct SceSulphaNgsConfig
|
||||
{
|
||||
u32 maxNamedObjects;
|
||||
u32 maxTraceBufferBytes;
|
||||
};
|
||||
|
||||
s32 sceNgsSystemGetRequiredMemorySize(vm::psv::ptr<const SceNgsSystemInitParams> pSynthParams, vm::psv::ptr<u32> pnSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemInit(vm::psv::ptr<void> pSynthSysMemory, const u32 uMemSize, vm::psv::ptr<const SceNgsSystemInitParams> pSynthParams, vm::psv::ptr<SceNgsHSynSystem> pSystemHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemUpdate(SceNgsHSynSystem hSystemHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemRelease(SceNgsHSynSystem hSystemHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemLock(SceNgsHSynSystem hSystemHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemUnlock(SceNgsHSynSystem hSystemHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemSetParamErrorCallback(SceNgsHSynSystem hSystemHandle, const SceNgsParamsErrorCallbackFunc callbackFuncPtr)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsSystemSetFlags(SceNgsHSynSystem hSystemHandle, const u32 uSystemFlags)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsRackGetRequiredMemorySize(SceNgsHSynSystem hSystemHandle, vm::psv::ptr<const SceNgsRackDescription> pRackDesc, vm::psv::ptr<u32> pnSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsRackInit(SceNgsHSynSystem hSystemHandle, vm::psv::ptr<SceNgsBufferInfo> pRackBuffer, vm::psv::ptr<const SceNgsRackDescription> pRackDesc, vm::psv::ptr<SceNgsHRack> pRackHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsRackGetVoiceHandle(SceNgsHRack hRackHandle, const u32 uIndex, vm::psv::ptr<SceNgsHVoice> pVoiceHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsRackRelease(SceNgsHRack hRackHandle, const SceNgsRackReleaseCallbackFunc callbackFuncPtr)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsRackSetParamErrorCallback(SceNgsHRack hRackHandle, const SceNgsParamsErrorCallbackFunc callbackFuncPtr)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceInit(SceNgsHVoice hVoiceHandle, vm::psv::ptr<const SceNgsVoicePreset> pPreset, const u32 uInitFlags)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoicePlay(SceNgsHVoice hVoiceHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceKeyOff(SceNgsHVoice hVoiceHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceKill(SceNgsHVoice hVoiceHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoicePause(SceNgsHVoice hVoiceHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceResume(SceNgsHVoice hVoiceHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceSetPreset(SceNgsHVoice hVoiceHandle, vm::psv::ptr<const SceNgsVoicePreset> pVoicePreset)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceLockParams(SceNgsHVoice hVoiceHandle, const u32 uModule, const SceNgsParamsID uParamsInterfaceId, vm::psv::ptr<SceNgsBufferInfo> pParamsBuffer)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceUnlockParams(SceNgsHVoice hVoiceHandle, const u32 uModule)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceSetParamsBlock(SceNgsHVoice hVoiceHandle, vm::psv::ptr<const SceNgsModuleParamHeader> pParamData, const u32 uSize, vm::psv::ptr<s32> pnErrorCount)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceBypassModule(SceNgsHVoice hVoiceHandle, const u32 uModule, const u32 uBypassFlag)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceSetModuleCallback(SceNgsHVoice hVoiceHandle, const u32 uModule, const SceNgsModuleCallbackFunc callbackFuncPtr, vm::psv::ptr<void> pUserData)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceSetFinishedCallback(SceNgsHVoice hVoiceHandle, const SceNgsCallbackFunc callbackFuncPtr, vm::psv::ptr<void> pUserData)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceGetStateData(SceNgsHVoice hVoiceHandle, const u32 uModule, vm::psv::ptr<void> pMem, const u32 uMemSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceGetInfo(SceNgsHVoice hVoiceHandle, vm::psv::ptr<SceNgsVoiceInfo> pInfo)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceGetModuleType(SceNgsHVoice hVoiceHandle, const u32 uModule, vm::psv::ptr<SceNgsModuleID> pModuleType)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceGetModuleBypass(SceNgsHVoice hVoiceHandle, const u32 uModule, vm::psv::ptr<u32> puBypassFlag)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceGetParamsOutOfRange(SceNgsHVoice hVoiceHandle, const u32 uModule, vm::psv::ptr<char> pszMessageBuffer)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsPatchCreateRouting(vm::psv::ptr<const SceNgsPatchSetupInfo> pPatchInfo, vm::psv::ptr<SceNgsHPatch> pPatchHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsPatchGetInfo(SceNgsHPatch hPatchHandle, vm::psv::ptr<SceNgsPatchRouteInfo> pRouteInfo, vm::psv::ptr<SceNgsPatchSetupInfo> pSetup)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoiceGetOutputPatch(SceNgsHVoice hVoiceHandle, const s32 nOutputIndex, const s32 nSubIndex, vm::psv::ptr<SceNgsHPatch> pPatchHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsPatchRemoveRouting(SceNgsHPatch hPatchHandle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
//s32 sceNgsVoicePatchSetVolume(SceNgsHPatch hPatchHandle, const s32 nOutputChannel, const s32 nInputChannel, const float fVol)
|
||||
//{
|
||||
// throw __FUNCTION__;
|
||||
//}
|
||||
|
||||
s32 sceNgsVoicePatchSetVolumes(SceNgsHPatch hPatchHandle, const s32 nOutputChannel, vm::psv::ptr<const float> pVolumes, const s32 nVols)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsVoicePatchSetVolumesMatrix(SceNgsHPatch hPatchHandle, vm::psv::ptr<const SceNgsVolumeMatrix> pMatrix)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsModuleGetNumPresets(SceNgsHSynSystem hSystemHandle, const SceNgsModuleID uModuleID, vm::psv::ptr<u32> puNumPresets)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNgsModuleGetPreset(SceNgsHSynSystem hSystemHandle, const SceNgsModuleID uModuleID, const u32 uPresetIndex, vm::psv::ptr<SceNgsBufferInfo> pParamsBuffer)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetCompressorBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetCompressorSideChainBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetDelayBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetDistortionBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetEnvelopeBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetEqBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetMasterBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetMixerBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetPauserBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetReverbBuss()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetSasEmuVoice()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetSimpleVoice()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetTemplate1()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
vm::psv::ptr<const SceNgsVoiceDefinition> sceNgsVoiceDefGetAtrac9Voice()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsGetDefaultConfig(vm::psv::ptr<SceSulphaNgsConfig> config)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsGetNeededMemory(vm::psv::ptr<const SceSulphaNgsConfig> config, vm::psv::ptr<u32> sizeInBytes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsInit(vm::psv::ptr<const SceSulphaNgsConfig> config, vm::psv::ptr<void> buffer, u32 sizeInBytes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsShutdown()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsSetSynthName(SceNgsHSynSystem synthHandle, vm::psv::ptr<const char> name)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsSetRackName(SceNgsHRack rackHandle, vm::psv::ptr<const char> name)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsSetVoiceName(SceNgsHVoice voiceHandle, vm::psv::ptr<const char> name)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsSetSampleName(vm::psv::ptr<const void> location, u32 length, vm::psv::ptr<const char> name)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNgsTrace(vm::psv::ptr<const char> message)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceNgs, #name, name)
|
||||
|
||||
psv_log_base sceNgs("SceNgs", []()
|
||||
|
@ -12,67 +437,67 @@ psv_log_base sceNgs("SceNgs", []()
|
|||
sceNgs.on_unload = nullptr;
|
||||
sceNgs.on_stop = nullptr;
|
||||
|
||||
//REG_FUNC(0x6CE8B36F, sceNgsSystemGetRequiredMemorySize);
|
||||
//REG_FUNC(0xED14CF4A, sceNgsSystemInit);
|
||||
//REG_FUNC(0x684F080C, sceNgsSystemUpdate);
|
||||
//REG_FUNC(0x4A25BEBC, sceNgsSystemRelease);
|
||||
//REG_FUNC(0xB9D971F2, sceNgsSystemLock);
|
||||
//REG_FUNC(0x0A93EA96, sceNgsSystemUnlock);
|
||||
//REG_FUNC(0x5ADD22DC, sceNgsSystemSetParamErrorCallback);
|
||||
//REG_FUNC(0x64D80013, sceNgsSystemSetFlags);
|
||||
//REG_FUNC(0x477318C0, sceNgsRackGetRequiredMemorySize);
|
||||
//REG_FUNC(0x0A92E4EC, sceNgsRackInit);
|
||||
//REG_FUNC(0xFE1A98E9, sceNgsRackGetVoiceHandle);
|
||||
//REG_FUNC(0xDD5CA10B, sceNgsRackRelease);
|
||||
//REG_FUNC(0x534B6E3F, sceNgsRackSetParamErrorCallback);
|
||||
//REG_FUNC(0x1DDBEBEB, sceNgsVoiceInit);
|
||||
//REG_FUNC(0xFA0A0F34, sceNgsVoicePlay);
|
||||
//REG_FUNC(0xBB13373D, sceNgsVoiceKeyOff);
|
||||
//REG_FUNC(0x0E291AAD, sceNgsVoiceKill);
|
||||
//REG_FUNC(0xD7786E99, sceNgsVoicePause);
|
||||
//REG_FUNC(0x54CFB981, sceNgsVoiceResume);
|
||||
//REG_FUNC(0x8A88E665, sceNgsVoiceSetPreset);
|
||||
//REG_FUNC(0xAB6BEF8F, sceNgsVoiceLockParams);
|
||||
//REG_FUNC(0x3D46D8A7, sceNgsVoiceUnlockParams);
|
||||
//REG_FUNC(0xFB8174B1, sceNgsVoiceSetParamsBlock);
|
||||
//REG_FUNC(0x9AB87E71, sceNgsVoiceBypassModule);
|
||||
//REG_FUNC(0x24E909A8, sceNgsVoiceSetModuleCallback);
|
||||
//REG_FUNC(0x17A6F564, sceNgsVoiceSetFinishedCallback);
|
||||
//REG_FUNC(0xC9B8C0B4, sceNgsVoiceGetStateData);
|
||||
//REG_FUNC(0x5551410D, sceNgsVoiceGetInfo);
|
||||
//REG_FUNC(0xB307185E, sceNgsVoiceGetModuleType);
|
||||
//REG_FUNC(0x431BF3AB, sceNgsVoiceGetModuleBypass);
|
||||
//REG_FUNC(0xD668B49C, sceNgsPatchCreateRouting);
|
||||
//REG_FUNC(0x98703DBC, sceNgsPatchGetInfo);
|
||||
//REG_FUNC(0x01A52E3A, sceNgsVoiceGetOutputPatch);
|
||||
//REG_FUNC(0xD0C9AE5A, sceNgsPatchRemoveRouting);
|
||||
REG_FUNC(0x6CE8B36F, sceNgsSystemGetRequiredMemorySize);
|
||||
REG_FUNC(0xED14CF4A, sceNgsSystemInit);
|
||||
REG_FUNC(0x684F080C, sceNgsSystemUpdate);
|
||||
REG_FUNC(0x4A25BEBC, sceNgsSystemRelease);
|
||||
REG_FUNC(0xB9D971F2, sceNgsSystemLock);
|
||||
REG_FUNC(0x0A93EA96, sceNgsSystemUnlock);
|
||||
REG_FUNC(0x5ADD22DC, sceNgsSystemSetParamErrorCallback);
|
||||
REG_FUNC(0x64D80013, sceNgsSystemSetFlags);
|
||||
REG_FUNC(0x477318C0, sceNgsRackGetRequiredMemorySize);
|
||||
REG_FUNC(0x0A92E4EC, sceNgsRackInit);
|
||||
REG_FUNC(0xFE1A98E9, sceNgsRackGetVoiceHandle);
|
||||
REG_FUNC(0xDD5CA10B, sceNgsRackRelease);
|
||||
REG_FUNC(0x534B6E3F, sceNgsRackSetParamErrorCallback);
|
||||
REG_FUNC(0x1DDBEBEB, sceNgsVoiceInit);
|
||||
REG_FUNC(0xFA0A0F34, sceNgsVoicePlay);
|
||||
REG_FUNC(0xBB13373D, sceNgsVoiceKeyOff);
|
||||
REG_FUNC(0x0E291AAD, sceNgsVoiceKill);
|
||||
REG_FUNC(0xD7786E99, sceNgsVoicePause);
|
||||
REG_FUNC(0x54CFB981, sceNgsVoiceResume);
|
||||
REG_FUNC(0x8A88E665, sceNgsVoiceSetPreset);
|
||||
REG_FUNC(0xAB6BEF8F, sceNgsVoiceLockParams);
|
||||
REG_FUNC(0x3D46D8A7, sceNgsVoiceUnlockParams);
|
||||
REG_FUNC(0xFB8174B1, sceNgsVoiceSetParamsBlock);
|
||||
REG_FUNC(0x9AB87E71, sceNgsVoiceBypassModule);
|
||||
REG_FUNC(0x24E909A8, sceNgsVoiceSetModuleCallback);
|
||||
REG_FUNC(0x17A6F564, sceNgsVoiceSetFinishedCallback);
|
||||
REG_FUNC(0xC9B8C0B4, sceNgsVoiceGetStateData);
|
||||
REG_FUNC(0x5551410D, sceNgsVoiceGetInfo);
|
||||
REG_FUNC(0xB307185E, sceNgsVoiceGetModuleType);
|
||||
REG_FUNC(0x431BF3AB, sceNgsVoiceGetModuleBypass);
|
||||
REG_FUNC(0xD668B49C, sceNgsPatchCreateRouting);
|
||||
REG_FUNC(0x98703DBC, sceNgsPatchGetInfo);
|
||||
REG_FUNC(0x01A52E3A, sceNgsVoiceGetOutputPatch);
|
||||
REG_FUNC(0xD0C9AE5A, sceNgsPatchRemoveRouting);
|
||||
//REG_FUNC(0xA3C807BC, sceNgsVoicePatchSetVolume);
|
||||
//REG_FUNC(0xBD6F57F0, sceNgsVoicePatchSetVolumes);
|
||||
//REG_FUNC(0xA0F5402D, sceNgsVoicePatchSetVolumesMatrix);
|
||||
//REG_FUNC(0xF6B68C31, sceNgsVoiceDefGetEnvelopeBuss);
|
||||
//REG_FUNC(0x9DCF50F5, sceNgsVoiceDefGetReverbBuss);
|
||||
//REG_FUNC(0x214485D6, sceNgsVoiceDefGetPauserBuss);
|
||||
//REG_FUNC(0xE0AC8776, sceNgsVoiceDefGetMixerBuss);
|
||||
//REG_FUNC(0x79A121D1, sceNgsVoiceDefGetMasterBuss);
|
||||
//REG_FUNC(0x0E0ACB68, sceNgsVoiceDefGetCompressorBuss);
|
||||
//REG_FUNC(0x1AF83512, sceNgsVoiceDefGetCompressorSideChainBuss);
|
||||
//REG_FUNC(0xAAD90DEB, sceNgsVoiceDefGetDistortionBuss);
|
||||
//REG_FUNC(0xF964120E, sceNgsVoiceDefGetEqBuss);
|
||||
//REG_FUNC(0xE9B572B7, sceNgsVoiceDefGetTemplate1);
|
||||
//REG_FUNC(0x0D5399CF, sceNgsVoiceDefGetSimpleVoice);
|
||||
//REG_FUNC(0x1F51C2BA, sceNgsVoiceDefGetSasEmuVoice);
|
||||
//REG_FUNC(0x4CBE08F3, sceNgsVoiceGetParamsOutOfRange);
|
||||
//REG_FUNC(0x14EF65A0, sceNgsVoiceDefGetAtrac9Voice);
|
||||
//REG_FUNC(0x4D705E3E, sceNgsVoiceDefGetDelayBuss);
|
||||
//REG_FUNC(0x5FD8AEDB, sceSulphaNgsGetDefaultConfig);
|
||||
//REG_FUNC(0x793E3E8C, sceSulphaNgsGetNeededMemory);
|
||||
//REG_FUNC(0xAFCD824F, sceSulphaNgsInit);
|
||||
//REG_FUNC(0xD124BFB1, sceSulphaNgsShutdown);
|
||||
//REG_FUNC(0x2F3F7515, sceSulphaNgsSetSynthName);
|
||||
//REG_FUNC(0x251AF6A9, sceSulphaNgsSetRackName);
|
||||
//REG_FUNC(0x508975BD, sceSulphaNgsSetVoiceName);
|
||||
//REG_FUNC(0x54EC5B8D, sceSulphaNgsSetSampleName);
|
||||
//REG_FUNC(0xDC7C0F05, sceSulphaNgsTrace);
|
||||
//REG_FUNC(0x5C71FE09, sceNgsModuleGetNumPresets);
|
||||
//REG_FUNC(0xC58298A7, sceNgsModuleGetPreset);
|
||||
REG_FUNC(0xBD6F57F0, sceNgsVoicePatchSetVolumes);
|
||||
REG_FUNC(0xA0F5402D, sceNgsVoicePatchSetVolumesMatrix);
|
||||
REG_FUNC(0xF6B68C31, sceNgsVoiceDefGetEnvelopeBuss);
|
||||
REG_FUNC(0x9DCF50F5, sceNgsVoiceDefGetReverbBuss);
|
||||
REG_FUNC(0x214485D6, sceNgsVoiceDefGetPauserBuss);
|
||||
REG_FUNC(0xE0AC8776, sceNgsVoiceDefGetMixerBuss);
|
||||
REG_FUNC(0x79A121D1, sceNgsVoiceDefGetMasterBuss);
|
||||
REG_FUNC(0x0E0ACB68, sceNgsVoiceDefGetCompressorBuss);
|
||||
REG_FUNC(0x1AF83512, sceNgsVoiceDefGetCompressorSideChainBuss);
|
||||
REG_FUNC(0xAAD90DEB, sceNgsVoiceDefGetDistortionBuss);
|
||||
REG_FUNC(0xF964120E, sceNgsVoiceDefGetEqBuss);
|
||||
REG_FUNC(0xE9B572B7, sceNgsVoiceDefGetTemplate1);
|
||||
REG_FUNC(0x0D5399CF, sceNgsVoiceDefGetSimpleVoice);
|
||||
REG_FUNC(0x1F51C2BA, sceNgsVoiceDefGetSasEmuVoice);
|
||||
REG_FUNC(0x4CBE08F3, sceNgsVoiceGetParamsOutOfRange);
|
||||
REG_FUNC(0x14EF65A0, sceNgsVoiceDefGetAtrac9Voice);
|
||||
REG_FUNC(0x4D705E3E, sceNgsVoiceDefGetDelayBuss);
|
||||
REG_FUNC(0x5FD8AEDB, sceSulphaNgsGetDefaultConfig);
|
||||
REG_FUNC(0x793E3E8C, sceSulphaNgsGetNeededMemory);
|
||||
REG_FUNC(0xAFCD824F, sceSulphaNgsInit);
|
||||
REG_FUNC(0xD124BFB1, sceSulphaNgsShutdown);
|
||||
REG_FUNC(0x2F3F7515, sceSulphaNgsSetSynthName);
|
||||
REG_FUNC(0x251AF6A9, sceSulphaNgsSetRackName);
|
||||
REG_FUNC(0x508975BD, sceSulphaNgsSetVoiceName);
|
||||
REG_FUNC(0x54EC5B8D, sceSulphaNgsSetSampleName);
|
||||
REG_FUNC(0xDC7C0F05, sceSulphaNgsTrace);
|
||||
REG_FUNC(0x5C71FE09, sceNgsModuleGetNumPresets);
|
||||
REG_FUNC(0xC58298A7, sceNgsModuleGetPreset);
|
||||
});
|
||||
|
|
|
@ -4,6 +4,192 @@
|
|||
|
||||
extern psv_log_base sceRtc;
|
||||
|
||||
u32 sceRtcGetTickResolution()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetCurrentTick(vm::psv::ptr<u64> pTick)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetCurrentClock(vm::psv::ptr<SceDateTime> pTime, s32 iTimeZone)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetCurrentClockLocalTime(vm::psv::ptr<SceDateTime> pTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetCurrentNetworkTick(vm::psv::ptr<u64> pTick)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcConvertUtcToLocalTime(vm::psv::ptr<const u64> pUtc, vm::psv::ptr<u64> pLocalTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcConvertLocalTimeToUtc(vm::psv::ptr<const u64> pLocalTime, vm::psv::ptr<u64> pUtc)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcIsLeapYear(s32 year)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetDaysInMonth(s32 year, s32 month)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetDayOfWeek(s32 year, s32 month, s32 day)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcCheckValid(vm::psv::ptr<const SceDateTime> pTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcSetTime_t(vm::psv::ptr<SceDateTime> pTime, time_t iTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcSetTime64_t(vm::psv::ptr<SceDateTime> pTime, u64 ullTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetTime_t(vm::psv::ptr<const SceDateTime> pTime, vm::psv::ptr<time_t> piTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetTime64_t(vm::psv::ptr<const SceDateTime> pTime, vm::psv::ptr<u64> pullTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcSetDosTime(vm::psv::ptr<SceDateTime> pTime, u32 uiDosTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetDosTime(vm::psv::ptr<const SceDateTime> pTime, vm::psv::ptr<u32> puiDosTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcSetWin32FileTime(vm::psv::ptr<SceDateTime> pTime, u64 ulWin32Time)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetWin32FileTime(vm::psv::ptr<const SceDateTime> pTime, vm::psv::ptr<u64> ulWin32Time)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcSetTick(vm::psv::ptr<SceDateTime> pTime, vm::psv::ptr<const u64> pTick)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcGetTick(vm::psv::ptr<const SceDateTime> pTime, vm::psv::ptr<u64> pTick)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcCompareTick(vm::psv::ptr<const u64> pTick1, vm::psv::ptr<const u64> pTick2)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddTicks(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, u64 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddMicroseconds(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, u64 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddSeconds(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, u64 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddMinutes(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, u64 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddHours(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, s32 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddDays(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, s32 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddWeeks(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, s32 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddMonths(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, s32 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcTickAddYears(vm::psv::ptr<u64> pTick0, vm::psv::ptr<const u64> pTick1, s32 lAdd)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcFormatRFC2822(vm::psv::ptr<char> pszDateTime, vm::psv::ptr<const u64> pUtc, s32 iTimeZoneMinutes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcFormatRFC2822LocalTime(vm::psv::ptr<char> pszDateTime, vm::psv::ptr<const u64> pUtc)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcFormatRFC3339(vm::psv::ptr<char> pszDateTime, vm::psv::ptr<const u64> pUtc, s32 iTimeZoneMinutes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcFormatRFC3339LocalTime(vm::psv::ptr<char> pszDateTime, vm::psv::ptr<const u64> pUtc)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcParseDateTime(vm::psv::ptr<u64> pUtc, vm::psv::ptr<const char> pszDateTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceRtcParseRFC3339(vm::psv::ptr<u64> pUtc, vm::psv::ptr<const char> pszDateTime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceRtc, #name, name)
|
||||
|
||||
psv_log_base sceRtc("SceRtc", []()
|
||||
|
@ -12,41 +198,41 @@ psv_log_base sceRtc("SceRtc", []()
|
|||
sceRtc.on_unload = nullptr;
|
||||
sceRtc.on_stop = nullptr;
|
||||
|
||||
//REG_FUNC(0x23F79274, sceRtcGetCurrentTick);
|
||||
//REG_FUNC(0xCDDD25FE, sceRtcGetCurrentNetworkTick);
|
||||
//REG_FUNC(0x70FDE8F1, sceRtcGetCurrentClock);
|
||||
//REG_FUNC(0x0572EDDC, sceRtcGetCurrentClockLocalTime);
|
||||
//REG_FUNC(0x1282C436, sceRtcConvertUtcToLocalTime);
|
||||
//REG_FUNC(0x0A05E201, sceRtcConvertLocalTimeToUtc);
|
||||
//REG_FUNC(0x42CA8EB5, sceRtcFormatRFC2822LocalTime);
|
||||
//REG_FUNC(0x147F2138, sceRtcFormatRFC2822);
|
||||
//REG_FUNC(0x742250A9, sceRtcFormatRFC3339LocalTime);
|
||||
//REG_FUNC(0xCCEA2B54, sceRtcFormatRFC3339);
|
||||
//REG_FUNC(0xF17FD8B5, sceRtcIsLeapYear);
|
||||
//REG_FUNC(0x49EB4556, sceRtcGetDaysInMonth);
|
||||
//REG_FUNC(0x2F3531EB, sceRtcGetDayOfWeek);
|
||||
//REG_FUNC(0xD7622935, sceRtcCheckValid);
|
||||
//REG_FUNC(0x3A332F81, sceRtcSetTime_t);
|
||||
//REG_FUNC(0xA6C36B6A, sceRtcSetTime64_t);
|
||||
//REG_FUNC(0x8DE6FEB7, sceRtcGetTime_t);
|
||||
//REG_FUNC(0xC995DE02, sceRtcGetTime64_t);
|
||||
//REG_FUNC(0xF8B22B07, sceRtcSetDosTime);
|
||||
//REG_FUNC(0x92ABEBAF, sceRtcGetDosTime);
|
||||
//REG_FUNC(0xA79A8846, sceRtcSetWin32FileTime);
|
||||
//REG_FUNC(0x8A95E119, sceRtcGetWin32FileTime);
|
||||
//REG_FUNC(0x811313B3, sceRtcGetTickResolution);
|
||||
//REG_FUNC(0xCD89F464, sceRtcSetTick);
|
||||
//REG_FUNC(0xF2B238E2, sceRtcGetTick);
|
||||
//REG_FUNC(0xC7385158, sceRtcCompareTick);
|
||||
//REG_FUNC(0x4559E2DB, sceRtcTickAddTicks);
|
||||
//REG_FUNC(0xAE26D920, sceRtcTickAddMicroseconds);
|
||||
//REG_FUNC(0x979AFD79, sceRtcTickAddSeconds);
|
||||
//REG_FUNC(0x4C358871, sceRtcTickAddMinutes);
|
||||
//REG_FUNC(0x6F193F55, sceRtcTickAddHours);
|
||||
//REG_FUNC(0x58DE3C70, sceRtcTickAddDays);
|
||||
//REG_FUNC(0xE713C640, sceRtcTickAddWeeks);
|
||||
//REG_FUNC(0x6321B4AA, sceRtcTickAddMonths);
|
||||
//REG_FUNC(0xDF6C3E1B, sceRtcTickAddYears);
|
||||
//REG_FUNC(0x2347CE12, sceRtcParseDateTime);
|
||||
//REG_FUNC(0x2D18AEEC, sceRtcParseRFC3339);
|
||||
REG_FUNC(0x23F79274, sceRtcGetCurrentTick);
|
||||
REG_FUNC(0xCDDD25FE, sceRtcGetCurrentNetworkTick);
|
||||
REG_FUNC(0x70FDE8F1, sceRtcGetCurrentClock);
|
||||
REG_FUNC(0x0572EDDC, sceRtcGetCurrentClockLocalTime);
|
||||
REG_FUNC(0x1282C436, sceRtcConvertUtcToLocalTime);
|
||||
REG_FUNC(0x0A05E201, sceRtcConvertLocalTimeToUtc);
|
||||
REG_FUNC(0x42CA8EB5, sceRtcFormatRFC2822LocalTime);
|
||||
REG_FUNC(0x147F2138, sceRtcFormatRFC2822);
|
||||
REG_FUNC(0x742250A9, sceRtcFormatRFC3339LocalTime);
|
||||
REG_FUNC(0xCCEA2B54, sceRtcFormatRFC3339);
|
||||
REG_FUNC(0xF17FD8B5, sceRtcIsLeapYear);
|
||||
REG_FUNC(0x49EB4556, sceRtcGetDaysInMonth);
|
||||
REG_FUNC(0x2F3531EB, sceRtcGetDayOfWeek);
|
||||
REG_FUNC(0xD7622935, sceRtcCheckValid);
|
||||
REG_FUNC(0x3A332F81, sceRtcSetTime_t);
|
||||
REG_FUNC(0xA6C36B6A, sceRtcSetTime64_t);
|
||||
REG_FUNC(0x8DE6FEB7, sceRtcGetTime_t);
|
||||
REG_FUNC(0xC995DE02, sceRtcGetTime64_t);
|
||||
REG_FUNC(0xF8B22B07, sceRtcSetDosTime);
|
||||
REG_FUNC(0x92ABEBAF, sceRtcGetDosTime);
|
||||
REG_FUNC(0xA79A8846, sceRtcSetWin32FileTime);
|
||||
REG_FUNC(0x8A95E119, sceRtcGetWin32FileTime);
|
||||
REG_FUNC(0x811313B3, sceRtcGetTickResolution);
|
||||
REG_FUNC(0xCD89F464, sceRtcSetTick);
|
||||
REG_FUNC(0xF2B238E2, sceRtcGetTick);
|
||||
REG_FUNC(0xC7385158, sceRtcCompareTick);
|
||||
REG_FUNC(0x4559E2DB, sceRtcTickAddTicks);
|
||||
REG_FUNC(0xAE26D920, sceRtcTickAddMicroseconds);
|
||||
REG_FUNC(0x979AFD79, sceRtcTickAddSeconds);
|
||||
REG_FUNC(0x4C358871, sceRtcTickAddMinutes);
|
||||
REG_FUNC(0x6F193F55, sceRtcTickAddHours);
|
||||
REG_FUNC(0x58DE3C70, sceRtcTickAddDays);
|
||||
REG_FUNC(0xE713C640, sceRtcTickAddWeeks);
|
||||
REG_FUNC(0x6321B4AA, sceRtcTickAddMonths);
|
||||
REG_FUNC(0xDF6C3E1B, sceRtcTickAddYears);
|
||||
REG_FUNC(0x2347CE12, sceRtcParseDateTime);
|
||||
REG_FUNC(0x2D18AEEC, sceRtcParseRFC3339);
|
||||
});
|
||||
|
|
|
@ -4,6 +4,152 @@
|
|||
|
||||
extern psv_log_base sceSas;
|
||||
|
||||
s32 sceSasGetNeededMemorySize(vm::psv::ptr<const char> config, vm::psv::ptr<u32> outSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasInit(vm::psv::ptr<const char> config, vm::psv::ptr<void> buffer, u32 bufferSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasInitWithGrain(vm::psv::ptr<const char> config, u32 grain, vm::psv::ptr<void> buffer, u32 bufferSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasExit(vm::psv::ptr<vm::psv::ptr<void>> outBuffer, vm::psv::ptr<u32> outBufferSize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetGrain(u32 grain)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasGetGrain()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetOutputmode(u32 outputmode)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasGetOutputmode()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasCore(vm::psv::ptr<s16> out)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasCoreWithMix(vm::psv::ptr<s16> inOut, s32 lvol, s32 rvol)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetVoice(s32 iVoiceNum, vm::psv::ptr<const void> vagBuf, u32 size, u32 loopflag)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetVoicePCM(s32 iVoiceNum, vm::psv::ptr<const void> pcmBuf, u32 size, s32 loopsize)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetNoise(s32 iVoiceNum, u32 uClk)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetVolume(s32 iVoiceNum, s32 l, s32 r, s32 wl, s32 wr)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetPitch(s32 iVoiceNum, s32 pitch)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetADSR(s32 iVoiceNum, u32 flag, u32 ar, u32 dr, u32 sr, u32 rr)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetADSRmode(s32 iVoiceNum, u32 flag, u32 am, u32 dm, u32 sm, u32 rm)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetSL(s32 iVoiceNum, u32 sl)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetSimpleADSR(s32 iVoiceNum, u16 adsr1, u16 adsr2)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetKeyOn(s32 iVoiceNum)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetKeyOff(s32 iVoiceNum)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetPause(s32 iVoiceNum, u32 pauseFlag)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasGetPauseState(s32 iVoiceNum)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasGetEndState(s32 iVoiceNum)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasGetEnvelope(s32 iVoiceNum)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetEffect(s32 drySwitch, s32 wetSwitch)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetEffectType(s32 type)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetEffectVolume(s32 valL, s32 valR)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSasSetEffectParam(u32 delayTime, u32 feedback)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceSas, #name, name)
|
||||
|
||||
psv_log_base sceSas("SceSas", []()
|
||||
|
@ -28,36 +174,36 @@ psv_log_base sceSas("SceSas", []()
|
|||
//REG_FUNC(0xC72F1EEF, sceAsRender);
|
||||
//REG_FUNC(0xCE23F057, sceAsLockUpdate);
|
||||
//REG_FUNC(0x8BEF3C92, sceAsUnlockUpdate);
|
||||
//REG_FUNC(0x180C6824, sceSasGetNeededMemorySize);
|
||||
//REG_FUNC(0x449B5974, sceSasInit);
|
||||
//REG_FUNC(0x820D5F82, sceSasInitWithGrain);
|
||||
//REG_FUNC(0xBB7D6790, sceSasExit);
|
||||
//REG_FUNC(0x2B4A207C, sceSasSetGrain);
|
||||
//REG_FUNC(0x2BEA45BC, sceSasGetGrain);
|
||||
//REG_FUNC(0x44DDB3C4, sceSasSetOutputmode);
|
||||
//REG_FUNC(0x2C36E150, sceSasGetOutputmode);
|
||||
//REG_FUNC(0x7A4672B2, sceSasCore);
|
||||
//REG_FUNC(0xBD496983, sceSasCoreWithMix);
|
||||
//REG_FUNC(0x2B75F9BC, sceSasSetVoice);
|
||||
//REG_FUNC(0xB1756EFC, sceSasSetVoicePCM);
|
||||
//REG_FUNC(0xF1C63CB9, sceSasSetNoise);
|
||||
//REG_FUNC(0x0BE8204D, sceSasSetVolume);
|
||||
REG_FUNC(0x180C6824, sceSasGetNeededMemorySize);
|
||||
REG_FUNC(0x449B5974, sceSasInit);
|
||||
REG_FUNC(0x820D5F82, sceSasInitWithGrain);
|
||||
REG_FUNC(0xBB7D6790, sceSasExit);
|
||||
REG_FUNC(0x2B4A207C, sceSasSetGrain);
|
||||
REG_FUNC(0x2BEA45BC, sceSasGetGrain);
|
||||
REG_FUNC(0x44DDB3C4, sceSasSetOutputmode);
|
||||
REG_FUNC(0x2C36E150, sceSasGetOutputmode);
|
||||
REG_FUNC(0x7A4672B2, sceSasCore);
|
||||
REG_FUNC(0xBD496983, sceSasCoreWithMix);
|
||||
REG_FUNC(0x2B75F9BC, sceSasSetVoice);
|
||||
REG_FUNC(0xB1756EFC, sceSasSetVoicePCM);
|
||||
REG_FUNC(0xF1C63CB9, sceSasSetNoise);
|
||||
REG_FUNC(0x0BE8204D, sceSasSetVolume);
|
||||
//REG_FUNC(0x011788BE, sceSasSetDistortion);
|
||||
//REG_FUNC(0x2C48A08C, sceSasSetPitch);
|
||||
//REG_FUNC(0x18A5EFA2, sceSasSetADSR);
|
||||
//REG_FUNC(0x5207F9D2, sceSasSetADSRmode);
|
||||
//REG_FUNC(0xDE6227B8, sceSasSetSL);
|
||||
//REG_FUNC(0xECCE0DB8, sceSasSetSimpleADSR);
|
||||
//REG_FUNC(0xC838DB6F, sceSasSetKeyOn);
|
||||
//REG_FUNC(0x5E42ADAB, sceSasSetKeyOff);
|
||||
//REG_FUNC(0x59C7A9DF, sceSasSetPause);
|
||||
//REG_FUNC(0x007E63E6, sceSasGetEndState);
|
||||
//REG_FUNC(0xFD1A0CBF, sceSasGetPauseState);
|
||||
//REG_FUNC(0x296A9910, sceSasGetEnvelope);
|
||||
//REG_FUNC(0xB0444E69, sceSasSetEffect);
|
||||
//REG_FUNC(0xCDF2DDD5, sceSasSetEffectType);
|
||||
//REG_FUNC(0x55EDDBFA, sceSasSetEffectVolume);
|
||||
//REG_FUNC(0xBAD546A0, sceSasSetEffectParam);
|
||||
REG_FUNC(0x2C48A08C, sceSasSetPitch);
|
||||
REG_FUNC(0x18A5EFA2, sceSasSetADSR);
|
||||
REG_FUNC(0x5207F9D2, sceSasSetADSRmode);
|
||||
REG_FUNC(0xDE6227B8, sceSasSetSL);
|
||||
REG_FUNC(0xECCE0DB8, sceSasSetSimpleADSR);
|
||||
REG_FUNC(0xC838DB6F, sceSasSetKeyOn);
|
||||
REG_FUNC(0x5E42ADAB, sceSasSetKeyOff);
|
||||
REG_FUNC(0x59C7A9DF, sceSasSetPause);
|
||||
REG_FUNC(0x007E63E6, sceSasGetEndState);
|
||||
REG_FUNC(0xFD1A0CBF, sceSasGetPauseState);
|
||||
REG_FUNC(0x296A9910, sceSasGetEnvelope);
|
||||
REG_FUNC(0xB0444E69, sceSasSetEffect);
|
||||
REG_FUNC(0xCDF2DDD5, sceSasSetEffectType);
|
||||
REG_FUNC(0x55EDDBFA, sceSasSetEffectVolume);
|
||||
REG_FUNC(0xBAD546A0, sceSasSetEffectParam);
|
||||
//REG_FUNC(0xB6642276, sceSasGetDryPeak);
|
||||
//REG_FUNC(0x4314F0E9, sceSasGetWetPeak);
|
||||
//REG_FUNC(0x1568017A, sceSasGetPreMasterPeak);
|
||||
|
|
|
@ -2,8 +2,250 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
#include "sceTouch.h"
|
||||
|
||||
extern psv_log_base sceSystemGesture;
|
||||
|
||||
enum SceSystemGestureTouchState : s32
|
||||
{
|
||||
SCE_SYSTEM_GESTURE_TOUCH_STATE_INACTIVE = 0,
|
||||
SCE_SYSTEM_GESTURE_TOUCH_STATE_BEGIN = 1,
|
||||
SCE_SYSTEM_GESTURE_TOUCH_STATE_ACTIVE = 2,
|
||||
SCE_SYSTEM_GESTURE_TOUCH_STATE_END = 3
|
||||
};
|
||||
|
||||
enum SceSystemGestureType : s32
|
||||
{
|
||||
SCE_SYSTEM_GESTURE_TYPE_TAP = 1,
|
||||
SCE_SYSTEM_GESTURE_TYPE_DRAG = 2,
|
||||
SCE_SYSTEM_GESTURE_TYPE_TAP_AND_HOLD = 4,
|
||||
SCE_SYSTEM_GESTURE_TYPE_PINCH_OUT_IN = 8
|
||||
};
|
||||
|
||||
struct SceSystemGestureVector2
|
||||
{
|
||||
s16 x;
|
||||
s16 y;
|
||||
};
|
||||
|
||||
struct SceSystemGestureRectangle
|
||||
{
|
||||
s16 x;
|
||||
s16 y;
|
||||
s16 width;
|
||||
s16 height;
|
||||
};
|
||||
|
||||
struct SceSystemGesturePrimitiveTouchEvent
|
||||
{
|
||||
SceSystemGestureTouchState eventState;
|
||||
u16 primitiveID;
|
||||
SceSystemGestureVector2 pressedPosition;
|
||||
s16 pressedForce;
|
||||
SceSystemGestureVector2 currentPosition;
|
||||
s16 currentForce;
|
||||
SceSystemGestureVector2 deltaVector;
|
||||
s16 deltaForce;
|
||||
u64 deltaTime;
|
||||
u64 elapsedTime;
|
||||
u8 reserved[56];
|
||||
};
|
||||
|
||||
struct SceSystemGesturePrimitiveTouchRecognizerParameter
|
||||
{
|
||||
u8 reserved[64];
|
||||
};
|
||||
|
||||
struct SceSystemGestureTouchRecognizer
|
||||
{
|
||||
u64 reserved[307];
|
||||
};
|
||||
|
||||
struct SceSystemGestureTouchRecognizerInformation
|
||||
{
|
||||
SceSystemGestureType gestureType;
|
||||
u32 touchPanelPortID;
|
||||
SceSystemGestureRectangle rectangle;
|
||||
u64 updatedTime;
|
||||
u8 reserved[256];
|
||||
};
|
||||
|
||||
struct SceSystemGestureTapRecognizerParameter
|
||||
{
|
||||
u8 maxTapCount;
|
||||
u8 reserved[63];
|
||||
};
|
||||
|
||||
struct SceSystemGestureDragRecognizerParameter
|
||||
{
|
||||
u8 reserved[64];
|
||||
};
|
||||
|
||||
struct SceSystemGestureTapAndHoldRecognizerParameter
|
||||
{
|
||||
u64 timeToInvokeEvent;
|
||||
u8 reserved[56];
|
||||
};
|
||||
|
||||
struct SceSystemGesturePinchOutInRecognizerParameter
|
||||
{
|
||||
u8 reserved[64];
|
||||
};
|
||||
|
||||
union SceSystemGestureTouchRecognizerParameter
|
||||
{
|
||||
u8 parameterBuf[64];
|
||||
SceSystemGestureTapRecognizerParameter tap;
|
||||
SceSystemGestureDragRecognizerParameter drag;
|
||||
SceSystemGestureTapAndHoldRecognizerParameter tapAndHold;
|
||||
SceSystemGesturePinchOutInRecognizerParameter pinchOutIn;
|
||||
};
|
||||
|
||||
struct SceSystemGestureTapEventProperty
|
||||
{
|
||||
u16 primitiveID;
|
||||
SceSystemGestureVector2 position;
|
||||
u8 tappedCount;
|
||||
u8 reserved[57];
|
||||
};
|
||||
|
||||
struct SceSystemGestureDragEventProperty
|
||||
{
|
||||
u16 primitiveID;
|
||||
SceSystemGestureVector2 deltaVector;
|
||||
SceSystemGestureVector2 currentPosition;
|
||||
SceSystemGestureVector2 pressedPosition;
|
||||
u8 reserved[50];
|
||||
};
|
||||
|
||||
struct SceSystemGestureTapAndHoldEventProperty
|
||||
{
|
||||
u16 primitiveID;
|
||||
SceSystemGestureVector2 pressedPosition;
|
||||
u8 reserved[58];
|
||||
};
|
||||
|
||||
struct SceSystemGesturePinchOutInEventProperty
|
||||
{
|
||||
float scale;
|
||||
|
||||
struct
|
||||
{
|
||||
u16 primitiveID;
|
||||
SceSystemGestureVector2 currentPosition;
|
||||
SceSystemGestureVector2 deltaVector;
|
||||
SceSystemGestureVector2 pairedPosition;
|
||||
} primitive[2];
|
||||
|
||||
u8 reserved[32];
|
||||
};
|
||||
|
||||
struct SceSystemGestureTouchEvent
|
||||
{
|
||||
u32 eventID;
|
||||
SceSystemGestureTouchState eventState;
|
||||
SceSystemGestureType gestureType;
|
||||
u8 padding[4];
|
||||
u64 updatedTime;
|
||||
|
||||
union
|
||||
{
|
||||
u8 propertyBuf[64];
|
||||
SceSystemGestureTapEventProperty tap;
|
||||
SceSystemGestureDragEventProperty drag;
|
||||
SceSystemGestureTapAndHoldEventProperty tapAndHold;
|
||||
SceSystemGesturePinchOutInEventProperty pinchOutIn;
|
||||
} property;
|
||||
|
||||
u8 reserved[56];
|
||||
};
|
||||
|
||||
s32 sceSystemGestureInitializePrimitiveTouchRecognizer(vm::psv::ptr<SceSystemGesturePrimitiveTouchRecognizerParameter> parameter)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureFinalizePrimitiveTouchRecognizer()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureResetPrimitiveTouchRecognizer()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureUpdatePrimitiveTouchRecognizer(vm::psv::ptr<const SceTouchData> pFrontData, vm::psv::ptr<const SceTouchData> pBackData)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetPrimitiveTouchEvents(vm::psv::ptr<SceSystemGesturePrimitiveTouchEvent> primitiveEventBuffer, const u32 capacityOfBuffer, vm::psv::ptr<u32> numberOfEvent)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetPrimitiveTouchEventsCount()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetPrimitiveTouchEventByIndex(const u32 index, vm::psv::ptr<SceSystemGesturePrimitiveTouchEvent> primitiveTouchEvent)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetPrimitiveTouchEventByPrimitiveID(const u16 primitiveID, vm::psv::ptr<SceSystemGesturePrimitiveTouchEvent> primitiveTouchEvent)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureCreateTouchRecognizer(vm::psv::ptr<SceSystemGestureTouchRecognizer> touchRecognizer, const SceSystemGestureType gestureType, const u8 touchPanelPortID, vm::psv::ptr<const SceSystemGestureRectangle> rectangle, vm::psv::ptr<const SceSystemGestureTouchRecognizerParameter> touchRecognizerParameter)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetTouchRecognizerInformation(vm::psv::ptr<const SceSystemGestureTouchRecognizer> touchRecognizer, vm::psv::ptr<SceSystemGestureTouchRecognizerInformation> information)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureResetTouchRecognizer(vm::psv::ptr<SceSystemGestureTouchRecognizer> touchRecognizer)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureUpdateTouchRecognizer(vm::psv::ptr<SceSystemGestureTouchRecognizer> touchRecognizer)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureUpdateTouchRecognizerRectangle(vm::psv::ptr<SceSystemGestureTouchRecognizer> touchRecognizer, vm::psv::ptr<const SceSystemGestureRectangle> rectangle)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetTouchEvents(vm::psv::ptr<const SceSystemGestureTouchRecognizer> touchRecognizer, vm::psv::ptr<SceSystemGestureTouchEvent> eventBuffer, const u32 capacityOfBuffer, vm::psv::ptr<u32> numberOfEvent)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetTouchEventsCount(vm::psv::ptr<const SceSystemGestureTouchRecognizer> touchRecognizer)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetTouchEventByIndex(vm::psv::ptr<const SceSystemGestureTouchRecognizer> touchRecognizer, const u32 index, vm::psv::ptr<SceSystemGestureTouchEvent> touchEvent)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSystemGestureGetTouchEventByEventID(vm::psv::ptr<const SceSystemGestureTouchRecognizer> touchRecognizer, const u32 eventID, vm::psv::ptr<SceSystemGestureTouchEvent> touchEvent)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceSystemGesture, #name, name)
|
||||
|
||||
psv_log_base sceSystemGesture("SceSystemGesture", []()
|
||||
|
@ -12,21 +254,21 @@ psv_log_base sceSystemGesture("SceSystemGesture", []()
|
|||
sceSystemGesture.on_unload = nullptr;
|
||||
sceSystemGesture.on_stop = nullptr;
|
||||
|
||||
//REG_FUNC(0x6078A08B, sceSystemGestureInitializePrimitiveTouchRecognizer);
|
||||
//REG_FUNC(0xFD5A6504, sceSystemGestureResetPrimitiveTouchRecognizer);
|
||||
//REG_FUNC(0xB3875104, sceSystemGestureFinalizePrimitiveTouchRecognizer);
|
||||
//REG_FUNC(0xDF4C665A, sceSystemGestureUpdatePrimitiveTouchRecognizer);
|
||||
//REG_FUNC(0xC750D3DA, sceSystemGestureGetPrimitiveTouchEvents);
|
||||
//REG_FUNC(0xBAB8ECCB, sceSystemGestureGetPrimitiveTouchEventsCount);
|
||||
//REG_FUNC(0xE0577765, sceSystemGestureGetPrimitiveTouchEventByIndex);
|
||||
//REG_FUNC(0x480564C9, sceSystemGestureGetPrimitiveTouchEventByPrimitiveID);
|
||||
//REG_FUNC(0xC3367370, sceSystemGestureCreateTouchRecognizer);
|
||||
//REG_FUNC(0xF0DB1AE5, sceSystemGestureGetTouchRecognizerInformation);
|
||||
//REG_FUNC(0x0D941B90, sceSystemGestureResetTouchRecognizer);
|
||||
//REG_FUNC(0x851FB144, sceSystemGestureUpdateTouchRecognizer);
|
||||
//REG_FUNC(0xA9DB29F6, sceSystemGestureUpdateTouchRecognizerRectangle);
|
||||
//REG_FUNC(0x789D867C, sceSystemGestureGetTouchEvents);
|
||||
//REG_FUNC(0x13AD2218, sceSystemGestureGetTouchEventsCount);
|
||||
//REG_FUNC(0x74724147, sceSystemGestureGetTouchEventByIndex);
|
||||
//REG_FUNC(0x5570B83E, sceSystemGestureGetTouchEventByEventID);
|
||||
REG_FUNC(0x6078A08B, sceSystemGestureInitializePrimitiveTouchRecognizer);
|
||||
REG_FUNC(0xFD5A6504, sceSystemGestureResetPrimitiveTouchRecognizer);
|
||||
REG_FUNC(0xB3875104, sceSystemGestureFinalizePrimitiveTouchRecognizer);
|
||||
REG_FUNC(0xDF4C665A, sceSystemGestureUpdatePrimitiveTouchRecognizer);
|
||||
REG_FUNC(0xC750D3DA, sceSystemGestureGetPrimitiveTouchEvents);
|
||||
REG_FUNC(0xBAB8ECCB, sceSystemGestureGetPrimitiveTouchEventsCount);
|
||||
REG_FUNC(0xE0577765, sceSystemGestureGetPrimitiveTouchEventByIndex);
|
||||
REG_FUNC(0x480564C9, sceSystemGestureGetPrimitiveTouchEventByPrimitiveID);
|
||||
REG_FUNC(0xC3367370, sceSystemGestureCreateTouchRecognizer);
|
||||
REG_FUNC(0xF0DB1AE5, sceSystemGestureGetTouchRecognizerInformation);
|
||||
REG_FUNC(0x0D941B90, sceSystemGestureResetTouchRecognizer);
|
||||
REG_FUNC(0x851FB144, sceSystemGestureUpdateTouchRecognizer);
|
||||
REG_FUNC(0xA9DB29F6, sceSystemGestureUpdateTouchRecognizerRectangle);
|
||||
REG_FUNC(0x789D867C, sceSystemGestureGetTouchEvents);
|
||||
REG_FUNC(0x13AD2218, sceSystemGestureGetTouchEventsCount);
|
||||
REG_FUNC(0x74724147, sceSystemGestureGetTouchEventByIndex);
|
||||
REG_FUNC(0x5570B83E, sceSystemGestureGetTouchEventByEventID);
|
||||
});
|
||||
|
|
|
@ -2,40 +2,7 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
extern psv_log_base sceTouch;
|
||||
|
||||
struct SceTouchPanelInfo
|
||||
{
|
||||
s16 minAaX;
|
||||
s16 minAaY;
|
||||
s16 maxAaX;
|
||||
s16 maxAaY;
|
||||
s16 minDispX;
|
||||
s16 minDispY;
|
||||
s16 maxDispX;
|
||||
s16 maxDispY;
|
||||
u8 minForce;
|
||||
u8 maxForce;
|
||||
u8 rsv[30];
|
||||
};
|
||||
|
||||
struct SceTouchReport
|
||||
{
|
||||
u8 id;
|
||||
u8 force;
|
||||
s16 x;
|
||||
s16 y;
|
||||
s8 rsv[8];
|
||||
u16 info;
|
||||
};
|
||||
|
||||
struct SceTouchData
|
||||
{
|
||||
u64 timeStamp;
|
||||
u32 status;
|
||||
u32 reportNum;
|
||||
SceTouchReport report[8];
|
||||
};
|
||||
#include "sceTouch.h"
|
||||
|
||||
s32 sceTouchGetPanelInfo(u32 port, vm::psv::ptr<SceTouchPanelInfo> pPanelInfo)
|
||||
{
|
||||
|
|
36
rpcs3/Emu/ARMv7/Modules/sceTouch.h
Normal file
36
rpcs3/Emu/ARMv7/Modules/sceTouch.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
#pragma once
|
||||
|
||||
struct SceTouchPanelInfo
|
||||
{
|
||||
s16 minAaX;
|
||||
s16 minAaY;
|
||||
s16 maxAaX;
|
||||
s16 maxAaY;
|
||||
s16 minDispX;
|
||||
s16 minDispY;
|
||||
s16 maxDispX;
|
||||
s16 maxDispY;
|
||||
u8 minForce;
|
||||
u8 maxForce;
|
||||
u8 rsv[30];
|
||||
};
|
||||
|
||||
struct SceTouchReport
|
||||
{
|
||||
u8 id;
|
||||
u8 force;
|
||||
s16 x;
|
||||
s16 y;
|
||||
s8 rsv[8];
|
||||
u16 info;
|
||||
};
|
||||
|
||||
struct SceTouchData
|
||||
{
|
||||
u64 timeStamp;
|
||||
u32 status;
|
||||
u32 reportNum;
|
||||
SceTouchReport report[8];
|
||||
};
|
||||
|
||||
extern psv_log_base sceTouch;
|
|
@ -174,7 +174,7 @@ s32 sceVoiceDeletePort(u32 portId)
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceVoiceWriteToIPort(u32 ips, vm::psv::ptr<const void> data, vm::psv::ptr<u32> size, int16_t frameGaps)
|
||||
s32 sceVoiceWriteToIPort(u32 ips, vm::psv::ptr<const void> data, vm::psv::ptr<u32> size, s16 frameGaps)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
|
@ -108,6 +108,8 @@ namespace vm
|
|||
AT m_addr;
|
||||
|
||||
public:
|
||||
static_assert(!std::is_pointer<T>::value, "vm::_ptr_base<> error: invalid type (pointer)");
|
||||
static_assert(!std::is_reference<T>::value, "vm::_ptr_base<> error: invalid type (reference)");
|
||||
typedef typename std::remove_cv<T>::type type;
|
||||
|
||||
__forceinline static const u32 data_size()
|
||||
|
|
|
@ -1957,7 +1957,7 @@ struct SceNpScoreClanRankData
|
|||
CellRtcTick recordDate;
|
||||
SceNpId npId;
|
||||
SceNpOnlineName onlineName;
|
||||
uint8_t reserved[32];
|
||||
u8 reserved[32];
|
||||
};
|
||||
|
||||
// Clan ranking information to be obtained for a specified clan ID
|
||||
|
|
|
@ -109,7 +109,7 @@ enum
|
|||
|
||||
// Request handle for clan API
|
||||
struct SceNpClansRequest;
|
||||
typedef SceNpClansRequest* SceNpClansRequestHandle;
|
||||
typedef vm::ptr<SceNpClansRequest> SceNpClansRequestHandle;
|
||||
|
||||
// Paging request structure
|
||||
struct SceNpClansPagingRequest
|
||||
|
|
|
@ -341,6 +341,7 @@
|
|||
<ClInclude Include="Emu\ARMv7\Modules\sceLibKernel.h" />
|
||||
<ClInclude Include="Emu\ARMv7\Modules\sceNet.h" />
|
||||
<ClInclude Include="Emu\ARMv7\Modules\sceSsl.h" />
|
||||
<ClInclude Include="Emu\ARMv7\Modules\sceTouch.h" />
|
||||
<ClInclude Include="Emu\ARMv7\PSVFuncList.h" />
|
||||
<ClInclude Include="Emu\ARMv7\PSVObjectList.h" />
|
||||
<ClInclude Include="Emu\Audio\AL\OpenALThread.h" />
|
||||
|
|
|
@ -1498,5 +1498,8 @@
|
|||
<ClInclude Include="Emu\ARMv7\Modules\sceSsl.h">
|
||||
<Filter>Emu\CPU\ARMv7\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\ARMv7\Modules\sceTouch.h">
|
||||
<Filter>Emu\CPU\ARMv7\Modules</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue