1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

[stage2] Unstub rawmmcdev_write

This commit is contained in:
TuxSH 2018-05-09 20:52:21 +02:00
parent ff2472385f
commit 4217d7feef

View file

@ -206,12 +206,6 @@ static int rawmmcdev_close(struct _reent *r, void *fd) {
}
static ssize_t rawmmcdev_write(struct _reent *r, void *fd, const char *ptr, size_t len) {
(void)fd;
(void)ptr;
(void)len;
r->_errno = ENOSYS;
return -1;
#if 0 /* sdmmc_write not implemented */
static __attribute__((aligned(16))) uint8_t crypt_buf[4096] = {0};
rawmmcdev_file_t *f = (rawmmcdev_file_t *)fd;
@ -325,7 +319,6 @@ static ssize_t rawmmcdev_write(struct _reent *r, void *fd, const char *ptr, size
f->offset += len;
return len;
#endif
}
static ssize_t rawmmcdev_read(struct _reent *r, void *fd, char *ptr, size_t len) {