mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
Clang
This commit is contained in:
parent
eed81bebcb
commit
7704433c7d
@ -185,9 +185,11 @@ void VideoOutDriver::Flip(const Request& req) {
|
||||
// Trigger flip events for the port.
|
||||
for (auto& event : port->flip_events) {
|
||||
if (event != nullptr) {
|
||||
event->TriggerEvent(static_cast<u64>(OrbisVideoOutInternalEventId::Flip),
|
||||
Kernel::SceKernelEvent::Filter::VideoOut,
|
||||
reinterpret_cast<void*>(static_cast<u64>(OrbisVideoOutInternalEventId::Flip) | (req.flip_arg << 16)));
|
||||
event->TriggerEvent(
|
||||
static_cast<u64>(OrbisVideoOutInternalEventId::Flip),
|
||||
Kernel::SceKernelEvent::Filter::VideoOut,
|
||||
reinterpret_cast<void*>(static_cast<u64>(OrbisVideoOutInternalEventId::Flip) |
|
||||
(req.flip_arg << 16)));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,8 @@ int PS4_SYSV_ABI sceVideoOutGetEventId(const Kernel::SceKernelEvent* ev) {
|
||||
return ORBIS_VIDEO_OUT_ERROR_INVALID_EVENT;
|
||||
}
|
||||
|
||||
OrbisVideoOutInternalEventId internal_event_id = static_cast<OrbisVideoOutInternalEventId>(ev->ident);
|
||||
OrbisVideoOutInternalEventId internal_event_id =
|
||||
static_cast<OrbisVideoOutInternalEventId>(ev->ident);
|
||||
switch (internal_event_id) {
|
||||
case OrbisVideoOutInternalEventId::Flip:
|
||||
return static_cast<s32>(OrbisVideoOutEventId::Flip);
|
||||
|
Loading…
Reference in New Issue
Block a user