Mahyar Koshkouei

Results 100 comments of Mahyar Koshkouei

> Pokémon Red/Blue crashes when blacking out / healing your Pokémon. Making the game literally unplayable. Is this with the latest commit?

I can't reproduce the problem with the SDL2 example. I used the version of Pokemon Red at https://github.com/pret/pokered ![2022-01-13-190938_337x324_scrot](https://user-images.githubusercontent.com/3747104/149394198-ef95cece-9ce7-4f56-bbdc-bb61c0cba916.png) Only problem with Gen 1 Pokemon games so far was fixed...

This time I tested with the retail version of Pokemon Blue (U). Using the Pokemon Center worked and so did getting whited out. I'm unable to reproduce the problem. Tested...

Ah. That is a bug. I've opened an issue at https://github.com/deltabeard/Peanut-GB/issues/49 . Thanks for investigating the problem and for the files.

@TheBlackfurGuy @diddyholz I think I've fixed the issue in 88723514cb604c8de337d5c1c6b8bb02cfe27be6. This commit fixes reading and writing to APU registers when APU emulation is disabled with ENABLE_SOUND=0. I need to test...

Thanks for the bug report and for writing & providing the test ROM. As mentioned in the commit, I think this is a partial fix, so I will leave this...

I decided to continue allowing the front-end to continue modifying values in gb->joypad. I think it's simpler. 4aff06be48c9b5c43cb252fa8237a93b11b166a1

Values that may be modified by the front-end should be documented. Modifying other values should be undefined behaviour. The framebuffer array must still be removed.

I've committed patch 298440b0cc8062f19477a8b29462c7bb4dd88568 to the joypad_intr branch which adds joypad interrupts. As you've said, because I don't vary LY, I get the following error message in Telling LYs: ![FIRSTWHITE_0000000000](https://user-images.githubusercontent.com/3747104/63681443-b5a24d00-c7ed-11e9-98fd-fdbd909af633.png)...

Partially completed in 428e616c000483a3acb3edaf87bdcd845b153e4c. Reduced number of instructions when compiled for ARM Cortex M0+.