Commit Graph

1301 Commits

Author SHA1 Message Date
Maximilian Mader 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
Maximilian Mader 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
Maximilian Mader 4075a13b61
[GTK3] Enable SDL2 HIPAPI controllers 2020-05-19 02:33:24 +02:00
Maximilian Mader 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
Maximilian Mader 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
Maximilian Mader 89080ef47e
[GTK3] Move loose state variables into GuiData struct 2020-05-19 02:33:24 +02:00
Maximilian Mader a08e1d1c83
[GTK3] Get rid of main.h 2020-05-19 02:33:24 +02:00
Maximilian Mader 8780aafe99
[GTK3] Use the audio abstraction of the SDL UI 2020-05-19 02:33:23 +02:00
Maximilian Mader 15d949e338
[GTK3] Try to reset VRAM viewer when closing a ROM 2020-05-19 02:33:23 +02:00
Maximilian Mader c00946ea2e
[GTK3] Implement the app.close action 2020-05-19 02:33:23 +02:00
Maximilian Mader e42d16290d
[GTK3] Implement ROM loading from open file dialog 2020-05-19 02:33:23 +02:00
Maximilian Mader 9b360ef292
[GTK3] Add DMG color palettes 2020-05-19 02:33:23 +02:00
Maximilian Mader 836cb024b5
[GTK3] Add the MonoLCD shader to the selection 2020-05-19 02:33:23 +02:00
Maximilian Mader b142227577
[GTK3] Implement the new SGB border options 2020-05-19 02:33:23 +02:00
Maximilian Mader 5b79094293
[GTK3] Make use of GB_set_boot_rom_load_callback 2020-05-19 02:33:23 +02:00
Maximilian Mader 53934aedec
[GTK3] Add the new frame blending modes to the GUI 2020-05-19 02:33:23 +02:00
Maximilian Mader 16c040d2d2
[GTK3] Clear sidebar in async input requests 2020-05-19 02:33:23 +02:00
Maximilian Mader 8f9d24c1e8
[GTK3] Implement debugger console sidebar 2020-05-19 02:33:23 +02:00
Maximilian Mader b428995126
[GTK3] Reflect CLI model override in GUI 2020-05-19 02:33:22 +02:00
Maximilian Mader a53d7f1e92
[GTK3] Add debug console prompt 2020-05-19 02:33:22 +02:00
Maximilian Mader 29ce04ff8a
[GTK3] Move &gb accesses on vblank to emu thread 2020-05-19 02:33:22 +02:00
Maximilian Mader a1b464bd23
[GTK3] Implement rewind, turbo and slow-motion 2020-05-19 02:33:22 +02:00
Maximilian Mader 9224b3f2ac
[GTK3] Convert to structured logging 2020-05-19 02:33:22 +02:00
Maximilian Mader 6a9ca41970
[GTK3] Allow switching the emulated model 2020-05-19 02:33:22 +02:00
Maximilian Mader df9189448d
[GTK3] Implement more menu handlers
Also fix some memory leaks.
2020-05-19 02:33:22 +02:00
Maximilian Mader 10ac1bd0a5
[GTK3] Implement basic debug console (no sidebar) 2020-05-19 02:33:22 +02:00
Maximilian Mader e1a1c3efbd
[GTK3] Use SDL2 for audio and (hardcoded) controllers 2020-05-19 02:33:22 +02:00
Maximilian Mader 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
Maximilian Mader ba82da5f49
[GTK3] Implement VRAM tile information on hover 2020-05-19 02:33:22 +02:00
Maximilian Mader 94e1b397ca
[GTK3] Implement palette viewer 2020-05-19 02:33:21 +02:00
Maximilian Mader 36299d124a
[GTK3] Implement sprite viewer 2020-05-19 02:33:21 +02:00
Maximilian Mader bf2dc12fb9
[GTK3] Handle VRAM viewer tilemap and -set options 2020-05-19 02:33:21 +02:00
Maximilian Mader 0b3ad8bcfd
[GTK3] Make VRAM viewer button bar slimmer 2020-05-19 02:33:21 +02:00
Maximilian Mader 3de0d8fb6a
[GTK3] Automatic resizing of the VRAM viewer 2020-05-19 02:33:21 +02:00
Maximilian Mader 0270ed336e
[GTK3] Rename "gtkget" macro "builder_get" 2020-05-19 02:33:21 +02:00
Maximilian Mader cf0bfc6076
[GTK3] Implement tilemap scrolling rect 2020-05-19 02:33:21 +02:00
Maximilian Mader a032722e84
[GTK3] Add function to draw grids in VRAM viewer 2020-05-19 02:33:21 +02:00
Maximilian Mader bf8ac1f00d
[GTK3] Make GCC happier 2020-05-19 02:33:21 +02:00
Maximilian Mader 517ad73e64
[GTK3] Make dummy preference callbacks functional 2020-05-19 02:33:21 +02:00
Maximilian Mader 8e8e576460
[GTK3] Use logical ARGB byte order for image buffers 2020-05-19 02:33:20 +02:00
Maximilian Mader 8d0526fd1f
[GTK3] Add main.h and re-order main.c 2020-05-19 02:33:20 +02:00
Maximilian Mader c27e266cda
[GTK3] Allow multiple simultaneous instances 2020-05-19 02:33:20 +02:00
Maximilian Mader 8ce3b02833
[GTK3] Somewhat working GtkDrawingArea fallback 2020-05-19 02:33:20 +02:00
Maximilian Mader a83d6eca5b
[GTK3] Fix a few problems with the settings 2020-05-19 02:33:20 +02:00
Maximilian Mader 6c5dfece40
[GTK3] Implement hard-coded input handling 2020-05-19 02:33:20 +02:00
Maximilian Mader a243325b8c
[GTK3] Implement boot ROM search path preference 2020-05-19 02:33:20 +02:00
Maximilian Mader 023d43e893
[GTK3] More work on preferences done 2020-05-19 02:33:20 +02:00
Maximilian Mader 90c0447703
[GTK3] Handle config.boot_rom_path 2020-05-19 02:33:20 +02:00
Maximilian Mader 0d07a389ca
[GTK3] Make UI react to video config changes 2020-05-19 02:33:20 +02:00
Maximilian Mader fc81729533
[GTK3] Get color correction & highpass from config 2020-05-19 02:33:20 +02:00