Skip to content

Commit

Permalink
Fix usb.c building on non USB builds
Browse files Browse the repository at this point in the history
  • Loading branch information
FazanaJ committed Jun 1, 2023
1 parent ce97bf0 commit f08f7a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/usb/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ using UNFLoader.
https://github.com/buu342/N64-UNFLoader
***************************************************************/

#ifdef ENABLE_USB

#include "usb.h"
#ifndef LIBDRAGON
#include <ultra64.h>
Expand Down Expand Up @@ -1472,4 +1474,6 @@ static void usb_sc64_read(void)
{
// Set up DMA transfer between RDRAM and the PI
usb_dma_read(usb_buffer, SC64_BASE + DEBUG_ADDRESS + usb_readblock, BUFFER_SIZE);
}
}

#endif

0 comments on commit f08f7a3

Please sign in to comment.