mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-16 21:29:31 +00:00
Speaker fade: use proper type
This commit is contained in:
parent
4377441c26
commit
0532edf773
|
@ -23,6 +23,7 @@ enum AppMode_e
|
||||||
, MODE_DEBUG // 6502 is paused
|
, MODE_DEBUG // 6502 is paused
|
||||||
, MODE_STEPPING // 6502 is running at normal/full speed (Debugger breakpoints always active)
|
, MODE_STEPPING // 6502 is running at normal/full speed (Debugger breakpoints always active)
|
||||||
, MODE_BENCHMARK
|
, MODE_BENCHMARK
|
||||||
|
, MODE_UNDEFINED // Used in SoundCore_SetFade()
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SPEED_MIN 0
|
#define SPEED_MIN 0
|
||||||
|
|
|
@ -438,7 +438,7 @@ static VOID CALLBACK SoundCore_TimerFunc(HWND hwnd, UINT uMsg, UINT_PTR idEvent,
|
||||||
|
|
||||||
void SoundCore_SetFade(eFADE FadeType)
|
void SoundCore_SetFade(eFADE FadeType)
|
||||||
{
|
{
|
||||||
static int nLastMode = -1;
|
static AppMode_e nLastMode = MODE_UNDEFINED;
|
||||||
|
|
||||||
if(g_nAppMode == MODE_DEBUG)
|
if(g_nAppMode == MODE_DEBUG)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user