diff options
author | twinaphex | 2014-12-13 05:01:02 +0100 |
---|---|---|
committer | twinaphex | 2014-12-13 05:01:02 +0100 |
commit | 6ddc6f494d4caac06b163300cec2119f1384e2bb (patch) | |
tree | 803f1c6d4ecf3cbc47e963144f84f6fa5591703d | |
parent | 87b34754f8c0167a06320ea9215359e955687f8f (diff) | |
download | picogpsp-6ddc6f494d4caac06b163300cec2119f1384e2bb.tar.gz picogpsp-6ddc6f494d4caac06b163300cec2119f1384e2bb.tar.bz2 picogpsp-6ddc6f494d4caac06b163300cec2119f1384e2bb.zip |
Turn two functions static
-rw-r--r-- | input.c | 2 | ||||
-rw-r--r-- | sound.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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]; @@ -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); |