DS: Fix firmware loading
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Mar 2017 13:14:33 -0700
1 files changed,
1 insertions(+),
4 deletions(-)
jump to
M
src/ds/ds.c
→
src/ds/ds.c
@@ -573,10 +573,7 @@ void* data = NULL;
if (!DSIsFirmware(vf)) { return false; } - if (size == DS_SIZE_FIRMWARE) { - data = vf->map(vf, size, MAP_WRITE); - } - if (!data) { + if (size != DS_SIZE_FIRMWARE) { return false; } mLOG(DS, INFO, "Found DS firmware");