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

Q: How does mGBA detect if a loaded Game Boy ROM is a GameBoy Camera? #2557

Closed
HerrZatacke opened this issue Jun 14, 2022 · 4 comments
Closed

Comments

@HerrZatacke
Copy link

HerrZatacke commented Jun 14, 2022

Hello,

I'm currently developing a replacement ROM for the GameBoy Camera. (since about half a year there is a solution for a flashable replacement PCB)

When using mGBA with an original Camera ROM, I can see the "no image" image in the camera view inlcuding a videofeed with an attached webcam.

Using my ROM, I'm not seeing this.
You can check my project for reference here: HerrZatacke/2bit-pxlr-studio

Could you maybe hint me into the direction on how mGBA decides the loaded ROM needs to/can access the camera?

greetings,
Andreas

@HerrZatacke HerrZatacke changed the title How does mGBA detect if a loaded Game Boy ROM is a GameBoy Camera? Q: How does mGBA detect if a loaded Game Boy ROM is a GameBoy Camera? Jun 14, 2022
@endrift
Copy link
Member

endrift commented Jun 14, 2022

It already has decided the camera is accessible, as it turned on the camera on my laptop when I ran it. It might be an issue with how you're actually talking to the camera.

@HerrZatacke
Copy link
Author

HerrZatacke commented Jun 14, 2022

Were you using my ROM or one from an original camera?

@endrift
Copy link
Member

endrift commented Jun 14, 2022

Your ROM. Have you managed to test it on actual hardware? I have a tentative fix in mGBA, but I'm not 100% sure it's right. It prooobably is though.

@HerrZatacke
Copy link
Author

HerrZatacke commented Jun 14, 2022

Oh cool! That sounds good - I'm running mGBA 0.9.3 (should be the newest?) but it seems nothing is written to the RAM where the camera is looking for the image data.
Running on actual hardware works fine.

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