Sitelet https://github.com/basxto/binjgb/tags
Skip to content

Tags: basxto/binjgb

Tags

v0.1.10

Toggle v0.1.10's commit message
GH workflow...

v0.1.9

Toggle v0.1.9's commit message
GH workflow release

v0.1.8

Toggle v0.1.8's commit message
GH workflow release

v0.1.7

Toggle v0.1.7's commit message
GH workflow release

v0.1.6

Toggle v0.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fixed MBC2 implementation (binji#36)

MBC2 only uses bit 8 to check between RAM enable and ROM bank, when writing to address < 0x4000. Both pandocs and sameboy agree on this.

v0.1.5

Toggle v0.1.5's commit message
[appveyor] Update VS version to 2017

It seems like VS 2015 may be generating bad code (see binji#20). Let's try
using 2017 instead.

Also, include SDL2.dll with the Windows bundles.

v0.1.4

Toggle v0.1.4's commit message
Add missing + in `add sp,%hhd`

v0.1.3

Toggle v0.1.3's commit message
Fix high DPI rendering on MacOS

According to the SDL2 docs, `SDL_GetWindowSize` returns the client
window size in screen coordinates, `SDL_GL_GetDrawableSize` returns the
size in pixels.

This change makes sure the `glViewport` calls always use pixels.

v0.1.2

Toggle v0.1.2's commit message
Update ImGui to v1.65

v0.1.1

Toggle v0.1.1's commit message
Fix rewind buffer corruption bug

`RewindState` has a `RewindResult` which it checks when it is going to
truncat the rewind buffer (after a successful rewind.) If the
`RewindResult`'s info pointer is not set, `rewind_truncate_to` assumes
that the rewind was not successful, so it doesn't truncate.

The bug was that a local `RewindResult` was used instead of the one in
`RewindState`, so the info pointer was never set, so the rewind buffer
was never truncated. After a rewind, `rewind_append` would append states
that were out of order. This would break the binary search of the rewind
info.

To find the bug, I ended up adding a sanity check function for the
rewind buffer. So I decided to keep it.