Skip to content

Commit

Permalink
psp, small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Mar 3, 2024
1 parent e28fd20 commit 56ec20d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/psp/emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ static void sound_init(void)
samples_made = samples_done = 0;
samples_block = 2*22050/60; // make sure it goes to sema
sound_thread_exit = 0;
thid = sceKernelCreateThread("sndthread", sound_thread, 0x12, 0x10000, 0, NULL);
thid = sceKernelCreateThread("sndthread", sound_thread, 0x12, 0x1000, 0, NULL);
if (thid >= 0)
{
ret = sceKernelStartThread(thid, 0, 0);
Expand Down
6 changes: 4 additions & 2 deletions platform/psp/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ static const char *men_vscaling_opts[] = { "OFF", "fullscreen", "borderless", NU
static const char *men_hscaling_opts[] = { "1:1", "4:3", "extended", "fullwidth", NULL };
static const char *men_filter_opts[] = { "nearest", "bilinear", NULL };

static const char h_8bit[] = "This option only works for 8bit renderers";

#define MENU_OPTIONS_GFX \
mee_enum ("Vertical scaling", MA_OPT_VSCALING, currentConfig.vscaling, men_vscaling_opts), \
mee_enum ("Aspect ratio", MA_OPT_SCALING, currentConfig.scaling, men_hscaling_opts), \
mee_enum ("Scaler type", MA_OPT3_FILTERING, currentConfig.filter, men_filter_opts), \
mee_range ("Gamma adjustment", MA_OPT3_GAMMAA, currentConfig.gamma, -4, 16), \
mee_range ("Black level", MA_OPT3_BLACKLVL, currentConfig.gamma2, 0, 2), \
mee_range_h ("Gamma adjustment", MA_OPT3_GAMMAA, currentConfig.gamma, -4, 16, h_8bit), \
mee_range_h ("Black level", MA_OPT3_BLACKLVL, currentConfig.gamma2, 0, 2, h_8bit), \
mee_onoff ("Wait for vsync", MA_OPT3_VSYNC, currentConfig.EmuOpt, EOPT_VSYNC), \

#define MENU_OPTIONS_ADV
Expand Down

0 comments on commit 56ec20d

Please sign in to comment.