You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you fill all 10 of your cards/items slots, the screen will be covered with dashes, and this will show up everytime you open your list of cards (which is pretty much all the time, since you need it to use items)
Seems to occur on Rev 1 as well, and the save seems to work there too, but most testing was done with the original version.
This issue was fixed in mGBA in commit mgba-emu/mgba@4ce9b83 between releases 0.1.0 and 0.1.1, and the game has continued functioning properly from there until now, as of the latest nightly..
Apparently, this is the result of a documentation error in gbatek. While I don't know of any existing correct documentation, it seems like mode0 can only use the first 64k of vram for background tiles.
To reproduce, load the following save file, choose to continue, and immediately walk to the right; your 10th card slot will be filled up, and the card screen will display, showing the issue. Monster Gate (Japan).sav.zip
If this is it then it is indeed what I suspected: open bus from the internal background VRAM bus. This means that the data that was most recently (successfully) read from background VRAM is read and interpreted as tile data.
In the simple case where only one background layer is enabled this is the tile map entry that was fetched before the tile data.
With multiple background layers the situation most likely is more complicated and the data that is returned could be map or tile data from another background layer.
Monster Gate still works with my change, so that's good.
I think I pretty much confirmed that it's open bus and background layers can affect other background layers.
Luckily this is very easy to support with NBA's cycle-accurate PPU emulation.
Other emulators are advised to just return 0 for the out-of-bounds accesses, since they do not replicate the proper VRAM access patterns for open-bus to return the right values.
If you fill all 10 of your cards/items slots, the screen will be covered with dashes, and this will show up everytime you open your list of cards (which is pretty much all the time, since you need it to use items)
Seems to occur on Rev 1 as well, and the save seems to work there too, but most testing was done with the original version.
This issue was fixed in mGBA in commit mgba-emu/mgba@4ce9b83 between releases 0.1.0 and 0.1.1, and the game has continued functioning properly from there until now, as of the latest nightly..
Apparently, this is the result of a documentation error in gbatek. While I don't know of any existing correct documentation, it seems like mode0 can only use the first 64k of vram for background tiles.
To reproduce, load the following save file, choose to continue, and immediately walk to the right; your 10th card slot will be filled up, and the card screen will display, showing the issue.
Monster Gate (Japan).sav.zip
Tested on latest commit
Tested on Linux Mint 21.1
The text was updated successfully, but these errors were encountered: