mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
GP2X updates
video stuff moved out as it's project specific..
This commit is contained in:
parent
c54d04fd84
commit
7ceadd9993
12 changed files with 313 additions and 806 deletions
6
plat.h
6
plat.h
|
@ -15,7 +15,7 @@ struct plat_target {
|
|||
int (*hwfilter_set)(int which);
|
||||
int (*lcdrate_set)(int is_pal);
|
||||
int (*gamma_set)(int val, int black_level);
|
||||
int (*step_volume)(int is_up);
|
||||
int (*step_volume)(int *volume, int diff);
|
||||
const char **vout_methods;
|
||||
int vout_method;
|
||||
int vout_fullscreen;
|
||||
|
@ -76,10 +76,10 @@ static __inline int plat_target_gamma_set(int val, int black_level)
|
|||
}
|
||||
|
||||
/* step sound volume up or down */
|
||||
static __inline int plat_target_step_volume(int is_up)
|
||||
static __inline int plat_target_step_volume(int *volume, int diff)
|
||||
{
|
||||
if (plat_target.step_volume)
|
||||
return plat_target.step_volume(is_up);
|
||||
return plat_target.step_volume(volume, diff);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue