mirror of https://github.com/mgba-emu/mgba.git
Vita: Clean up merged commit
This commit is contained in:
parent
404b743855
commit
7caac4ae44
1
CHANGES
1
CHANGES
|
@ -55,6 +55,7 @@ Other fixes:
|
|||
- Qt: Add missing option for Wisdom Tree in overrides list
|
||||
- Util: Fix crash if PNG header fails to write
|
||||
- SM83: Simplify register pair access on big endian
|
||||
- Vita: Fix flickering when using frameskip (fixes mgba.io/i/1822)
|
||||
- Wii: Fix pixelated filtering on interframe blending (fixes mgba.io/i/1830)
|
||||
Misc:
|
||||
- 3DS: Use "wide mode" where applicable for slightly better filtering
|
||||
|
|
|
@ -584,15 +584,13 @@ void _drawTex(vita2d_texture* t, unsigned width, unsigned height, bool faded, bo
|
|||
}
|
||||
|
||||
void mPSP2Swap(struct mGUIRunner* runner) {
|
||||
bool frameAvailable;
|
||||
bool frameAvailable = true;
|
||||
if (runner->core->platform(runner->core) == PLATFORM_GBA) {
|
||||
struct GBA* gba = runner->core->board;
|
||||
frameAvailable = gba->video.frameskipCounter <= 0;
|
||||
} else if (runner->core->platform(runner->core) == PLATFORM_GB) {
|
||||
struct GB* gb = runner->core->board;
|
||||
frameAvailable = gb->video.frameskipCounter <= 0;
|
||||
} else {
|
||||
frameAvailable = false;
|
||||
}
|
||||
if (frameAvailable) {
|
||||
currentTex = !currentTex;
|
||||
|
|
Loading…
Reference in New Issue