mitaclaw
|
809766a439
|
Simplify std::fill with std::array::fill
|
2024-10-09 17:26:10 -07:00 |
|
mitaclaw
|
eb92d6f0a8
|
Core::GetState: Avoid Global System Accessor
|
2024-04-08 16:23:23 -07:00 |
|
Jordan Woyak
|
719d76ab2e
|
GCAdapter: Adjust libusb transfer timeout to 100ms.
|
2024-03-20 18:02:06 -05:00 |
|
Admiral H. Curtiss
|
07c035e659
|
Core/SystemTimers: Refactor to class, move to System.
|
2024-01-04 23:35:19 +01:00 |
|
JosJuice
|
7197e3abd0
|
Use structs for config callback IDs
This way you can't mix up regular config callback IDs and CPU thread
config callback IDs. (It would be rather bad if you did!)
|
2023-08-17 19:19:26 +02:00 |
|
Dentomologist
|
274b11e4e9
|
GCAdapter: Fix Android unused constant warning
CONTROLLER_OUTPUT_INIT_PAYLOAD_SIZE is only used by the libusb
implementation.
|
2023-08-12 20:20:42 -07:00 |
|
Dentomologist
|
77d33d61de
|
GCAdapter: Fix spelling of constants
|
2023-08-12 20:20:41 -07:00 |
|
nyanpasu64
|
5d0f1bd10b
|
Switch libusb_config_descriptor to RAII type
|
2023-07-05 20:38:22 -07:00 |
|
nyanpasu64
|
c893ccca58
|
Workaround GC adapter detection breaking when reset fails
|
2023-07-05 20:38:22 -07:00 |
|
nyanpasu64
|
559a16da49
|
Reset GC adapter upon IO error after sleep-wake
Fixes GC adapter breaking on sleep-wake on Linux and burning a full CPU
core. This is cleaner than alternative approaches.
|
2023-07-05 20:38:22 -07:00 |
|
nyanpasu64
|
afb5eff426
|
Don't burn a CPU core and spam logs when GC Adapter fails
|
2023-07-05 20:38:22 -07:00 |
|
nyanpasu64
|
54850e936c
|
Fix memory leak in libusb code
|
2023-07-05 20:38:22 -07:00 |
|
Pokechu22
|
49a84cbc4c
|
Resolve various "no previous declaration" warnings
|
2023-02-09 16:23:01 -08:00 |
|
Admiral H. Curtiss
|
c9558ecb4c
|
CoreTiming: Refactor to class.
|
2022-11-27 03:47:12 +01:00 |
|
Jordan Woyak
|
5ed0543430
|
GCAdapter: Process pad state in read thread and other general cleanups.
|
2022-10-22 00:38:59 -05:00 |
|
Pokechu22
|
27772e01d9
|
GCAdapter: Compare with LIBUSB_SUCCESS instead of 0
|
2022-06-08 15:30:22 -07:00 |
|
Pokechu22
|
15cbb5c8f9
|
Log warnings when LibusbUtils::GetDeviceList fails
|
2022-06-08 15:29:11 -07:00 |
|
Pokechu22
|
6823b4d7a0
|
GCAdapter: Use LibusbUtils::ErrorWrap in log messages
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
0d8772ccbe
|
GCAdapter: Make local variables const where possible
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
cd9edeacda
|
GCAdapter: Merge Read logic
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
9ec65baf46
|
GCAdapter: Have the read thread control the write thread
This was done for Android in 6cc40b1235.
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
0fa92694d1
|
GCAdapter: Exit early if the adapter fails to open on Android
This is only so that indentation is consistent with the non-android code.
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
749a4ad1ef
|
GCAdapter: Remove check on write size on android
It was removed for non-android in 56239d1ae1, and android already uses a separate thread, so presumably this isn't needed anymore.
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
27947046af
|
GCAdapter: Harmonize read/write thread variable names
|
2022-06-02 19:39:36 -07:00 |
|
Pokechu22
|
279888da8c
|
GCAdapter: Remove unused includes
|
2022-06-02 19:39:36 -07:00 |
|