![]() -Made it so that the log only opens when logging is true and that the file closes upon destruction. --Still, BizHawk says that it can't open the file again when I load a game again. This is because the emulator class gets recreated without deleting the original one every time you load a game. ---adelikat convinced me not to care about this. -Fixed the initial state of the GB CPU: --It was setting AF to 0x01, not A. This is effectively setting F to 0x01, which gets overwritten later anyway. --Two BIOS flags were used in different places; merging them gets the PC to start in the right place. -By fixing the initial state, most of the log now matches up. --The only differences are the VBA has some repeated records (Where all of the registers, including PC, are the same as the previous record) whereas BizHawk doesn't. --This very well might be an issue with how I'm logging it --Alternatively, it could be some kind of lagging mechanism. --I'm not sure which version is even correct...VBA is far from accruate. --All in all, considering that the vast majority of the diff comes out as the same, I think I fixed the biggest CPU related bug. Will investigate more later. |
||
---|---|---|
.. | ||
Bios.cs | ||
Gameboy.cs | ||
Input.cs | ||
Mappers.cs |