|
|
| version 1.2, 2004/08/05 16:47:27 | version 1.3, 2004/08/07 07:19:56 |
|---|---|
| Line 5 | Line 5 |
| #include "dosio.h" | #include "dosio.h" |
| #include "soundmng.h" | #include "soundmng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "ini.h" | |
| #include "dialog.h" | #include "dialog.h" |
| #include "dialogs.h" | #include "dialogs.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "draw.h" | |
| #include "ini.h" | |
| #include "palettes.h" | #include "palettes.h" |
| #include "makescrn.h" | |
| #define LIMITS(v, n, m) (((v) > (m))?(m):(((v) < (n))?(n):(v))) | #define LIMITS(v, n, m) (((v) > (m))?(m):(((v) < (n))?(n):(v))) |
| Line 78 static void cfgupdate(HWND hWnd) { | Line 77 static void cfgupdate(HWND hWnd) { |
| if (xmilcfg.samplingrate != wval) { | if (xmilcfg.samplingrate != wval) { |
| xmilcfg.samplingrate = wval; | xmilcfg.samplingrate = wval; |
| updateflag |= SYS_UPDATECFG; | updateflag |= SYS_UPDATECFG; |
| soundrenewal = TRUE; | corestat.soundrenewal = TRUE; |
| } | } |
| GetDlgItemText(hWnd, IDC_SNDBUFFER, work, NELEMENTS(work)); | GetDlgItemText(hWnd, IDC_SNDBUFFER, work, NELEMENTS(work)); |
| Line 86 static void cfgupdate(HWND hWnd) { | Line 85 static void cfgupdate(HWND hWnd) { |
| if (xmilcfg.delayms != wval) { | if (xmilcfg.delayms != wval) { |
| xmilcfg.delayms = wval; | xmilcfg.delayms = wval; |
| updateflag |= SYS_UPDATECFG; | updateflag |= SYS_UPDATECFG; |
| soundrenewal = TRUE; | corestat.soundrenewal = TRUE; |
| } | } |
| GetDlgItemText(hWnd, IDC_SEEKVOL, work, NELEMENTS(work)); | GetDlgItemText(hWnd, IDC_SEEKVOL, work, NELEMENTS(work)); |
| Line 101 static void cfgupdate(HWND hWnd) { | Line 100 static void cfgupdate(HWND hWnd) { |
| bval = (UINT8)GetDlgItemCheck(hWnd, IDC_TXTENHANCED); | bval = (UINT8)GetDlgItemCheck(hWnd, IDC_TXTENHANCED); |
| if (xmilcfg.TEXTMODE != bval) { | if (xmilcfg.TEXTMODE != bval) { |
| xmilcfg.TEXTMODE = bval; | xmilcfg.TEXTMODE = bval; |
| textdrawproc_renewal(); | |
| updateflag |= SYS_UPDATECFG; | updateflag |= SYS_UPDATECFG; |
| } | } |
| Line 139 static void cfgupdate(HWND hWnd) { | Line 137 static void cfgupdate(HWND hWnd) { |
| } | } |
| if (renewalflg) { | if (renewalflg) { |
| reflesh_palette(); | reflesh_palette(); |
| palandply = 1; | makescrn.palandply = 1; |
| updateflag |= SYS_UPDATECFG; | updateflag |= SYS_UPDATECFG; |
| } | } |
| sysmng_update(updateflag); | sysmng_update(updateflag); |