Commit Graph

1709 Commits

Author SHA1 Message Date
Joakim L. Gilje
ae477a7c2a implement plat_vidapi_name and plat_vidapi so 86box knows about the qt renderers 2021-12-06 21:24:22 +01:00
Joakim L. Gilje
57cbff9ca1 Merge pull request #16 from Cacodemon345/qt
Remove redundant RtMidi checking
2021-12-06 20:14:35 +01:00
ts-korhonen
44873ba9b9 Make compatible with qt5-static build 2021-12-06 17:31:25 +02:00
ts-korhonen
6a0922f6de Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-06 13:53:40 +02:00
Cacodemon345
c376cca71e Fix mouse wheel scrolling 2021-12-06 16:33:25 +06:00
Cacodemon345
350246606e Remove redundant RtMidi checking 2021-12-06 15:52:19 +06:00
Joakim L. Gilje
28d1a43af7 fixed up qdatastream usage. use writeRawData() when creating hdd images. specify littleendian when creating floppy images 2021-12-06 10:50:58 +01:00
Joakim L. Gilje
37e29de342 include unordered_map 2021-12-06 10:41:14 +01:00
Joakim L. Gilje
07c9da30de configuration fixes
* moved CONFIG_MIDI and CONFIG_MIDI_IN to own blocks when constructing
  comboboxes in deviceconfig
* use Models::AddEntry in deviceconfig
* sub-handling of CONFIG_HEX16 and CONFIG_HEX20 in CONFIG_SELECTION
  block when constructing, and use corresponding config_setter
* make sure SCSI controller- and ISAMEM-deviceconfig calls up
  deviceconfig with an instance number
* midi input and midi output was mixed when constructing soundsettings
  when loading prev. settings
2021-12-06 10:29:53 +01:00
Joakim L. Gilje
c5b6ccb948 continued PR#12 into software renderer as well 2021-12-05 21:23:09 +01:00
Joakim L. Gilje
637f81998b fixed disabled/enabled for cassette, cartridge and floppy submenus 2021-12-05 21:22:32 +01:00
Joakim L. Gilje
af512c98cc PR #12 merged manually (Take video_filter_method into account when rendering, by @Cacodemon345) 2021-12-05 20:56:07 +01:00
Joakim L. Gilje
b9714a0914 PR #13 merged manually (EGLFS support by @Cacodemon345) 2021-12-05 20:51:59 +01:00
Joakim L. Gilje
4dd837cccf Merge pull request #15 from Cacodemon345/esckeyfix
Make Escape key work
2021-12-05 20:47:26 +01:00
Cacodemon345
3a52d62283 Make Escape key work 2021-12-05 16:01:04 +06:00
Cacodemon345
f2e6d79de4 Fix building with Wayland 2021-12-05 12:02:57 +06:00
ts-korhonen
6278f69cc1 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-05 03:03:52 +02:00
Joakim L. Gilje
a74afc3f1e added software renderer. split common functions prev.
in gleswidget to renderstack (a QStackWidget), which in
turn calls an actual renderer. added ability to target GLES
directly, but this is maybe uneeded.
2021-12-04 21:33:04 +01:00
Cacodemon345
5c2682ff8c Fix transparency/whiteness glitches on Wayland/macOS 2021-12-04 02:14:06 +06:00
ts-korhonen
2ae53720b9 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-03 17:23:31 +02:00
Joakim L. Gilje
b34737a7e7 removed atomic_bool for events => use standard mutex around the event state 2021-12-03 15:50:41 +01:00
Joakim L. Gilje
d4e9686cd9 couple of simplifications
* in paint: we can draw the m_image directly, no need to convert it
* in blit: static auto imagebits = m_image.bits(); should not be static
* in blit: we can bulk copy the entire image, no need to iterate horizontal lines
2021-12-03 15:12:23 +01:00
ts-korhonen
62440f2f15 Fix RtMidi linking errors 2021-12-03 16:01:32 +02:00
Joakim L. Gilje
df5d4e6cb6 Merge pull request #10 from Cacodemon345/patch-24
Fix linker errors on macOS
2021-12-03 15:00:33 +01:00
ts-korhonen
98072fc53f Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-03 15:59:10 +02:00
Cacodemon345
0a10cd10d6 Fix linking for real 2021-12-03 19:43:10 +06:00
Cacodemon345
22be61c09a Avoid setting RtMidi flags 2021-12-03 18:28:05 +06:00
Joakim L. Gilje
e31a0349c5 reenable mouse tracking, no mouse movement in x11 without 2021-12-03 12:58:30 +01:00
Joakim L. Gilje
4c98de9bcd don't need the reqUpdate_() slot, update is already a slot. lock the image data with a mutex 2021-12-03 12:57:56 +01:00
Cacodemon345
9a6c67f367 Fix linker errors on macOS 2021-12-03 16:42:31 +06:00
Joakim L. Gilje
363f582a81 code dump - mostly done implementing media menus 2021-12-03 11:38:00 +01:00
ts-korhonen
788abbfeb8 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-02 22:44:13 +02:00
Cacodemon345
e021b3460a Make external MIDI options actually appear in Settings 2021-12-03 02:12:35 +06:00
Cacodemon345
f7aec4cfcf Implement MIDI I/O support using RtMidi 2021-12-03 01:25:09 +06:00
Cacodemon345
f347c69dd0 Frameskip when needed
Fixes lockups.
2021-12-02 23:53:25 +06:00
ts-korhonen
b0a4f70fa9 Tweaks to support QT on Windows 2021-12-02 19:35:08 +02:00
Cacodemon345
fc9d73b541 Wayland mouse support
Fix moving items with mouse when captured on macOS
2021-12-02 16:26:33 +06:00
Cacodemon345
23dbb85fa8 Significantly improve renderer performance 2021-12-02 00:47:02 +06:00
Cacodemon345
88452f7957 Implement title bar statistics 2021-12-01 15:55:41 +06:00
Cacodemon345
ac52b32adb Keep emulator paused while settings is open
Reduces crashes
2021-12-01 14:50:49 +06:00
Cacodemon345
2297c33751 Fix macOS builds 2021-12-01 11:17:44 +06:00
Joakim L. Gilje
cee1c93d49 refactored machinestatus to update the qstatusbar 2021-11-30 22:06:41 +01:00
Joakim L. Gilje
a6f8e6b68e plugged in keyboard_isfsexit and keyboard_ismsexit to ungrab mouse and leave fullscreen 2021-11-30 21:29:58 +01:00
Joakim L. Gilje
358feb19cc fixed up fullscreen 2021-11-30 21:26:51 +01:00
Joakim L. Gilje
6c2d7bef4a promote the gleswidget to centralwidget via the .ui file 2021-11-30 21:18:25 +01:00
Joakim L. Gilje
7e38ff7d4d removed sdl from gleswidget, use slots to update mouse movement 2021-11-30 21:04:55 +01:00
Joakim L. Gilje
9cdb4f90ca only need to signal update when we've been blitted 2021-11-30 20:52:14 +01:00
Joakim L. Gilje
82f6f6f5e8 fixed up dynld_module, actually loads and sets pointers correct now (tested against libpcap) 2021-11-30 20:34:07 +01:00
Joakim L. Gilje
4cd5cb76d9 return null when dynld_module fails to load library 2021-11-30 20:20:53 +01:00
Joakim L. Gilje
6fb22514fa simplified macos_event_filter.mm inclusion, link to X11 if UNIX-and-not-Apple 2021-11-30 20:18:13 +01:00