saturn: fix warning.

This commit is contained in:
Sorgelig
2022-11-11 18:24:16 +08:00
parent 598e3d755f
commit babb0c8bdf

View File

@@ -54,7 +54,7 @@ void saturn_poll()
if (req != last_req)
{
last_req = req;
for (int i = 0; i < 6; i++) data_in[i] = spi_w(0);
DisableIO();
@@ -89,6 +89,7 @@ void saturn_poll()
static char buf[1024];
static void saturn_mount_save(const char *filename)
{
(void)filename;
/*user_io_set_index(SAVE_IO_INDEX);
user_io_set_download(1);
if (strlen(filename))
@@ -118,8 +119,8 @@ static int saturn_load_rom(const char *basename, const char *name, int sub_index
}
void saturn_set_image(int num, const char *filename)
{
static char last_dir[1024] = {};
static char last_dir[1024] = {};
(void)num;
satcdd.Unload();