mcpx: Rename {dsp->gp_ep}.c,h for clarity

This commit is contained in:
Matt Borgerson 2025-06-03 19:17:09 -07:00 committed by mborgerson
parent 2f99d04730
commit 829ec66757
5 changed files with 13 additions and 12 deletions

View File

@ -42,7 +42,7 @@
#include "apu_debug.h"
#include "fpconv.h"
#include "vp/vp.h"
#include "dsp.h"
#include "dsp/gp_ep.h"
#define GET_MASK(v, mask) (((v) & (mask)) >> ctz32(mask))

View File

@ -19,7 +19,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "apu_int.h"
#include "hw/xbox/mcpx/apu_int.h"
static const int16_t ep_silence[256][2] = { 0 };

View File

@ -18,18 +18,18 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef HW_XBOX_MCPX_APU_DSP_H
#define HW_XBOX_MCPX_APU_DSP_H
#ifndef HW_XBOX_MCPX_APU_GP_EP_H
#define HW_XBOX_MCPX_APU_GP_EP_H
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "hw/xbox/mcpx/apu_regs.h"
#include "dsp/dsp.h"
#include "dsp/dsp_dma.h"
#include "dsp/dsp_cpu.h"
#include "dsp/dsp_state.h"
#include "dsp.h"
#include "dsp_dma.h"
#include "dsp_cpu.h"
#include "dsp_state.h"
typedef struct MCPXAPUState MCPXAPUState;

View File

@ -1,2 +1,4 @@
libdsp = static_library('dsp', files(['debug.c', 'dsp.c', 'dsp_cpu.c', 'dsp_dma.c']) + genh)
dsp = declare_dependency(objects: libdsp.extract_all_objects(recursive: false))
mcpx_ss.add(dsp, files('gp_ep.c'))

View File

@ -1,13 +1,12 @@
subdir('dsp')
mcpx_ss = ss.source_set()
mcpx_ss.add(sdl, dsp, files(
mcpx_ss.add(sdl, files(
'apu.c',
'aci.c',
'debug.c',
'dsp.c',
))
subdir('vp')
subdir('dsp')
specific_ss.add_all(mcpx_ss)
specific_ss.add_all(mcpx_ss)