d0k3 88bc7955d8 Fix NAND offset hardcoding
... SafeB9SInstaller now works with custom NCSDs
2017-06-02 17:24:55 +02:00

9 lines
239 B
C

#pragma once
#include "common.h"
#include "ff.h"
u32 SafeWriteFile(FIL* file, void* buff, FSIZE_t ofs, UINT btw);
u32 SafeQWriteFile(const TCHAR* path, void* buff, UINT btw);
u32 SafeWriteNand(void* buff, u32 ofs, u32 btw, u32 keyslot);