| Previous | 199869 Revisions | Next |
| r36965 Sunday 5th April, 2015 at 19:38:28 UTC by Oliver Stöneberg |
|---|
| make DEBUG=1 PROFILER=0 actually work (nw) also removed FASTDEBUG hack made obsolete by this fix |
| [scripts] | genie.lua |
| [src/emu] | profiler.h |
| [src/emu/sound] | l7a1045_l6028_dsp_a.c |
| r245476 | r245477 | |
|---|---|---|
| 404 | 404 | defines { |
| 405 | 405 | "MAME_DEBUG", |
| 406 | 406 | } |
| 407 | if _OPTIONS["PROFILER"] then | |
| 407 | if _OPTIONS["PROFILER"]=="1" then | |
| 408 | 408 | defines{ |
| 409 | 409 | "MAME_PROFILER", -- define MAME_PROFILER if we are a profiling build |
| 410 | 410 | } |
| r245476 | r245477 | |
|---|---|---|
| 91 | 91 | // getters |
| 92 | 92 | bool enabled() const |
| 93 | 93 | { |
| 94 | #ifndef MAME_DEBUG_FAST | |
| 95 | 94 | return m_filoptr != NULL; |
| 96 | #else | |
| 97 | return false; | |
| 98 | #endif | |
| 99 | 95 | } |
| 100 | 96 | const char *text(running_machine &machine); |
| 101 | 97 |
| r245476 | r245477 | |
|---|---|---|
| 246 | 246 | |
| 247 | 247 | vptr->r_volume = (m_audiodat[m_audioregister][m_audiochannel].dat[0] & 0xff); |
| 248 | 248 | /* TODO: volume tables, linear? */ |
| 249 | vptr->r_volume = (vptr-> | |
| 249 | vptr->r_volume = (vptr->l_volume) | (vptr->l_volume << 8); | |
| 250 | 250 | vptr->l_volume = (m_audiodat[m_audioregister][m_audiochannel].dat[0] >> 8) & 0xff; |
| 251 | vptr->l_volume = (vptr-> | |
| 251 | vptr->l_volume = (vptr->r_volume) | (vptr->r_volume << 8); | |
| 252 | 252 | //printf("%04x %02x %02x\n",m_audiodat[m_audioregister][m_audiochannel].dat[0],vptr->l_volume,vptr->r_volume); |
| 253 | 253 | |
| 254 | 254 | break; |
| https://github.com/mamedev/mame/commit/3a40df147dc82d695ce39dce3030da121af62832 |
| Previous | 199869 Revisions | Next |