Skip to content

Commit

Permalink
Increase delay for GHL and TT int transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom authored and Megamouse committed Mar 29, 2023
1 parent a8ada49 commit 8408d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rpcs3/Emu/Io/GHLtar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ void usb_device_ghltar::interrupt_transfer(u32 buf_size, u8* buf, u32 /*endpoint
transfer->expected_count = buf_size;
transfer->expected_result = HC_CC_NOERR;
// Interrupt transfers are slow(6ms, TODO accurate measurement)
// But make the emulated guitar go as fast as possible for better input behavior
transfer->expected_time = get_timestamp();
// But make the emulated guitar reply in 1ms for better input behavior
transfer->expected_time = get_timestamp() + 1'000;

memset(buf, 0, buf_size);

Expand Down
4 changes: 2 additions & 2 deletions rpcs3/Emu/Io/Turntable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ void usb_device_turntable::interrupt_transfer(u32 buf_size, u8* buf, u32 /*endpo
transfer->expected_count = buf_size;
transfer->expected_result = HC_CC_NOERR;
// Turntable runs at 100hz --> 10ms
// But make the emulated table go as fast as possible for better input behavior
transfer->expected_time = get_timestamp();
// But make the emulated table go at 1ms for better input behavior
transfer->expected_time = get_timestamp() + 1'000;

memset(buf, 0, buf_size);

Expand Down

0 comments on commit 8408d51

Please sign in to comment.