mirror of
https://github.com/wiiu-env/libmocha.git
synced 2024-11-16 00:35:04 +01:00
Fix Mocha_SEEPROMRead
This commit is contained in:
parent
908ef96c65
commit
6c754dff96
@ -212,7 +212,7 @@ MochaUtilsStatus Mocha_ODMGetDiscKey(WUDDiscKey *discKey) {
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int bspRead(const char *, uint32_t, const char *, uint32_t, uint16_t *);
|
extern "C" int bspRead(const char *, uint32_t, const char *, uint32_t, uint16_t *);
|
||||||
MochaUtilsStatus Mocha_SEEPROMRead(uint8_t *out_buffer, uint32_t offset, uint32_t size) {
|
MochaUtilsStatus Mocha_SEEPROMRead(uint8_t *out_buffer, uint32_t offset, uint32_t size) {
|
||||||
if (!mochaInitDone) {
|
if (!mochaInitDone) {
|
||||||
return MOCHA_RESULT_LIB_UNINITIALIZED;
|
return MOCHA_RESULT_LIB_UNINITIALIZED;
|
||||||
|
Loading…
Reference in New Issue
Block a user