mirror of
https://github.com/libretro/mgba.git
synced 2024-11-22 23:49:51 +00:00
Correct debug lib
This commit is contained in:
parent
21d808d0e2
commit
045417b509
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user