Created
June 5, 2017 04:40
-
-
Save psyke83/13a67b9726147bbfa0dd28a17b13ba50 to your computer and use it in GitHub Desktop.
retroarch corruption
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cores/dynamic_dummy.c b/cores/dynamic_dummy.c | |
index 7e8594793..054f6b515 100644 | |
--- a/cores/dynamic_dummy.c | |
+++ b/cores/dynamic_dummy.c | |
@@ -126,7 +126,8 @@ void libretro_dummy_retro_reset(void) | |
void libretro_dummy_retro_run(void) | |
{ | |
dummy_input_poll_cb(); | |
- dummy_video_cb(frame_buf, 320, 240, 640); | |
+ if (frame_buf) | |
+ dummy_video_cb(frame_buf, 320, 240, 640); | |
} | |
/* This should never be called, it's only used as a placeholder. */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment