@@ -144,10 +144,10 @@ struct SystemBus_impl : SystemBus {
144144 RegisterRIO (this , SB_LMMODE1_addr, RIO_DATA);
145145
146146 // 0x005F688C SB_FFST R FIFO status
147- RegisterRIO (this , SB_FFST_addr, RIO_RO_FUNC, STATIC_FORWARD (SystemBus_impl, SB_FFST_read));
147+ RegisterRIO (this , SB_FFST_addr, RIO_RO_FUNC, STATIC_FORWARD (SB_FFST_read));
148148
149149 // 0x005F6890 SB_SFRES W System reset
150- RegisterRIO (this , SB_SFRES_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, SB_SFRES_write32));
150+ RegisterRIO (this , SB_SFRES_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SB_SFRES_write32));
151151
152152 // 0x005F689C SB_SBREV R System bus revision number
153153 RegisterRIO (this , SB_SBREV_addr, RIO_CONST);
@@ -227,10 +227,10 @@ struct SystemBus_impl : SystemBus {
227227 RegisterRIO (this , SB_MST_addr, RIO_RO);
228228
229229 // 0x005F6C88 SB_MSHTCL W Maple-DMA hard trigger clear
230- RegisterRIO (this , SB_MSHTCL_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_MSHTCL_addr>));
230+ RegisterRIO (this , SB_MSHTCL_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_MSHTCL_addr>));
231231
232232 // 0x005F6C8C SB_MDAPRO W Maple-DMA address range
233- RegisterRIO (this , SB_MDAPRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_MDAPRO_addr>));
233+ RegisterRIO (this , SB_MDAPRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_MDAPRO_addr>));
234234
235235
236236 // 0x005F6CE8 SB_MMSEL RW Maple MSB selection
@@ -264,39 +264,39 @@ struct SystemBus_impl : SystemBus {
264264
265265
266266 // 0x005F7480 SB_G1RRC W System ROM read access timing
267- RegisterRIO (this , SB_G1RRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1RRC_addr>));
267+ RegisterRIO (this , SB_G1RRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1RRC_addr>));
268268
269269 // 0x005F7484 SB_G1RWC W System ROM write access timing
270- RegisterRIO (this , SB_G1RWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1RWC_addr>));
270+ RegisterRIO (this , SB_G1RWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1RWC_addr>));
271271
272272 // 0x005F7488 SB_G1FRC W Flash ROM read access timing
273- RegisterRIO (this , SB_G1FRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1FRC_addr>));
273+ RegisterRIO (this , SB_G1FRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1FRC_addr>));
274274
275275 // 0x005F748C SB_G1FWC W Flash ROM write access timing
276- RegisterRIO (this , SB_G1FWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1FWC_addr>));
276+ RegisterRIO (this , SB_G1FWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1FWC_addr>));
277277
278278 // 0x005F7490 SB_G1CRC W GD PIO read access timing
279- RegisterRIO (this , SB_G1CRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1CRC_addr>));
279+ RegisterRIO (this , SB_G1CRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1CRC_addr>));
280280
281281 // 0x005F7494 SB_G1CWC W GD PIO write access timing
282- RegisterRIO (this , SB_G1CWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1CWC_addr>));
282+ RegisterRIO (this , SB_G1CWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1CWC_addr>));
283283
284284
285285 // 0x005F74A0 SB_G1GDRC W GD-DMA read access timing
286- RegisterRIO (this , SB_G1GDRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1GDRC_addr>));
286+ RegisterRIO (this , SB_G1GDRC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1GDRC_addr>));
287287
288288 // 0x005F74A4 SB_G1GDWC W GD-DMA write access timing
289- RegisterRIO (this , SB_G1GDWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1GDWC_addr>));
289+ RegisterRIO (this , SB_G1GDWC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1GDWC_addr>));
290290
291291
292292 // 0x005F74B0 SB_G1SYSM R System mode
293293 RegisterRIO (this , SB_G1SYSM_addr, RIO_RO);
294294
295295 // 0x005F74B4 SB_G1CRDYC W G1IORDY signal control
296- RegisterRIO (this , SB_G1CRDYC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G1CRDYC_addr>));
296+ RegisterRIO (this , SB_G1CRDYC_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G1CRDYC_addr>));
297297
298298 // 0x005F74B8 SB_GDAPRO W GD-DMA address range
299- RegisterRIO (this , SB_GDAPRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_GDAPRO_addr>));
299+ RegisterRIO (this , SB_GDAPRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_GDAPRO_addr>));
300300
301301
302302 // 0x005F74F4 SB_GDSTARD R GD-DMA address count (on Root Bus)
@@ -425,7 +425,7 @@ struct SystemBus_impl : SystemBus {
425425
426426
427427 // 0x005F78BC SB_G2APRO W G2-DMA address range
428- RegisterRIO (this , SB_G2APRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_G2APRO_addr>));
428+ RegisterRIO (this , SB_G2APRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_G2APRO_addr>));
429429
430430
431431 // 0x005F78C0 SB_ADSTAGD R AICA-DMA address counter (on AICA)
@@ -491,7 +491,7 @@ struct SystemBus_impl : SystemBus {
491491
492492
493493 // 0x005F7C80 SB_PDAPRO W PVR-DMA address range
494- RegisterRIO (this , SB_PDAPRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_writeonly<SB_PDAPRO_addr>));
494+ RegisterRIO (this , SB_PDAPRO_addr, RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_writeonly<SB_PDAPRO_addr>));
495495
496496
497497 // 0x005F7CF0 SB_PDSTAPD R PVR-DMA address counter (on Ext)
@@ -505,18 +505,18 @@ struct SystemBus_impl : SystemBus {
505505
506506 // GDROM unlock register (bios checksumming, etc)
507507 // 0x005f74e4
508- RegisterRIO (this , 0x005f74e4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_gdrom_unlock));
508+ RegisterRIO (this , 0x005f74e4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_gdrom_unlock));
509509
510510 // 0x005f68a4, 0x005f68ac, 0x005f78a0,0x005f78a4, 0x005f78a8, 0x005f78b0, 0x005f78b4, 0x005f78b8
511- RegisterRIO (this , 0x005f68a4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
512- RegisterRIO (this , 0x005f68ac , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
513- RegisterRIO (this , 0x005f78a0 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
514- RegisterRIO (this , 0x005f78a4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
515- RegisterRIO (this , 0x005f78a8 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
516- RegisterRIO (this , 0x005f78ac , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
517- RegisterRIO (this , 0x005f78b0 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
518- RegisterRIO (this , 0x005f78b4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
519- RegisterRIO (this , 0x005f78b8 , RIO_WO_FUNC, 0 , STATIC_FORWARD (SystemBus_impl, sbio_write_zero));
511+ RegisterRIO (this , 0x005f68a4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
512+ RegisterRIO (this , 0x005f68ac , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
513+ RegisterRIO (this , 0x005f78a0 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
514+ RegisterRIO (this , 0x005f78a4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
515+ RegisterRIO (this , 0x005f78a8 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
516+ RegisterRIO (this , 0x005f78ac , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
517+ RegisterRIO (this , 0x005f78b0 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
518+ RegisterRIO (this , 0x005f78b4 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
519+ RegisterRIO (this , 0x005f78b8 , RIO_WO_FUNC, 0 , STATIC_FORWARD (sbio_write_zero));
520520 }
521521
522522 bool Init () {
@@ -654,12 +654,12 @@ struct SystemBus_impl : SystemBus {
654654
655655 if (flags == RIO_NO_ACCESS)
656656 {
657- sb_regs[idx].readFunctionAddr = STATIC_FORWARD (SystemBus_impl, sbio_read_noacc);
658- sb_regs[idx].writeFunctionAddr = STATIC_FORWARD (SystemBus_impl, sbio_write_noacc);
657+ sb_regs[idx].readFunctionAddr = STATIC_FORWARD (sbio_read_noacc);
658+ sb_regs[idx].writeFunctionAddr = STATIC_FORWARD (sbio_write_noacc);
659659 }
660660 else if (flags == RIO_CONST)
661661 {
662- sb_regs[idx].writeFunctionAddr = STATIC_FORWARD (SystemBus_impl, sbio_write_const);
662+ sb_regs[idx].writeFunctionAddr = STATIC_FORWARD (sbio_write_const);
663663 }
664664 else
665665 {
@@ -669,7 +669,7 @@ struct SystemBus_impl : SystemBus {
669669 sb_regs[idx].readFunctionAddr = rf;
670670
671671 if (flags & REG_WF)
672- sb_regs[idx].writeFunctionAddr = wf == 0 ? STATIC_FORWARD (SystemBus_impl, sbio_write_noacc) : wf;
672+ sb_regs[idx].writeFunctionAddr = wf == 0 ? STATIC_FORWARD (sbio_write_noacc) : wf;
673673 }
674674 }
675675};
0 commit comments