diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2017-03-17 21:09:39 +0000 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2017-03-17 21:09:39 +0000 |
| commit | d7a31360f90c1ef79587018e54ae9665831b7f12 (patch) | |
| tree | 776ff0ea6198a0b9617bec004732bd0d7af5dcbb /win32/gui/ConfigurePlugins.c | |
| parent | b9ca947ae0c9d45a4f76a58d1a0e1e4924f32a72 (diff) | |
| download | pcsxr-d7a31360f90c1ef79587018e54ae9665831b7f12.tar.gz | |
Add support for arbitrary clock multipliers
Allows users to set an arbitrary floating point value to multiply CPU clock speed by. Drop box provides access to all the previous presets.
Diffstat (limited to 'win32/gui/ConfigurePlugins.c')
| -rwxr-xr-x | win32/gui/ConfigurePlugins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/gui/ConfigurePlugins.c b/win32/gui/ConfigurePlugins.c index f67820db..c5ae207a 100755 --- a/win32/gui/ConfigurePlugins.c +++ b/win32/gui/ConfigurePlugins.c @@ -94,7 +94,7 @@ int LoadConfig() { QueryKeyV("Cpu", Conf->Cpu); QueryKeyV("PsxType", Conf->PsxType); - QueryKeyV("PsxClock", Conf->PsxClock); + QueryKey(sizeof(Conf->PsxClock), "PsxClock", &Conf->PsxClock); QueryKeyV("PGXP_GTE", Conf->PGXP_GTE); QueryKeyV("PGXP_Cache", Conf->PGXP_Cache); @@ -161,7 +161,7 @@ void SaveConfig() { SetKeyV("Cpu", Conf->Cpu); SetKeyV("PsxType", Conf->PsxType); - SetKeyV("PsxClock", Conf->PsxClock); + SetKey("PsxClock", &Conf->PsxClock, sizeof(Conf->PsxClock), REG_BINARY); SetKeyV("PGXP_GTE", Conf->PGXP_GTE); SetKeyV("PGXP_Cache", Conf->PGXP_Cache); |
