Retroarch PSP graphics glitches

Hi! I tried to run my core Theodore (https://github.com/Zlika/theodore) on PSP. It is running but with some strange graphics glitches: the top part of the screen is blinking and the right part is a repetition of the same column, but the remaining part of the screen is ok. I do not have any PSP specific code in my core. Is there any particular thing to do, like using a particular function for allocating the video buffer? Thanks. Thomas

Does it look okay outside of PSP? like, PC etc?

Yes, it’s running ok on PC, android, raspberry pi, even WiiU!