[hatari-devel] Patch for bits |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
I don’t think this patch is a good solution. It just makes things complicated. Would’t it be easier to just rename the bits variable in scc.c? For example: static void SCC_Update_RR0_Clear ( int Channel , int clear_bits ) { SCC.Chn[ Channel ].RR0_No_Latch &= ~clear_bits; } static void SCC_Update_RR0_Set ( int Channel , int set_bits ) { SCC.Chn[ Channel ].RR0_No_Latch |= set_bits; } |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |