Performance Improvements
Pass theme list & its entries around by reference rather than copying them. Fix bug in async icon loading that caused icons to be loaded multiple times. Original PR by @LiquidFenrir
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "common.h"
|
||||
|
||||
typedef struct {
|
||||
u16* camera_buffer;
|
||||
u16 * camera_buffer;
|
||||
|
||||
Handle event_stop;
|
||||
Thread cam_thread, ui_thread;
|
||||
@@ -45,7 +45,7 @@ typedef struct {
|
||||
|
||||
bool any_update;
|
||||
|
||||
struct quirc* context;
|
||||
struct quirc * context;
|
||||
} qr_data;
|
||||
|
||||
bool init_qr(void);
|
||||
|
||||
Reference in New Issue
Block a user