arcade: trigger nvram save from core.

This commit is contained in:
sorgelig
2021-08-07 20:01:26 +08:00
parent ee48a2460b
commit 126f34fcd2
2 changed files with 2 additions and 0 deletions

View File

@@ -3176,6 +3176,7 @@ void user_io_poll()
if (is_megacd()) mcd_poll();
if (is_pce()) pcecd_poll();
if (is_arcade() && spi_uio_cmd(UIO_CHK_UPLOAD)) arcade_nvm_save();
process_ss(0);
}

View File

@@ -67,6 +67,7 @@
#define UIO_SET_AFILTER 0x39
#define UIO_SET_AR_CUST 0x3A
#define UIO_SET_UART 0x3B
#define UIO_CHK_UPLOAD 0x3C
// codes as used by 8bit for file loading from OSD
#define FIO_FILE_TX 0x53