user_io: extend ioctl_* functionality.
This commit is contained in:
@@ -131,7 +131,7 @@ void cheats_init(const char *rom_path, uint32_t romcrc)
|
||||
// reset cheats
|
||||
user_io_set_index(255);
|
||||
user_io_set_download(1);
|
||||
user_io_file_tx_write((const uint8_t*)&loaded, 2);
|
||||
user_io_file_tx_data((const uint8_t*)&loaded, 2);
|
||||
user_io_set_download(0);
|
||||
|
||||
if (!strcasestr(rom_path, ".zip"))
|
||||
@@ -399,7 +399,7 @@ static void cheats_send()
|
||||
user_io_set_index(255);
|
||||
|
||||
user_io_set_download(1);
|
||||
user_io_file_tx_write(buff, pos ? pos : 2);
|
||||
user_io_file_tx_data(buff, pos ? pos : 2);
|
||||
user_io_set_download(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user