mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
A_SN's curve
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@220 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
29a951879b
commit
82bc9cdd10
4 changed files with 39 additions and 18 deletions
|
@ -613,7 +613,7 @@ void emu_Deinit(void)
|
|||
|
||||
// restore gamma
|
||||
if (gp2x_old_gamma != 100)
|
||||
set_gamma(100);
|
||||
set_gamma(100, 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1079,10 +1079,10 @@ void emu_Loop(void)
|
|||
printf(" done\n");
|
||||
}
|
||||
|
||||
if (gp2x_old_gamma != currentConfig.gamma) {
|
||||
set_gamma(currentConfig.gamma);
|
||||
if (gp2x_old_gamma != currentConfig.gamma || (EmuOpt_old&0x1000) != (currentConfig.EmuOpt&0x1000)) {
|
||||
set_gamma(currentConfig.gamma, !!(currentConfig.EmuOpt&0x1000));
|
||||
gp2x_old_gamma = currentConfig.gamma;
|
||||
printf("updated gamma to %i\n", currentConfig.gamma);
|
||||
printf("updated gamma to %i, A_SN's curve: %i\n", currentConfig.gamma, !!(currentConfig.EmuOpt&0x1000));
|
||||
}
|
||||
|
||||
if ((EmuOpt_old&0x2000) != (currentConfig.EmuOpt&0x2000)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue