mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove data/ from track name list, refactor music loading, and support loose ogg music
(these should be separate commits but they're annoying to split after the fact, oh well)
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
5b6c4b6b28
commit
f86a67456b
@@ -134,9 +134,8 @@ bool binaryBlob::nextExtra(size_t* start)
|
||||
for (idx = start; *idx < SDL_arraysize(m_headers); *idx += 1)
|
||||
{
|
||||
if (m_headers[*idx].valid
|
||||
#define FOREACH_TRACK(_, track_name) && SDL_strcmp(m_headers[*idx].name, track_name) != 0
|
||||
#define FOREACH_TRACK(_, track_name) && SDL_strcmp(m_headers[*idx].name, "data/" track_name) != 0
|
||||
TRACK_NAMES(_)
|
||||
#undef FOREACH_TRACK
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user