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

Cyclone and DrZ80 support #766

Merged
merged 4 commits into from
Jan 3, 2020
Merged

Cyclone and DrZ80 support #766

merged 4 commits into from
Jan 3, 2020

Conversation

frangarcj
Copy link
Contributor

Fixes #765

@inactive123
Copy link
Contributor

@arcadez2003 I think this would be good to merge.

@arcadez2003
Copy link
Collaborator

Alrighty then

@arcadez2003 arcadez2003 merged commit 225812f into libretro:master Jan 3, 2020
for (i=0;i<MAX_CPU;i++)
{
unsigned int *type=(unsigned int *)&(Machine->drv->cpu[i].cpu_type);
if (type==CPU_Z80)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a bug. It should be if (*type == CPU_Z80) (gcc does warn about comparison between a pointer and an int). So DRZ80 was never actually enabled because of this.
But after fixing this (as well as on line 887), I lost part of the sounds in games (e.g. sdfight), until DRZ80 is turned off.
@frangarcj hope you are still around to take a look.

@wn2000 wn2000 mentioned this pull request Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cyclone and DrZ80
4 participants