Turn two functions static
This commit is contained in:
parent
87b34754f8
commit
6ddc6f494d
2
input.c
2
input.c
|
@ -24,7 +24,7 @@ static retro_input_state_t input_state_cb;
|
|||
|
||||
void retro_set_input_state(retro_input_state_t cb) { input_state_cb = cb; }
|
||||
|
||||
void trigger_key(u32 key)
|
||||
static void trigger_key(u32 key)
|
||||
{
|
||||
u32 p1_cnt = io_registers[REG_P1CNT];
|
||||
|
||||
|
|
2
sound.c
2
sound.c
|
@ -531,7 +531,7 @@ void update_gbc_sound(u32 cpu_ticks)
|
|||
// angeneraldiscussion&Number=2069&page=0&view=expanded&mode=threaded&sb=4
|
||||
// Hope you don't mind me borrowing it ^_-
|
||||
|
||||
void init_noise_table(u32 *table, u32 period, u32 bit_length)
|
||||
static void init_noise_table(u32 *table, u32 period, u32 bit_length)
|
||||
{
|
||||
u32 shift_register = 0xFF;
|
||||
u32 mask = ~(1 << bit_length);
|
||||
|
|
Loading…
Reference in New Issue