diff options
author | 2015-08-15 17:55:59 +0200 | |
---|---|---|
committer | 2015-08-15 17:56:10 +0200 | |
commit | fe8e6aca657f202daf91ad83cc1427296b50615e (patch) | |
tree | a516d55f859b90bc1ebef65be61ff10cf7040dfa /src/emu/cpu | |
parent | 55592b6c785b36a9684800e0ccc7111603f958ed (diff) |
Added seconds() and attoseconds() to attotime and prefixed members with
m_. Rewrote code accessing members to use seconds() and attoseconds().
The changes were triggered by a test how gcc __int128_t would perform as
the internal representation. This test revealed that the current
implementation is still faster. (nw)
Diffstat (limited to 'src/emu/cpu')
-rw-r--r-- | src/emu/cpu/powerpc/ppccom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/powerpc/ppccom.c b/src/emu/cpu/powerpc/ppccom.c index 6f91b4a96e8..a98872029ec 100644 --- a/src/emu/cpu/powerpc/ppccom.c +++ b/src/emu/cpu/powerpc/ppccom.c @@ -2650,7 +2650,7 @@ void ppc_device::ppc4xx_spu_timer_reset() attotime charperiod = clockperiod * (divisor * 16 * bpc); m_spu.timer->adjust(charperiod, 0, charperiod); if (PRINTF_SPU) - printf("ppc4xx_spu_timer_reset: baud rate = %.0f\n", ATTOSECONDS_TO_HZ(charperiod.attoseconds) * bpc); + printf("ppc4xx_spu_timer_reset: baud rate = %.0f\n", ATTOSECONDS_TO_HZ(charperiod.attoseconds()) * bpc); } /* otherwise, disable the timer */ |