Skip to content

Commit 55fccf0

Browse files
Florin9doiMegamouse
authored andcommitted
USB: Update GameTablet
1 parent d3f9ae4 commit 55fccf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpcs3/Emu/Io/GameTablet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ extern bool is_input_allowed();
160160

161161
void usb_device_gametablet::interrupt_transfer(u32 buf_size, u8* buf, u32 /*endpoint*/, UsbTransfer* transfer)
162162
{
163-
ensure(buf_size > 0x1a);
163+
ensure(buf_size >= sizeof(GameTablet_data));
164164

165165
transfer->fake = true;
166166
transfer->expected_count = 27;

0 commit comments

Comments
 (0)