mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Merge branch 'misc-fixes' into libretro-compat
This commit is contained in:
commit
8d574dfe64
3 changed files with 8 additions and 5 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -21,6 +21,9 @@ xxd+
|
|||
mkxp.layout
|
||||
mkxp.cbp
|
||||
|
||||
# clangd
|
||||
/.cache
|
||||
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
|
@ -74,4 +77,4 @@ DerivedData/
|
|||
!default.perspectivev3
|
||||
|
||||
## Gcc Patch
|
||||
/*.gcno
|
||||
/*.gcno
|
||||
|
|
|
@ -31,12 +31,12 @@ int main(int argc, char **argv) {
|
|||
const char *output = argv[2];
|
||||
const char *arrayname = argv[3];
|
||||
|
||||
std::ifstream inputf(input);
|
||||
std::ifstream inputf(input, std::ios::binary);
|
||||
if (!inputf.is_open()) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
std::ofstream outputf(output);
|
||||
std::ofstream outputf(output, std::ios::binary);
|
||||
if (!outputf.is_open()) {
|
||||
return 3;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ global_args += '-DHAVE_NANOSLEEP'
|
|||
# ====================
|
||||
|
||||
if is_libretro
|
||||
embedtool = executable('embedtool', sources: 'embedtool.cpp', native: true, override_options: [])
|
||||
embedtool = executable('embedtool', sources: 'embedtool.cpp', native: true, override_options: ['buildtype=release', 'b_coverage=false', 'b_lto=false', 'b_ndebug=false', 'b_pgo=off', 'b_sanitize=none'])
|
||||
|
||||
libretro_stage1_path = get_option('libretro_stage1_path')
|
||||
|
||||
|
@ -693,7 +693,7 @@ global_args += '-DMKXPZ_INIT_GL_LATER'
|
|||
|
||||
subdir('src')
|
||||
|
||||
embedtool = executable('embedtool', sources: 'embedtool.cpp', native: true, override_options: [])
|
||||
embedtool = executable('embedtool', sources: 'embedtool.cpp', native: true, override_options: ['buildtype=release', 'b_coverage=false', 'b_lto=false', 'b_ndebug=false', 'b_pgo=off', 'b_sanitize=none'])
|
||||
|
||||
subdir('binding')
|
||||
subdir('shader')
|
||||
|
|
Loading…
Add table
Reference in a new issue