Commit Graph

124 Commits

Author SHA1 Message Date
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