https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 1c2c5f05035c92c0919b1a55b6ce8a902f796d30 authored by a1ex on 22 October 2013, 21:26:11 UTC
Close branch 50DrawNow.
Tip revision: 1c2c5f0
misc.c
// misc functions specific to 600D/102

#include <dryos.h>
#include <property.h>
#include <bmp.h>
#include <config.h>
#include <consts.h>
#include <lens.h>

// some dummy stubs
int lcd_release_running = 0;
void lcd_release_step() {};
int get_lcd_sensor_shortcuts() { return 0; }
void display_lcd_remote_icon(int x0, int y0) {}

void* AllocateMemory(size_t size) // this won't throw ERR70
{
	return (void*) AllocateMemory_do(*(int*)0x3070, size);
}
back to top