int YMZ280BScan() { SCAN_VAR(nYMZ280BStatus); SCAN_VAR(nYMZ280BRegister); SCAN_VAR(bYMZ280BEnable); SCAN_VAR(bYMZ280BIRQEnable); SCAN_VAR(nYMZ280BIRQMask); SCAN_VAR(nYMZ280BIRQStatus); for (int j = 0; j < 8; j++) { SCAN_VAR(YMZ280BChannelInfo[j]); YMZ280BSetSampleSize(j); } return 0; }
INT32 YMZ280BScan() { #if defined FBA_DEBUG if (!DebugSnd_YMZ280BInitted) bprintf(PRINT_ERROR, _T("YMZ280BScan called without init\n")); #endif SCAN_VAR(nYMZ280BStatus); SCAN_VAR(nYMZ280BRegister); SCAN_VAR(bYMZ280BEnable); SCAN_VAR(bYMZ280BIRQEnable); SCAN_VAR(nYMZ280BIRQMask); SCAN_VAR(nYMZ280BIRQStatus); SCAN_VAR(nRamReadAddress); for (INT32 j = 0; j < 8; j++) { SCAN_VAR(YMZ280BChannelInfo[j]); YMZ280BSetSampleSize(j); } return 0; }