b6c949fa82
[GTK3] Add rumble mode setting
...
Also we now fall back to SDL_GameControllerRumble if a controller
doesn’t support the haptic feedback API.
This still poses problems with the WUP-028 but for now cou can disable
rumble completely if you want to use this controller adapter.
2020-05-19 02:33:24 +02:00
8c3154a061
[GTK3] Accept input from all connected controllers
...
Rumble will be used on the most recently used controller.
2020-05-19 02:33:24 +02:00
4075a13b61
[GTK3] Enable SDL2 HIPAPI controllers
2020-05-19 02:33:24 +02:00
6594edf1bf
[GTK3] Load and save ROM specific files
...
We now handle loading and saving of:
– Save files
– Cheats files
– Symbol files
2020-05-19 02:33:24 +02:00
8780aafe99
[GTK3] Use the audio abstraction of the SDL UI
2020-05-19 02:33:23 +02:00
9224b3f2ac
[GTK3] Convert to structured logging
2020-05-19 02:33:22 +02:00
e1a1c3efbd
[GTK3] Use SDL2 for audio and (hardcoded) controllers
2020-05-19 02:33:22 +02:00
4d4d272a5c
[GTK3] Implement OpenGL renderer prototype
2020-05-19 02:33:19 +02:00
bba05ac5b9
[GTK3] Add UI skeleton
2020-05-19 02:33:19 +02:00
Lior Halphon
7cff35368d
Port to C to remove the Python dep, remove leftovers
2020-05-06 23:30:01 +03:00
Jakub Kądziołka
cb738190be
Add a 2bpp CGB boot ROM logo, pending palettes
2020-05-03 22:45:23 +02:00
Lior Halphon
4c1f073d20
Fix error report
2020-04-29 20:59:19 +03:00
Lior Halphon
0f73282e4e
Actually allow it
2020-04-29 20:54:28 +03:00
Lior Halphon
03ea6dc708
Make builds possible without Xcode
2020-04-29 20:44:55 +03:00
Lior Halphon
5a14eb93c6
Merge branch 'master' into JoyKit
...
# Conflicts:
# Cocoa/Document.m
# Cocoa/GBView.h
# Cocoa/GBView.m
# Cocoa/joypad.m
# Cocoa/main.m
# Core/display.c
# Core/gb.h
# Core/save_state.c
2020-04-29 15:52:03 +03:00
Lior Halphon
1e54c55c11
Making libretro compile without warnings with GCC
2020-04-28 21:44:29 +03:00
Lior Halphon
8d016f19d2
Move the audio code to a different file
2020-04-28 20:01:22 +03:00
Lior Halphon
65fb6afd60
Make fixes
2020-04-25 17:57:19 +03:00
Lior Halphon
66112f4930
That wasn't enough to fix it, I'll just disable this warning
2020-04-25 14:55:51 +03:00
Lior Halphon
c62704e26b
Minor fix for GCC's LTO
2020-04-25 14:51:17 +03:00
Lior Halphon
17c97c3c2b
Use brew's SDL2 on macOS
2020-04-25 13:59:31 +03:00
Lior Halphon
ddad913e06
OK this time it will work.
2020-04-24 21:59:51 +03:00
Lior Halphon
8ac029d3fe
Truly truly fix #249 , fix #251
2020-04-24 21:06:44 +03:00
Lior Halphon
198942b273
Truly fix #249 , fix #251
2020-04-24 21:00:30 +03:00
Lior Halphon
634dcefd01
Typo
2020-04-24 20:44:25 +03:00
Lior Halphon
d38fd41b0e
Reorder flags so -Wpartial-availablility is affected by -Wno-unknown-warning -Wno-unknown-warning-option, fixes #249 , fixes #251
2020-04-24 20:18:56 +03:00
Lior Halphon
0c3db932b2
Fix Mavericks compatibility
2020-04-11 18:19:15 +03:00
Lior Halphon
852a6997ed
Add cheats UI to Cocoa
2020-04-11 18:03:10 +03:00
Lior Halphon
0737655753
Merge branch 'master' into JoyKit
2020-01-03 23:42:25 +02:00
Lior Halphon
23c7fb2885
Update version, update copyright year
2020-01-01 23:43:36 +02:00
Lior Halphon
e9f6667cf5
Minor build cleanup
2020-01-01 23:36:15 +02:00
Lior Halphon
3882b1b4b9
Fix Windows build, hopefully fix High DPI support on Windows 10 ( fixes #202 )
2020-01-01 00:27:41 +02:00
Lior Halphon
8a99d41c31
Fix broken SDL builds on macOS and Windows
2019-12-26 02:00:58 +02:00
Anthony J. Bentley
7c9508ae96
Include the canonical SDL2 path, which drops the SDL2/ prefix.
...
Use pkg-config or sdl2-config to determine SDL and GL compilation flags.
2019-12-10 00:56:34 -07:00
Lior Halphon
70542137f2
Fix #214
2019-10-29 20:31:20 +02:00
Lior Halphon
0ece21bca7
Replace the SDL-derived controller support with my own JoyKit framework. Adds rumble support, LED support, better manual and automatic configurations, analog speed controls.
2019-10-19 19:26:04 +03:00
Lior Halphon
0c48ecb3f8
Updated version to 0.12.2
2019-09-14 20:06:01 +03:00
Lior Halphon
0857abe6a4
Merge pull request #190 from pinobatch/master
...
cgb_boot: Compress logo with PB8
2019-07-17 00:15:41 +03:00
Damian Yerrick
4504de828a
cgb_boot: Compress logo with PB8
...
The logo is compressed using PB8, a form of RLE with unary-coded
run lengths. Each block representing 8 bytes consists of a control
byte, where each bit (MSB to LSB) is 0 for literal or 1 for repeat
previous, followed by the literals in that block.
PB8 compression is also used in a few NES games. A variant called
PB16, where 1 means repeat 2 bytes back, is used in the Game Boy
port of 240p Test Suite and in Libbet and the Magic Floor.
Switching from logo-compress RLE to PB8 decreases the compressed
logo data size from 287 bytes to 253 bytes, saving 34 bytes.
The decompression code is also about 10 bytes smaller.
2019-07-16 16:58:16 -04:00
Lior Halphon
1bf5fb208f
Silence an unwanted GCC warning
2019-07-16 23:41:05 +03:00
Lior Halphon
23229f1118
Update version to 0.12.1
2019-06-22 19:12:12 +03:00
Lior Halphon
970a5f562b
Fix #183
2019-06-22 18:16:55 +03:00
Lior Halphon
f1b578fd2e
Update version to 0.12, update copyright year
2019-06-21 19:20:51 +03:00
Lior Halphon
72d1d9b154
Fix Windows build
2019-06-21 17:08:10 +03:00
Lior Halphon
8389c6a450
Long overdue capitalization fixes
2019-06-14 14:31:17 +03:00
Jakub Kądziołka
c678407d1e
Compress the Sameboy logo. 117 bytes are now free
2019-06-10 17:45:14 +02:00
Lior Halphon
bb7fa95426
Fix incorrect register values when changing the color palette via the boot ROM
2019-06-08 13:37:49 +03:00
Lior Halphon
cdc36f329e
Added open dialog to the SDL GUI, misc fixes
2019-06-01 14:29:46 +03:00
Anthony J. Bentley
07bdc60a49
Use dd instead of non-POSIX head(1) options to trim bootroms.
2019-05-11 21:38:32 -06:00
Lior Halphon
ddc4e7484b
Fix and restore optimization
2019-05-10 22:29:30 +03:00