move buffers to extmem

This commit is contained in:
Jorj Bauer 2021-01-19 22:56:38 -05:00
parent a65596d4c5
commit 683b1620b4
2 changed files with 8 additions and 1 deletions

View File

@ -21,8 +21,11 @@ bool g_invertPaddleY = false;
uint8_t g_luminanceCutoff = 122; // reasonable values are 127 and 128 for 32-bit (SDL); and 122/123 for 16-bit (teensy) depending on whether we're talking about white-on-black or black-on-white
#ifdef TEENSYDUINO
EXTMEM
#endif
char debugBuf[255];
#ifdef TEENSYDUINO
char fsbuf[200];
EXTMEM char fsbuf[200];
#endif

View File

@ -1,6 +1,10 @@
#ifndef __GLOBALS_H
#define __GLOBALS_H
#ifdef TEENSYDUINO
#include <Arduino.h>
#endif
#include <stdint.h>
#include "filemanager.h"