Skip to content

Commit

Permalink
gnmdriver: remove redundant EqEventType assert (#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenkai authored Dec 29, 2024
1 parent 38f1cc2 commit ac2e8c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/libraries/gnmdriver/gnmdriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,7 @@ int PS4_SYSV_ABI sceGnmGetDebugTimestamp() {

int PS4_SYSV_ABI sceGnmGetEqEventType(const SceKernelEvent* ev) {
LOG_TRACE(Lib_GnmDriver, "called");

auto data = sceKernelGetEventData(ev);
ASSERT(static_cast<GnmEventType>(data) == GnmEventType::GfxEop);

return data;
return sceKernelGetEventData(ev);
}

int PS4_SYSV_ABI sceGnmGetEqTimeStamp() {
Expand Down

0 comments on commit ac2e8c2

Please sign in to comment.