Skip to content

Commit

Permalink
Even more fixes from rebase issues with libusbemu.
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Machulis <[email protected]>
  • Loading branch information
qdot committed Dec 26, 2010
1 parent 735b1d1 commit de14baf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/windows/libusb10emu/libusb-1.0/libusbemu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ static QuickEvent hAbort;

int libusb_handle_events(libusb_context* ctx)
{
int ret = 0;
ctx->mutex.Enter();
ctx->processing.Signal();

Expand Down Expand Up @@ -428,7 +429,7 @@ int libusb_handle_events(libusb_context* ctx)
ctx->mutex.Leave();

// 0 on success, or a LIBUSB_ERROR code on failure
return(0);
return(ret);
}

enum EReapResult { ETIMEOUT = -116, ECANCELLED = -998 };
Expand Down

0 comments on commit de14baf

Please sign in to comment.