user_io: extend ioctl_* functionality.
This commit is contained in:
@@ -183,7 +183,7 @@ static int load_bios(char *biosname, const char *cuename)
|
||||
if (!memcmp(buf + i, "ALL DATA", 8)) us_cart = 1;
|
||||
}
|
||||
}
|
||||
user_io_file_tx_write((uint8_t*)buf, chunk);
|
||||
user_io_file_tx_data((uint8_t*)buf, chunk);
|
||||
}
|
||||
|
||||
FileGenerateSavePath(cuename, buf);
|
||||
@@ -248,7 +248,7 @@ void pcecd_set_image(int num, const char *filename)
|
||||
int pcecd_send_data(uint8_t* buf, int len, uint8_t index) {
|
||||
user_io_set_index(index);
|
||||
user_io_set_download(1);
|
||||
user_io_file_tx_write(buf, len);
|
||||
user_io_file_tx_data(buf, len);
|
||||
user_io_set_download(0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user