video_out: `sceVideoOutSubmitEopFlip` stub added
This commit is contained in:
parent
4746f514ff
commit
c7cfe2622d
|
@ -216,6 +216,17 @@ void sceVideoOutGetBufferLabelAddress(s32 handle, uintptr_t* label_addr) {
|
||||||
*label_addr = reinterpret_cast<uintptr_t>(port->buffer_labels.data());
|
*label_addr = reinterpret_cast<uintptr_t>(port->buffer_labels.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s32 sceVideoOutSubmitEopFlip(s32 handle, u32 buf_id, u32 mode, u32 arg, void* unk) {
|
||||||
|
auto* port = driver->GetPort(handle);
|
||||||
|
if (!port) {
|
||||||
|
return 0x8029000b;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
return ORBIS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
void RegisterLib(Core::Loader::SymbolsResolver* sym) {
|
void RegisterLib(Core::Loader::SymbolsResolver* sym) {
|
||||||
driver = std::make_unique<VideoOutDriver>(Config::getScreenWidth(), Config::getScreenHeight());
|
driver = std::make_unique<VideoOutDriver>(Config::getScreenWidth(), Config::getScreenHeight());
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,9 @@ s32 PS4_SYSV_ABI sceVideoOutClose(s32 handle);
|
||||||
void Flip(std::chrono::microseconds micros);
|
void Flip(std::chrono::microseconds micros);
|
||||||
void Vblank();
|
void Vblank();
|
||||||
|
|
||||||
|
// Internal system functions
|
||||||
void sceVideoOutGetBufferLabelAddress(s32 handle, uintptr_t* label_addr);
|
void sceVideoOutGetBufferLabelAddress(s32 handle, uintptr_t* label_addr);
|
||||||
|
s32 sceVideoOutSubmitEopFlip(s32 handle, u32 buf_id, u32 mode, u32 arg, void* unk);
|
||||||
|
|
||||||
void RegisterLib(Core::Loader::SymbolsResolver* sym);
|
void RegisterLib(Core::Loader::SymbolsResolver* sym);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue