mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 02:45:00 +00:00
added atexit() HLE function , sceVideoOutOpen appears to get invalid parameters
This commit is contained in:
parent
1474e9d87d
commit
d8140ca016
3 changed files with 29 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue