I know you would hate me but these functions are too big to be inlined by gcc.

Does it make any difference in windows? if so feel free to revert.
This commit is contained in:
riccardom 2008-12-30 17:30:28 +00:00
parent 5f19ca6fd4
commit a363735acc
1 changed files with 2 additions and 2 deletions

View File

@ -2432,7 +2432,7 @@ static void calc_bright_colors() {
}
#endif
static INLINE void GPU_ligne_layer(NDS_Screen * screen, u16 l)
static void GPU_ligne_layer(NDS_Screen * screen, u16 l)
{
GPU * gpu = screen->gpu;
struct _DISPCNT * dispCnt = &(gpu->dispx_st)->dispx_DISPCNT.bits;
@ -2560,7 +2560,7 @@ static INLINE void GPU_ligne_layer(NDS_Screen * screen, u16 l)
}
// TODO: capture emulated not fully
static INLINE void GPU_ligne_DispCapture(u16 l)
static void GPU_ligne_DispCapture(u16 l)
{
GPU * gpu = MainScreen.gpu;
struct _DISPCNT * dispCnt = &(gpu->dispx_st)->dispx_DISPCNT.bits;