Skip to content

Commit

Permalink
sms, add SC-3000 tape support
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Jan 30, 2025
1 parent de4cc47 commit 92064e2
Show file tree
Hide file tree
Showing 7 changed files with 335 additions and 8 deletions.
1 change: 1 addition & 0 deletions pico/pico.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void PicoExit(void)
PicoExitMCD();
z80_exit();
PsndExit();
PicoCloseTape();

free(Pico.sv.data);
Pico.sv.data = NULL;
Expand Down
6 changes: 6 additions & 0 deletions pico/pico_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -1018,13 +1018,19 @@ void PicoMemSetupMS(void);
void PicoStateLoadedMS(void);
void PicoFrameMS(void);
void PicoFrameDrawOnlyMS(void);
int PicoPlayTape(const char *fname);
int PicoRecordTape(const char *fname);
void PicoCloseTape(void);
#else
#define PicoPowerMS()
#define PicoResetMS()
#define PicoMemSetupMS()
#define PicoStateLoadedMS()
#define PicoFrameMS()
#define PicoFrameDrawOnlyMS()
#define PicoPlayTape(f) 1
#define PicoRecordTape(f) 1
#define PicoCloseTape()
#endif

// 32x/32x.c
Expand Down
Loading

0 comments on commit 92064e2

Please sign in to comment.