GBA Audio: Allow GBAAVStream to have no video callback

This commit is contained in:
Jeffrey Pfau 2015-08-30 22:54:53 -07:00
parent 971a322f09
commit 88c1f20c4b
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Misc:
- Qt: Remove useless help icons in dialogs
- GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
- GBA: Better memory handling with PNG savestates
- GBA Audio: Allow GBAAVStream to have no video callback
0.3.0: (2015-08-16)
Features:

View File

@ -790,7 +790,7 @@ void GBAFrameEnded(struct GBA* gba) {
}
}
if (gba->stream) {
if (gba->stream && gba->stream->postVideoFrame) {
gba->stream->postVideoFrame(gba->stream, gba->video.renderer);
}