diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-01-25 23:43:57 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-01-25 23:43:57 +0900 |
commit | 3a59fb7b1c7c68c70c3725b086faeeb51236f720 (patch) | |
tree | 9c02a0be99d077b9c3cfba17aa7d78e40b2b5cce /fmdsp | |
parent | 296ef17d3452e00a8d29f76493152fe7ea53665b (diff) |
corrected uncaught mistakes found with msvc
Diffstat (limited to 'fmdsp')
-rw-r--r-- | fmdsp/fmdsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fmdsp/fmdsp.c b/fmdsp/fmdsp.c index bf29f56..1da0adf 100644 --- a/fmdsp/fmdsp.c +++ b/fmdsp/fmdsp.c @@ -129,7 +129,7 @@ void fmdsp_vram_init(struct fmdsp *fmdsp, } for (int t = 0; t < 10; t++) { struct fmdriver_track_status *track = &work->track_status[t]; - uint8_t *track_type; + const uint8_t *track_type; switch (track->type) { case FMDRIVER_TRACK_FM: track_type = s_t_fm; @@ -184,7 +184,7 @@ void fmdsp_vram_init(struct fmdsp *fmdsp, void fmdsp_update(struct fmdsp *fmdsp, const struct fmdriver_work *work, uint8_t *vram) { for (int t = 0; t < 10; t++) { - struct fmdriver_track_status *track = &work->track_status[t]; + const struct fmdriver_track_status *track = &work->track_status[t]; switch (track->info) { case FMDRIVER_TRACK_INFO_PPZ8: vramblit(vram, TINFO_X, TRACK_H*t+7, s_t_ppz8, TNAME_W, TNAME_H); |