Correct debug lib

This commit is contained in:
Dimitri (_) 2018-04-04 18:30:02 +02:00 committed by endrift
parent 21d808d0e2
commit 045417b509
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#define REG_DEBUG_FLAGS (vu16*) 0x4FFF700
#define REG_DEBUG_STRING (char*) 0x4FFF600
ssize_t mgba_stdout_write(struct _reent* r __attribute__((unused)), int fd __attribute__((unused)), const char* ptr, size_t len) {
ssize_t mgba_stdout_write(struct _reent* r __attribute__((unused)), void* fd __attribute__((unused)), const char* ptr, size_t len) {
if (len > 0x100) {
len = 0x100;
}
@ -41,7 +41,7 @@ ssize_t mgba_stdout_write(struct _reent* r __attribute__((unused)), int fd __att
return len;
}
ssize_t mgba_stderr_write(struct _reent* r __attribute__((unused)), int fd __attribute__((unused)), const char* ptr, size_t len) {
ssize_t mgba_stderr_write(struct _reent* r __attribute__((unused)), void* fd __attribute__((unused)), const char* ptr, size_t len) {
if (len > 0x100) {
len = 0x100;
}