Commit Graph

66 Commits

Author SHA1 Message Date
f46d35528b
[GTK3] Prevent startup crash on Wayland sessions 2020-05-19 02:33:25 +02:00
65fe7f2f9c
[GTK3] Add analog speed controls 2020-05-19 02:33:25 +02:00
008db16fb5
[GTK3] Disable rumble for the WUP-028 for now 2020-05-19 02:33:24 +02:00
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
3fe57f976c
[GTK3] Implement rumble for controller one
Now we store references to all initialized controllers but
use only controller #0 for now.
2020-05-19 02:33:24 +02:00
4042b7f38c
[GTK3] Make keyboard inputs less hardcoded
The mapping is now saved in a modifiable array
instead of being hardcoded into a switch-case
statement.
2020-05-19 02:33:24 +02:00
4075a13b61
[GTK3] Enable SDL2 HIPAPI controllers 2020-05-19 02:33:24 +02:00
4ac7c0dd0d
[GTK3] Add GB_debugger_load_symbol_file_from_buffer
Now we don’t have to rely on GB_INTERNAL anymore.
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
89080ef47e
[GTK3] Move loose state variables into GuiData struct 2020-05-19 02:33:24 +02:00
a08e1d1c83
[GTK3] Get rid of main.h 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
15d949e338
[GTK3] Try to reset VRAM viewer when closing a ROM 2020-05-19 02:33:23 +02:00
c00946ea2e
[GTK3] Implement the app.close action 2020-05-19 02:33:23 +02:00
e42d16290d
[GTK3] Implement ROM loading from open file dialog 2020-05-19 02:33:23 +02:00
9b360ef292
[GTK3] Add DMG color palettes 2020-05-19 02:33:23 +02:00
836cb024b5
[GTK3] Add the MonoLCD shader to the selection 2020-05-19 02:33:23 +02:00
b142227577
[GTK3] Implement the new SGB border options 2020-05-19 02:33:23 +02:00
5b79094293
[GTK3] Make use of GB_set_boot_rom_load_callback 2020-05-19 02:33:23 +02:00
53934aedec
[GTK3] Add the new frame blending modes to the GUI 2020-05-19 02:33:23 +02:00
16c040d2d2
[GTK3] Clear sidebar in async input requests 2020-05-19 02:33:23 +02:00
8f9d24c1e8
[GTK3] Implement debugger console sidebar 2020-05-19 02:33:23 +02:00
b428995126
[GTK3] Reflect CLI model override in GUI 2020-05-19 02:33:22 +02:00
a53d7f1e92
[GTK3] Add debug console prompt 2020-05-19 02:33:22 +02:00
29ce04ff8a
[GTK3] Move &gb accesses on vblank to emu thread 2020-05-19 02:33:22 +02:00
a1b464bd23
[GTK3] Implement rewind, turbo and slow-motion 2020-05-19 02:33:22 +02:00
9224b3f2ac
[GTK3] Convert to structured logging 2020-05-19 02:33:22 +02:00
6a9ca41970
[GTK3] Allow switching the emulated model 2020-05-19 02:33:22 +02:00
df9189448d
[GTK3] Implement more menu handlers
Also fix some memory leaks.
2020-05-19 02:33:22 +02:00
10ac1bd0a5
[GTK3] Implement basic debug console (no sidebar) 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
e38b0e40fa
[GTK3] Run the emulation in its own thread
The code has not been checked for thread safety yet!
2020-05-19 02:33:22 +02:00
ba82da5f49
[GTK3] Implement VRAM tile information on hover 2020-05-19 02:33:22 +02:00
94e1b397ca
[GTK3] Implement palette viewer 2020-05-19 02:33:21 +02:00
36299d124a
[GTK3] Implement sprite viewer 2020-05-19 02:33:21 +02:00
bf2dc12fb9
[GTK3] Handle VRAM viewer tilemap and -set options 2020-05-19 02:33:21 +02:00
0b3ad8bcfd
[GTK3] Make VRAM viewer button bar slimmer 2020-05-19 02:33:21 +02:00
3de0d8fb6a
[GTK3] Automatic resizing of the VRAM viewer 2020-05-19 02:33:21 +02:00
0270ed336e
[GTK3] Rename "gtkget" macro "builder_get" 2020-05-19 02:33:21 +02:00
cf0bfc6076
[GTK3] Implement tilemap scrolling rect 2020-05-19 02:33:21 +02:00
a032722e84
[GTK3] Add function to draw grids in VRAM viewer 2020-05-19 02:33:21 +02:00
bf8ac1f00d
[GTK3] Make GCC happier 2020-05-19 02:33:21 +02:00
517ad73e64
[GTK3] Make dummy preference callbacks functional 2020-05-19 02:33:21 +02:00
8e8e576460
[GTK3] Use logical ARGB byte order for image buffers 2020-05-19 02:33:20 +02:00
8d0526fd1f
[GTK3] Add main.h and re-order main.c 2020-05-19 02:33:20 +02:00
c27e266cda
[GTK3] Allow multiple simultaneous instances 2020-05-19 02:33:20 +02:00
8ce3b02833
[GTK3] Somewhat working GtkDrawingArea fallback 2020-05-19 02:33:20 +02:00
a83d6eca5b
[GTK3] Fix a few problems with the settings 2020-05-19 02:33:20 +02:00
6c5dfece40
[GTK3] Implement hard-coded input handling 2020-05-19 02:33:20 +02:00