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

GDB catches segfault on program load #264

Closed
LlamaTrauma opened this issue Sep 30, 2022 · 2 comments
Closed

GDB catches segfault on program load #264

LlamaTrauma opened this issue Sep 30, 2022 · 2 comments

Comments

@LlamaTrauma
Copy link

After compiling NBA in MSYS2 in Windows 11 and running it with gdb, a segfault happens when loading a rom. It seems to be caused by vram_dirty_range_lo/hi in the ppu not getting explicitly initialized and being set to 0xBAADF00D (which seems like a Microsoft magic number, not sure if this means the issue is platform specific).

@fleroviux
Copy link
Member

Sorry, for the late response. I just pushed a fix for this. Please let me know if it's fixed on your end as well.

@LlamaTrauma
Copy link
Author

Looks like it is, thanks. I should clarify that the emulator still ran fine when run directly. I was wondering if this could be related to issue #259, but based on the wording it seems like it probably isn't. Thanks for the response!

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

No branches or pull requests

2 participants