Closed aconbere closed 6 years ago
Does #17 fix this for you?
Ha, I was just testing this morning. I think there's one more bug where texture2D
is deprecated (now called just texture
). But with that change it now runs.
Window is a bit oddly sized, but maybe that's expected?
3a1c729772b48ca44aeaff17090c7ffe3509dfb4 fixes the issue :)
Hm, weird. I wonder if it has to do with using SDLWINDOW_HIGHDPI
in the window creation call.
Yep, seems to. I tested on my Mac laptop, this change should fix it!
@binji Works! And now in debug mode I actually get all the debug tools :)
The funny thing about all of this is I ended up here following a lead in a reddit comment (from you) saying that your emulator had good instruction logging. I'm trying to get a personal emulator over the finish line where there's a bug in some instruction and I just can't quite figure out which one. Whatever it is prevents a successful from of blargg's test suite and so I'm a bit stumped.
What I've got now is a way to run my emulator against a file that tracks known good register states and will compare its incremental state to those and log when it differs so that I can dig into exactly where it goes off the rails.
Anyway, appreciate how quickly you've been responding here, and I've nearly got my state file built from your emulator :)
Awesome, glad I can help. As you probably noticed, I don't really work on this much anymore. But it's always nice to have people show interest :-)
Gonna close this issue, since it seems MacOS is working well now.
It appears to originate in the hard coding of the
GL_VERTEX_SHADER
version: https://github.com/binji/binjgb/blob/master/src/host-ui-imgui.cc#L116However bumping that to version 150 which I believe is the current version available on my machine moves the error to an attribute syntax error: