Commit graph

113 commits

Author SHA1 Message Date
刘皓
aef7eff511
Fix some compilation errors in standalone builds 2025-05-17 13:03:57 -04:00
刘皓
f162e8a494
Replace xxd with a custom executable
This removes the need to have xxd installed and provides a portable way
to specify the name of the output array (xxd has an `-n` option for
this, but it isn't present in older versions of xxd), which helps reduce
the possibility of symbol conflicts in libretro builds and also prevents
portability issues since the name of xxd's output array depends on the
relative path to the input file, which can break if Meson changes the
structure of the build directory or if the user sets the build directory
to a different location.

Also, this custom executable declares the array as const so that it goes
into the read-only data section of the binary instead of the data
section.
2025-02-27 22:55:22 -05:00
white-axe
64f61c0665
Remove forced enabling of enableBlitting on macOS 2024-09-02 15:44:25 -04:00
Splendide Imaginarius
0f67af1712
Merge pull request #60 from WaywardHeart/autohide-cursor
Autohide mouse cursor after half a second
2023-12-15 02:54:32 +00:00
Wayward Heart
ac3c216978 Fix building on older MacOS SDKs 2023-10-17 04:38:55 -05:00
Wayward Heart
21fac5a946 Autohide mouse cursor after half a second 2023-10-17 04:38:05 -05:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
Struma
eb300a9ef1 Adjust PhysFS and OpenAL errors a bit 2023-05-08 00:18:26 -04:00
Struma
54a3824557 Disallow being run from Downloads on macOS 2023-04-25 22:49:14 -04:00
Struma
36cdbb95b6 Allow overriding mkxp.json from uder data directory 2022-07-04 20:02:04 -04:00
Struma
158c988399 Make macOS happy. 2022-07-04 06:22:07 -04:00
Struma
5f4b644bd0 switch to a (mostly) functioning GameController API 2022-07-03 21:36:48 -04:00
Struma
ee74bffc83 Add integer scaling options 2022-07-03 06:59:46 -04:00
Struma
3fd3e757dd Try to force dedicated AMD graphics too, just in case 2022-07-03 03:37:21 -04:00
Struma
64dad2ad27 Good enough to release (?) 2022-01-23 18:29:08 -05:00
Struma
85fe2b070a miscellaneous garbage 2022-01-23 09:54:33 -05:00
Struma
56ef0ed900 allow enabling/disabling certain options through env 2022-01-23 08:21:59 -05:00
Struma
03c6cb20de always use native (ANGLE) blit on macOS 2022-01-21 01:01:31 -05:00
Struma
558942d8e7 Merge branch 'dev' into 'fix-windows-console'
# Conflicts:
#   src/config.cpp
2022-01-17 04:18:57 +00:00
Struma
8aa7fc7cc3 Use path select based on env rather than Debug
Building a Release seems to just break newer versions of ANGLE,
so now let's just use Debug always.
the environment variable `MKXPZ_SELECT_PATH`
can be set to any value to bring up the option to select a path
2022-01-16 22:56:58 -05:00
Struma
822b3ae550 support rendering using Metal 2022-01-16 19:57:50 -05:00
Joni Savolainen
f44d2bea1b Move Windows console init to the beginning of main
This is done to capture all potential messages to the debug console.
2022-01-16 18:30:05 +02:00
Joni Savolainen
6d9c144b65 Open Windows standard file descriptors before initializing Ruby 2022-01-16 14:34:55 +02:00
Joni Savolainen
e2ba8d4398 Revert "Allow queuing Debug prints"
This reverts commit ac778db752.
2022-01-16 13:21:40 +02:00
Joni Savolainen
ac778db752 Allow queuing Debug prints 2022-01-15 11:05:45 +02:00
Joni Savolainen
c2deb233e0 Set up Windows console during MRI init 2022-01-15 08:55:22 +02:00
Struma
cb270888ba add Touch Bar support 2022-01-14 10:33:43 -05:00
Struma
8288476b26 Move NvOptimusEnablement someplace that works 2021-09-30 21:14:28 -04:00
Struma
869f9d6918 Make defining steam appID for xcode release builds completely optional 2021-09-14 16:03:42 -04:00
Struma
ca596cbaf9 cleanup 2021-05-23 21:55:02 -04:00
Struma
699ffc0245 Support Retina displays 2021-05-21 16:28:51 -04:00
Joni Savolainen
7b28167551 Create a debug console on Windows 2021-03-15 11:22:05 +02:00
Struma
10f3d2655d Remove unnecessary SDL_free 2021-03-08 06:20:18 -05:00
Struma
653eb0118b Remove haptic code 2021-02-23 17:25:07 -05:00
Struma
6ae5aeebc1 Change default macOS game dir to Contents/Game 2021-02-19 14:29:36 -05:00
Struma
45abde59a9 Get ANGLE working on macOS, fixes crashes on ARM 2021-01-08 06:49:11 -05:00
Struma
4069863fa9 When debugging from Xcode, prompt for target path 2021-01-02 23:24:20 -05:00
Struma
7db1c1219e Prefix mkxp-z preprocessor definitions with MKXPZ_ 2020-12-31 14:50:07 -05:00
Struma
3d84529dbc Xcode, start GL in new thread depending on build OS version 2020-12-26 10:50:35 -05:00
Struma
0179e6a75b Revert "Remove haptics code"
Some part of this completely breaks the frame limiter.
I do not know which part
2020-12-25 19:41:16 -05:00
Struma
d565650975 Remove haptics code
It never worked anyway, as far as anyone knew, and is probably
not a feature anyone particularly needs.
2020-12-25 12:01:41 -05:00
Struma
4ef6b3c337 Do FilesystemImpl for meson builds 2020-11-22 04:51:36 -05:00
Struma
0e278c3e5c Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
Inori
3554e2b72f chdir() -> -[OFFileManager changeCurrentDirectoryPath:] 2019-12-15 20:51:55 -05:00
Inori
428c936a9c Only use -Wno-virtual-dtor with Apple clang 2019-10-23 02:27:26 -04:00
Inori
0d6d69c47a Suppress warnings left over from original project 2019-10-23 02:20:06 -04:00
Inori
2f3b3098c1 Exit rgss thread if GL initialization fails 2019-10-23 01:22:21 -04:00
Inori
0b3c49f074 Fix autopilot typo 2019-10-23 00:46:00 -04:00
Inori
2432aec97f Only create GL context in main thread on macOS 2019-10-23 00:41:50 -04:00
Inori
0dbc2b1a21 Add AppImage stuff 2019-10-22 02:30:07 -04:00