mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-22 16:43:09 +02:00
Fix a crash
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
- (GB_frame_blending_mode_t)frameBlendingMode
|
||||
{
|
||||
if (_frameBlendingMode == GB_FRAME_BLENDING_MODE_ACCURATE) {
|
||||
if (GB_is_sgb(_gb)) {
|
||||
if (!_gb || GB_is_sgb(_gb)) {
|
||||
return GB_FRAME_BLENDING_MODE_SIMPLE;
|
||||
}
|
||||
return GB_is_odd_frame(_gb)? GB_FRAME_BLENDING_MODE_ACCURATE_ODD : GB_FRAME_BLENDING_MODE_ACCURATE_EVEN;
|
||||
|
Reference in New Issue
Block a user