added atexit() HLE function , sceVideoOutOpen appears to get invalid parameters

This commit is contained in:
georgemoralis 2023-07-20 17:53:51 +03:00
parent 1474e9d87d
commit d8140ca016
3 changed files with 29 additions and 6 deletions

View file

@ -29,7 +29,26 @@ namespace HLE::Libs::LibSceVideoOut {
int32_t sceVideoOutGetResolutionStatus(int32_t handle /*, SceVideoOutResolutionStatus* status*/)
{ return 0;
}
int32_t sceVideoOutOpen(/* SceUserServiceUserId userId,*/ int32_t busType, int32_t index, const void* param) { return 0;
int32_t sceVideoOutOpen(SceUserServiceUserId userId, int32_t busType, int32_t index, const void* param)
{
if (busType != 0)
{
__debugbreak();
}
if (index != 0)
{
__debugbreak();
}
if (param != nullptr)
{
__debugbreak();
}
for (;;) {
printf("videoopen\n");
}
return 0;
}
int32_t sceVideoOutIsFlipPending(int32_t handle) { return 0;
}