summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/romfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/romfs.c b/src/lib/romfs.c
index b95b5e2390..6c638cec7b 100644
--- a/src/lib/romfs.c
+++ b/src/lib/romfs.c
@@ -151,7 +151,8 @@ void *romfs_load_optionrom(u16 vendor, u16 device, void * dest)
* return a pointer to it.
*/
- src = ((unsigned char *) orom) + sizeof(struct romfs_optionrom);
+ /* BUG: the romtool is (not yet) including a romfs_optionrom header */
+ src = ((unsigned char *) orom); // + sizeof(struct romfs_optionrom);
if (! dest)
return src;