Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vector games not working and audio crackling #90

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix broken sound see tapper outrun ect for sound breaking
Grant committed Jul 4, 2021
commit 8fa38223d98f7f0b2775aa64e0db10fe3fd6b1f6
6 changes: 3 additions & 3 deletions src/libretro/libretro.c
Original file line number Diff line number Diff line change
@@ -539,7 +539,7 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
};
struct retro_system_timing t = {
Machine->drv->frames_per_second,
32000.0
30000.0
};
info->timing = t;
info->geometry = g;
@@ -760,8 +760,8 @@ bool retro_load_game(const struct retro_game_info *info)
i=create_path_recursive(cheatdir);
if(i!=0)printf("error %d creating cheat \"%s\"\n", i,cheatdir);

Machine->sample_rate = 32000;
options.samplerate = 32000;
Machine->sample_rate = 30000;
options.samplerate = 30000;

/* This is needed so emulated YM3526/YM3812 chips are used instead on physical ones. */
options.use_emulated_ym3812 = 1;