Magic Lantern Forum

Developing Magic Lantern => Reverse Engineering => Topic started by: nikfreak on August 31, 2014, 02:29:58 PM

Title: [Q] How can I find DEFAULT_RAW_BUFFER ???
Post by: nikfreak on August 31, 2014, 02:29:58 PM
Hi,

I wanted to define CONFIG_EDMAC_RAW_SLURP in internals.h but looks like I need to find DEFAULT_RAW_BUFFER for my 6D. In raw.c there's some hints how to find it and there's also


#else

/* with Canon lv_save_raw, just read it from EDMAC */
#define DEFAULT_RAW_BUFFER shamem_read(RAW_LV_EDMAC)

#endif


Shouldn't above code define it automatically or is it obsolete?
Title: Re: [Q] How can I find DEFAULT_RAW_BUFFER ???
Post by: 1% on August 31, 2014, 06:08:02 PM
It doesn't really work on this camera (nor 7D), you can keep trying tho:

https://bitbucket.org/OtherOnePercent/tragic-lantern-6d/src/bcfa214064995813a2f4172dddc3fcc60b87af66/src/raw.c?at=unified