Mercurial > repos > blastem
comparison gen_player.c @ 2568:f0ace2494df6
Fix libretro build
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 28 Jan 2025 23:38:06 -0800 |
parents | 01ff005b08f6 |
children |
comparison
equal
deleted
inserted
replaced
2567:8872c8e3e0fc | 2568:f0ace2494df6 |
---|---|
8 #define MCLKS_PER_YM 7 | 8 #define MCLKS_PER_YM 7 |
9 #define MCLKS_PER_Z80 15 | 9 #define MCLKS_PER_Z80 15 |
10 #define MCLKS_PER_PSG (MCLKS_PER_Z80*16) | 10 #define MCLKS_PER_PSG (MCLKS_PER_Z80*16) |
11 | 11 |
12 #ifdef IS_LIB | 12 #ifdef IS_LIB |
13 #define MAX_SOUND_CYCLES (MCLKS_PER_YM*NUM_OPERATORS*6*4) | 13 #define MAX_SOUND_CYCLES (MCLKS_PER_YM*OPN2_NUM_OPERATORS*6*4) |
14 #else | 14 #else |
15 #define MAX_SOUND_CYCLES 100000 | 15 #define MAX_SOUND_CYCLES 100000 |
16 #endif | 16 #endif |
17 | 17 |
18 static void sync_sound(gen_player *gen, uint32_t target) | 18 static void sync_sound(gen_player *gen, uint32_t target) |