mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Cleanup: unused imports
This commit is contained in:
parent
58e4d49bb5
commit
08cd8e0cb1
1 changed files with 2 additions and 4 deletions
|
@ -24,8 +24,6 @@
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
DYNAMIC_IMPORT("ntdll.dll", NtQueryTimerResolution, NTSTATUS(PULONG MinimumResolution, PULONG MaximumResolution, PULONG CurrentResolution));
|
|
||||||
DYNAMIC_IMPORT("ntdll.dll", NtSetTimerResolution, NTSTATUS(ULONG DesiredResolution, BOOLEAN SetResolution, PULONG CurrentResolution));
|
|
||||||
DYNAMIC_IMPORT("ntdll.dll", NtWaitForKeyedEvent, NTSTATUS(HANDLE Handle, PVOID Key, BOOLEAN Alertable, PLARGE_INTEGER Timeout));
|
DYNAMIC_IMPORT("ntdll.dll", NtWaitForKeyedEvent, NTSTATUS(HANDLE Handle, PVOID Key, BOOLEAN Alertable, PLARGE_INTEGER Timeout));
|
||||||
DYNAMIC_IMPORT("ntdll.dll", NtReleaseKeyedEvent, NTSTATUS(HANDLE Handle, PVOID Key, BOOLEAN Alertable, PLARGE_INTEGER Timeout));
|
DYNAMIC_IMPORT("ntdll.dll", NtReleaseKeyedEvent, NTSTATUS(HANDLE Handle, PVOID Key, BOOLEAN Alertable, PLARGE_INTEGER Timeout));
|
||||||
DYNAMIC_IMPORT("ntdll.dll", NtDelayExecution, NTSTATUS(BOOLEAN Alertable, PLARGE_INTEGER DelayInterval));
|
DYNAMIC_IMPORT("ntdll.dll", NtDelayExecution, NTSTATUS(BOOLEAN Alertable, PLARGE_INTEGER DelayInterval));
|
||||||
|
@ -108,7 +106,7 @@ inline int futex(int* uaddr, int futex_op, int val, const timespec* timeout, int
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
map.erase(std::find(map.find(uaddr), map.end(), ref));
|
map.erase(std::find(map.find(uaddr), map.end(), ref));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -125,7 +123,7 @@ inline int futex(int* uaddr, int futex_op, int val, const timespec* timeout, int
|
||||||
for (auto range = map.equal_range(uaddr); val && range.first != range.second; range.first++)
|
for (auto range = map.equal_range(uaddr); val && range.first != range.second; range.first++)
|
||||||
{
|
{
|
||||||
auto& entry = *range.first->second;
|
auto& entry = *range.first->second;
|
||||||
|
|
||||||
if (entry.mask & val3)
|
if (entry.mask & val3)
|
||||||
{
|
{
|
||||||
entry.cv.notify_one();
|
entry.cv.notify_one();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue