Commit Graph

111 Commits

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