Skip to content

Commit

Permalink
Remove unneeded __dummy_mapper.c
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 18, 2023
1 parent 4c90e6a commit 5e6d10b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 123 deletions.
95 changes: 0 additions & 95 deletions src/mappers/__dummy_mapper.c

This file was deleted.

35 changes: 7 additions & 28 deletions src/mappers/__serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,33 +119,12 @@ int ReadResp(uint8 *resp, int size) {
return sum;
}
#else

/* code is not portable, so make stubs for now */

BOOL SerialOpen(int port, int baud) {
return FALSE;
}

void SerialClose(void) {
}

BOOL SerialSendChar(int c) {
return FALSE;
}

int SerialIsOpen(void) {
return FALSE;
}

int SerialGetChar(void) {
return EOF;
}

void SendCmd(uint8 *cmd, int size) {
}

int ReadResp(uint8 *resp, int size) {
return 0;
}

BOOL SerialOpen(int port, int baud) { return FALSE; }
void SerialClose(void) { }
BOOL SerialSendChar(int c) { return FALSE; }
int SerialIsOpen(void) { return 0; }
int SerialGetChar(void) { return EOF; }
void SendCmd(uint8 *cmd, int size) { }
int ReadResp(uint8 *resp, int size) { return 0; }
#endif

0 comments on commit 5e6d10b

Please sign in to comment.