Skip to content

Commit

Permalink
Switch back to C
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-sloth committed Oct 29, 2024
1 parent 63bbb5d commit 95b2b9d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.5)
project(spc2it)

set(spc2it_sources
src/emu.cpp
src/it.cpp
src/main.cpp
src/sound.cpp
src/spc700.cpp
src/emu.c
src/it.c
src/main.c
src/sound.c
src/spc700.c

src/emu.h
src/it.h
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/it.cpp → src/it.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static void ITUpdateSample(s32 s)
u16 vptr, lptr;
} *SRCDIR;
i = SPC_DSP[0x5D] << 8; //sample directory table...
SRCDIR = (srcdir_s *)(void *)&SPCRAM[i];
SRCDIR = (struct srcdir_s *)(void *)&SPCRAM[i];
if (ITDecodeSample(SRCDIR[s].vptr, &ITSamples[s]))
return;
if (ITSamples[s]->loopto != -1)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 95b2b9d

Please sign in to comment.