Turning off all inlining and constant propagation for now
Can always turn these back on again later, it's just easier to debug with them off
This commit is contained in:
parent
89a848376a
commit
fcee9591b1
|
@ -211,6 +211,8 @@ namespace Amalgamator
|
|||
"-o", objectName,
|
||||
"-c",
|
||||
"-O3",
|
||||
"-fno-ipa-cp",
|
||||
"-fno-inline",
|
||||
fileName,
|
||||
"-march=armv4t",
|
||||
"-mtune=arm7tdmi",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "window.h"
|
||||
#include "vwf.h"
|
||||
|
||||
int __attribute__((noinline)) get_tile_number(int x, int y)
|
||||
int get_tile_number(int x, int y)
|
||||
{
|
||||
x--;
|
||||
y--;
|
||||
|
@ -25,7 +25,7 @@ byte reduce_bit_depth(int row, int foreground)
|
|||
return lower | (upper << 4);
|
||||
}
|
||||
|
||||
byte __attribute__ ((noinline)) print_character(byte chr, byte x, byte y, byte font, byte foreground)
|
||||
byte print_character(byte chr, byte x, byte y, byte font, byte foreground)
|
||||
{
|
||||
int tileWidth = m2_font_widths[font];
|
||||
int tileHeight = m2_font_heights[font];
|
||||
|
|
Loading…
Reference in New Issue