mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-09-03 03:32:37 +02:00
Merge branch 'skmp/fix-windows-repack' into 'main'
use fopen directly in windows See merge request skmp/dca3-game!55
This commit is contained in:
@@ -33,6 +33,9 @@ struct WavHeader {
|
||||
#include "../miami/audio/sampman_dc_streams.h"
|
||||
#undef DCStreamedNameTable
|
||||
|
||||
#ifdef _WIN32
|
||||
#define fcaseopen fopen
|
||||
#else
|
||||
// Case-insensitivity on linux (from https://github.com/OneSadCookie/fcaseopen)
|
||||
// Returned string should freed manually (if exists)
|
||||
char* casepath(char const* path, bool checkPathFirst = true)
|
||||
@@ -165,6 +168,7 @@ FILE* fcaseopen(char const* filename, char const* mode)
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
int main(int argc, const char** argv) {
|
||||
|
||||
|
Reference in New Issue
Block a user