Commit Graph

175 Commits

Author SHA1 Message Date
Michael Buckley eefd3033cd Mac: Make escape key resume as well as pause 2020-09-07 13:59:39 -07:00
Michael Buckley c4cdc18068 Mac: Return hardware and software reset menu items 2020-09-07 13:54:19 -07:00
Michael Buckley a893ad05e3 Use strlcpy and strlcat in the Mac port 2020-09-07 11:23:05 -07:00
sbzappa 3eab70c1e1 Fixed support of MSU-1 audio files on MacOS.
Adjusted how MacOS specific implementation of S9xMSU1OpenFile builds up
paths when calling _makepath to allow for enumeration suffixes (e.g. -1.pcm).
2020-09-07 12:28:36 -04:00
Michael Buckley cfd8b299ba ADd compat.cpp to Mac port 2020-09-07 09:02:10 -07:00
BearOso e705e71a97 Remove S9xChooseMovieFilename
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-07 14:08:51 -05:00
BearOso f04f1bbe44 Remove S9xChooseFilename
This is integration of the frontend with the core. Disable
the snapshot button mappings that use it. Any frontend should
implement those port commands its own.
2020-08-07 14:08:51 -05:00
BearOso 063b3a959c Move _splitpath and _makepath into core. 2020-08-07 14:08:51 -05:00
BearOso e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
Michael Buckley 793b3f623f Allow building for Apple Silicon 2020-07-30 20:31:10 -07:00
Michael Buckley e3e3e287d8 Mac: Update for Xcode 12 2020-07-30 20:30:25 -07:00
Michael Buckley cb562b2e4c Mac: Remove 1-pixel border that was cutting into the window 2020-06-20 17:35:14 -07:00
Michael Buckley bdd7db354d Mac: Fix redraw issues on dual monitor setups when closing and reopening the window 2020-03-18 20:14:57 -07:00
Michael Buckley 09dc8f19c0 Mac: Fix pause fade after closing and reopening window 2020-03-18 17:54:18 -07:00
Michael Buckley a4b207cbaa Mac: Always save SRAM on window close and quit 2020-03-18 17:22:51 -07:00
Michael Buckley 7d028a4e74 Mac: Fix window redraw crash 2020-03-18 17:22:39 -07:00
Michael Buckley d6a0fa8ea5 Mac: Another fix to joypad hats 2020-03-01 17:19:23 -08:00
Michael Buckley 4d0b99ef12 Mac: Prevent centering analog stick from affecting hat values 2020-03-01 17:19:23 -08:00
Michael Buckley 0a9d83654b Mac: Make metal layer inherit content sale from window to fix issues swapping between retina and non-retina monitors 2020-03-01 16:59:00 -08:00
Eric Newport a35f6ce720 Fix Super Scope typo 2020-01-18 13:54:00 -05:00
Michael Buckley c7a2fc2290 Mac: Re-enable high resolution graphics 2020-01-17 06:30:23 -08:00
Michael Buckley 085ae9d8b6
Merge pull request #621 from gtalusan/master
Mac: make HID hat switches work
2020-01-16 08:14:54 -08:00
Michael Buckley 3b5f04a5d1 Fix joypads for multiple players 2020-01-15 20:23:05 -08:00
Michael Buckley e7c47ef25d Mac: Report button presses for all 8 players, not just the first 2 2020-01-15 20:10:10 -08:00
Michael Buckley 70b3345476 Mac: Fix keyboard implementation for players 2-8 2020-01-15 20:01:56 -08:00
Michael Buckley 404c01019f Mac: Fix keyboard preferences for players 2-8 2020-01-15 19:40:22 -08:00
George Talusan 173e882c7d Mac: make HID hat switches work 2020-01-13 00:50:48 -05:00
Michael Buckley b11657cd0f Mac: Fix HID parsing for gamepads 2020-01-12 15:47:58 -08:00
Michael Buckley 04692e1ee4
Merge pull request #619 from gtalusan/master
Mac: fix gamepad control on Catalina
2020-01-06 20:40:48 -08:00
George Talusan c4baea0acd Mac: fix gamepad control on Catalina 2020-01-06 11:25:21 -05:00
Michael Buckley c12415f351 Mac: fix a crash caused by a race condition when switching ROMs 2020-01-05 15:50:17 -08:00
Michael Buckley 303642e122 Mac: Implement blocky and smooth rendering modes in Metal renderer 2019-12-26 11:49:18 -08:00
Michael Buckley b12ca3e9e3 Mac: Remove render lock and fix freeze/defrost screen 2019-12-26 11:49:10 -08:00
Michael Buckley aa64f39dac Mac: Lightly tested Metal renderer 2019-12-24 18:02:00 -08:00
Michael Buckley 402fa9aed6 Mac: Replace os_unfair_lock with pthread_mutex_t, since os_unfair_lock is crashong on at least one computer 2019-12-24 18:01:22 -08:00
Michael Buckley 92645c8ab1 Add title to Mac preferences window 2019-12-24 18:01:10 -08:00
Michael Buckley 3d5240313b Fix dispaly on retina monitors 2019-11-27 16:08:12 -08:00
Michael Buckley ca52af63f4 Mac: Fix creating support folders when they don't exist 2019-11-27 16:08:12 -08:00
Michael Buckley 6582af1094 Mac: Use stick deadzones when configuring joypads 2019-11-27 16:08:12 -08:00
Michael Buckley 25863eed5c Mac: enable hardened runtime 2019-11-27 16:08:12 -08:00
Michael Buckley c618f18b5d Mac: Disable setting type and creator codes for now. It's not working on Catalina. 2019-11-27 16:08:12 -08:00
Michael Buckley 358370a36b Set the minimum window size to avoid display issues with the freeze/defrost screen 2019-11-27 16:08:12 -08:00
Michael Buckley ad606d0fc5 Mac: Remove printfs from resource fork functions 2019-11-27 16:08:12 -08:00
Michael Buckley cd4f69b65a Mac: fix controls getting "stuck" when combined with modifier keys 2019-11-27 16:08:12 -08:00
Michael Buckley ef30c1626a Mac: Fix fullscreen 2019-11-27 16:08:12 -08:00
Michael Buckley 37a84fa54b Mac: reject keyboard output when the app is in the background 2019-11-27 16:08:12 -08:00
Michael Buckley 32727b822f Mac: Fix Freeze/Restore Screen 2019-11-27 16:08:12 -08:00
Michael Buckley 81fb0d16ad Mac: fix pausing emulation when window is closed 2019-11-27 16:08:12 -08:00
Michael Buckley bb619e5597 Mac: pause emulation when the user clicks the view 2019-11-27 16:08:12 -08:00
Michael Buckley 629296a5c4 Dim the screen when emulation is paused 2019-11-27 16:08:12 -08:00
Michael Buckley 8117af03b1 COnfigurable joypad controls and video options 2019-11-27 16:08:12 -08:00
Michael Buckley b52cc5ee8b Make keyboard controls configurable 2019-11-27 16:08:12 -08:00
Michael Buckley b11472c744 Add Mac file icons back in 2019-11-27 16:08:12 -08:00
Michael Buckley de248230b7 Fix race condition that could cause crash on exit 2019-11-27 16:08:12 -08:00
Michael Buckley 38a4b9b3b5 Remove unused menu items and fix quitting when no ROM is loaded 2019-11-27 16:08:12 -08:00
Michael Buckley ee85987d73 Update the documentation 2019-11-27 16:08:12 -08:00
Michael Buckley ece780059e Restore Mac function buttons 2019-11-27 16:08:12 -08:00
Michael Buckley 6fcfe8c3f8 Fix NULL dereference bug 2019-11-27 16:08:12 -08:00
Michael Buckley 0d87a035b8 Add app icon back in 2019-11-27 16:08:12 -08:00
Michael Buckley 5690beb260 New joypad implementation without configuration UI 2019-11-27 16:08:12 -08:00
Michael Buckley 296650e2c7 Rearrange mac controls to be configured by player, reducing the number of button codes required 2019-11-27 16:08:12 -08:00
Michael Buckley 41bf8cef73 Rewrite keyboard input handling, importing from the Carbon prefs 2019-11-27 16:08:12 -08:00
Michael Buckley 0d698f666f Mac: fix rendering and placement of window 2019-11-27 16:08:12 -08:00
Michael Buckley e9edecd94f Mac: fix stretching when resizing window 2019-11-27 16:08:12 -08:00
Michael Buckley 5cf1aa0c0e Mac: Implement open recent menu 2019-11-27 16:08:12 -08:00
Michael Buckley 2ce70f130c Mac: set the default video mode to blocky 2019-11-27 16:08:12 -08:00
Michael Buckley 757cf7a347 Render on the foreground thread to allow resizing 2019-11-27 16:08:12 -08:00
Michael Buckley 366ce0b105 Get app running that can load ROMs and be controlled with the default key bindings. No configuration is yet possible. 2019-11-27 16:08:12 -08:00
Michael Buckley bc9d2cb2bc Migrate lproj folders 2019-11-27 16:08:12 -08:00
Michael Buckley 4bd6f30dc8 Add a framework target from the existing code, deleting or commenting out code that needs to be removed or updated until it compiles. Nothing works at this stage. 2019-11-27 16:08:05 -08:00
Michael Buckley 931ba0a601 Fix warnings about extra tokens after #ifdef directive 2019-11-22 21:25:46 -08:00
Michael Buckley c9840055ff Fix warnings about extra tokens after #undef directive 2019-11-22 21:25:46 -08:00
Michael Buckley 2af9a88744 Remove outdated pascal specifier 2019-11-22 21:25:46 -08:00
Michael Buckley d691cf052b Update musicbox.xib 2019-11-22 21:25:45 -08:00
Michael Buckley 6ac9150959 Add .gitignore for Mac 2019-11-22 21:25:45 -08:00
Michael Buckley ecd4069d19 Remove old Mac targets, add Mac 64-bit Intel target 2019-11-22 21:25:45 -08:00
Michael Buckley 16f1e9e539 Add contents.xcworkspacedata to repoistory 2019-07-04 09:46:44 -07:00
bearoso bf4e6f8b62
Merge pull request #523 from yoffy/unmacro-tile
Unmacro tile.cpp
2019-06-26 16:46:12 -05:00
Kenta Yoshimura 7603ed09d2 tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
Brandon Wright f70e072bd9 Revert to higher APU clock. 2019-04-12 12:10:51 -05:00
Brandon Wright 65c5995436 Update version number and start changelog. 2019-03-13 17:40:51 -05:00
Brandon Wright 76b6342ca1 Remove most of GFX_MULTI_FORMAT. 2019-03-07 17:14:51 -06:00
Brandon Wright ab1fa8d360 Update version to 1.59.2. 2019-02-27 20:36:00 -06:00
Brandon Wright fc4f476414 Bump version number to 1.59.1. 2019-02-27 19:02:56 -06:00
Brandon Wright f2069e8af9 Remove extra parameter from S9xInitSound
Explain disabling USE_SLANG in how2compile.txt
2019-02-27 11:02:22 -06:00
tmkk 064085b41c macosx: change default value for SoundInputRate and macSoundBuffer_ms, and apply the new value when running 1.59 for the first time 2019-02-23 14:52:11 +09:00
tmkk 9b26555183 macosx: change audio buffering strategy to comply with refactored APU engine 2019-02-23 14:49:33 +09:00
tmkk 09f0e3727e macosx: disable GUI buttons for deprecated sound options 2019-02-23 14:48:03 +09:00
tmkk 46653afb87 macosx: project file update 2019-02-23 14:44:01 +09:00
Brandon Wright aaadcf820f Bump version number and copyright date. 2019-02-20 16:25:56 -06:00
Brandon Wright 18d52cd0f5 Bump version number to 1.58. 2018-12-13 11:58:33 -06:00
Brandon Wright 5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
Brandon Wright e5aed9f8d5 Update 1.56.2 to 1.57 everywhere but appveyor. 2018-11-08 19:00:36 -06:00
tmkk 34af260682 macosx: explicitly set default values for new options 2018-08-29 18:17:10 +09:00
OV2 843c46053f macOS: only try to enable valid cheats 2018-07-03 20:42:34 +02:00
Marco Nett 5212cdb333
fixed variable rename oversight; typecasting 2018-06-28 22:45:43 +02:00
OV2 77c30172a4 macOS: try to use new cheat commands (incomplete format support) 2018-06-28 14:28:29 +02:00
Brandon Wright de593cbe6f Bump version number to 1.56.2. Update changes.txt. 2018-06-16 17:10:13 -05:00
Brandon Wright 3578139270 Bump version number. 2018-06-07 16:02:48 -05:00
Brandon Wright b64eaba633 Bump version number, except Appveyor. 2018-05-25 16:01:02 -05:00