mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
Removed VIGEM_INVERTED_CALL_THREAD_COUNT macro
This commit is contained in:
@@ -9,12 +9,11 @@
|
||||
#include "ViGEm/Client.h"
|
||||
#include "Internal.h"
|
||||
|
||||
#define VIGEM_INVERTED_CALL_THREAD_COUNT 20
|
||||
|
||||
|
||||
class NotificationRequestPool
|
||||
{
|
||||
HANDLE wait_handles_[VIGEM_INVERTED_CALL_THREAD_COUNT]{};
|
||||
static const int thread_count = 20;
|
||||
HANDLE wait_handles_[thread_count]{};
|
||||
|
||||
PVIGEM_CLIENT client_;
|
||||
PVIGEM_TARGET target_;
|
||||
|
||||
@@ -531,7 +531,7 @@ VIGEM_ERROR vigem_target_ds4_register_notification(
|
||||
|
||||
std::vector<std::thread> threadList;
|
||||
|
||||
for (int i = 0; i < VIGEM_INVERTED_CALL_THREAD_COUNT; i++)
|
||||
for (int i = 0; i < 20 /* TODO: legacy, remove */; i++)
|
||||
{
|
||||
threadList.emplace_back(std::thread([](
|
||||
PVIGEM_TARGET _Target,
|
||||
|
||||
Reference in New Issue
Block a user