Commit graph

1891 commits

Author SHA1 Message Date
Dimitris Panokostas
40ced7bc4a If the host resolution is less than 800x600, go full screen automatically 2020-02-06 12:14:32 +01:00
Dimitris Panokostas
406808dfe6 Simplified GUI screen updates 2020-02-06 12:14:07 +01:00
Dimitris Panokostas
996bcbe5ab Ensure we update the screen once when starting up 2020-02-06 10:07:17 +01:00
Dimitris Panokostas
a47c1f41f7 Cleanup in Navigation 2020-02-06 00:33:06 +01:00
Dimitris Panokostas
1e809165b2 Improved order of widgets in Config panel
Tab navigation didn't work properly
2020-02-06 00:32:12 +01:00
Dimitris Panokostas
bdde8cbf15 Further improved CPU usage in GUI windows 2020-02-06 00:31:20 +01:00
Dimitris Panokostas
bfe8a34b20 Only react to input events we care about
It seems that at least under X11, SDL2 sends events to the window constantly even when no user input has occurred.
This resulted in 100% cpu usage when having the GUI open, since for every event detected we were redrawing the screen for no reason.
With this change, we monitor only the kind of events we want to react upon, and perform the screen update when one of those is triggered.
2020-02-05 23:33:39 +01:00
Dimitris Panokostas
79b4c8dfe9 Guisan: added toggle button widget 2020-02-05 21:56:17 +01:00
Dimitris Panokostas
684a9b4bce Fixed #581 : could not create HDFs larger than 2GB
This was missed when adding support for 64-bit file operations, relevant link: https://stackoverflow.com/questions/730709/2gb-limit-on-file-size-when-using-fwrite-in-c
2020-02-05 21:39:17 +01:00
Dimitris Panokostas
700ddbffa0 Bump version to v3.1.1 2020-02-05 00:52:11 +01:00
Dimitris Panokostas
71a561ed23 Added defaults for H/V centering and scaling method (Fixed #577, fixed #576) 2020-02-05 00:41:43 +01:00
Dimitris Panokostas
d0ee05dfb0 Remove further references to obsolete Y Offset setting 2020-02-05 00:25:48 +01:00
Dimitris Panokostas
3d1aea2e65 Removed parsing of obsolete Y Offset option from WHDLoad booter 2020-02-05 00:22:08 +01:00
Dimitris Panokostas
e80850e4a3 Added 270 as Height option in GUI, improved behavior when loading from config (fixes #571)
If loading Width/Height values from a config file that don't exist in the list of presets, still honor that in the GUI
2020-02-05 00:11:38 +01:00
Dimitris Panokostas
4ab0e9eda8 Don't use FASTERCYCLES for RK3326 target, test USE_RENDER_THREAD 2020-02-04 23:20:14 +01:00
Dimitris Panokostas
bca10c7fff Do not inject random startup/track step bits if no drive is selected. Do not fall back to turbo mode if no drives are selected when disk dma is started. 2020-02-04 22:17:54 +01:00
Dimitris Panokostas
0eb150d1d5 Allow null config status output buffer. 2020-02-04 22:15:07 +01:00
Dimitris Panokostas
eaec12cf1d Refactored disk gui information. Show yellow border in OSD if disk is write protected. 2020-02-04 22:13:24 +01:00
Dimitris Panokostas
2d944f1014 Add dsk to autodetected extension list. 2020-02-04 21:58:49 +01:00
Dimitris Panokostas
6f64001927 Check and reject too large physical block sizes. 2020-02-04 21:52:23 +01:00
Dimitris Panokostas
dfdf600999 Ignore VisualGDB settings files 2020-02-04 16:14:14 +01:00
Dimitris Panokostas
06352b864b Removed FASTERCYCLES define from Go Advance 2020-02-04 11:03:24 +01:00
Dimitris Panokostas
5d9a466467 Don't apply Quickstart model options if we loaded a config on startup 2020-02-03 20:38:13 +01:00
Dimitris Panokostas
c6b3b1af26 Minor markdown improvements in README 2020-02-03 10:53:10 +01:00
Dimitris Panokostas
30062e91f2 JIT: reduced size of emitted code (30% smaller), slightly better performance 2020-02-03 10:52:55 +01:00
Dimitris Panokostas
e66e1e863f Removed unused font 2020-02-03 10:10:53 +01:00
Dimitris Panokostas
2c78c68e94 Default back to F12 for opening the GUI, if no assigned key was found 2020-02-03 00:08:25 +01:00
Dimitris Panokostas
dbbc33f782 Bump version to 3.1.0 2020-02-01 20:50:48 +01:00
Dimitris Panokostas
8314acd695 Fixed rotated emulation display 2020-02-01 13:04:28 +01:00
Dimitris Panokostas
a72be45c3a Improved rotation angle behavior 2020-02-01 12:44:50 +01:00
Dimitris Panokostas
1b68e246a3 Fixed rotatied picture was cropped in GUI 2020-02-01 12:42:28 +01:00
Dimitris Panokostas
c618efc0c5 Minor cleanup 2020-01-31 23:31:32 +01:00
Dimitris Panokostas
b5ca4367fd Removed reference to obsolete header 2020-01-31 22:22:29 +01:00
Dimitris Panokostas
29a5b31b66 Removed obsolete SDL1 files 2020-01-31 22:13:58 +01:00
Dimitris Panokostas
c47b8b5257 Bugfix JIT: FPU (32 bit), ORSR/EORSR/ANDSR, LINK/UNLK
Merged from TomB's fixes
2020-01-29 08:42:16 +01:00
Dimitris Panokostas
7ff924b89d Increased default window size to 800x600
- GUI window size is now 800x600 instead of 800x480
- Handle rotation better (WIP - not finished yet)
2020-01-26 22:47:55 +01:00
Dimitris Panokostas
96b11275d4 Fixed typo 2020-01-26 15:56:15 +01:00
Dimitris Panokostas
2df1227a59 Add some more logging when trying to open window 2020-01-25 21:42:27 +01:00
Dimitris Panokostas
c188ae0b5e Added SDL2 64-bit Go Advance target 2020-01-25 17:56:06 +01:00
Dimitris Panokostas
a59896d96d Added new amiberry.conf parameters
- Default open gui key
- Default quit key
- Rotation Angle
2020-01-25 16:49:22 +01:00
Dimitris Panokostas
e61e34e436 Set write_logfile option to default to no 2020-01-25 14:24:05 +01:00
Dimitris Panokostas
df105fd55b Fixed README
Non -dev libraries have different names
2020-01-25 12:40:21 +01:00
Dimitris Panokostas
1380143f82 Improved help for "model" command line option 2020-01-25 12:37:24 +01:00
Dimitris Panokostas
b1a4bacb8f Implemented Quickstart model selection as a command line option 2020-01-25 12:32:17 +01:00
Dimitris Panokostas
b8dc896422 Added special Go Advance target using libgo2 2020-01-24 13:10:58 +01:00
Dimitris Panokostas
f6d1248f7b Added libgo2 submodule
This is needed for the Odroid Go Advance target
2020-01-24 12:33:56 +01:00
Dimitris Panokostas
eab8b9088f Improve SDL2 config detection 2020-01-23 23:18:01 +01:00
Dimitris Panokostas
0b4b6e5beb Modified Odroid GO Advance target
Now named RK3326 and it's part of the Rockchip family of targets
2020-01-23 23:01:15 +01:00
Dimitris Panokostas
368edbd70d Added new target: Odroid Go Advance 2020-01-23 21:01:15 +01:00
Dimitris Panokostas
142f8c394d Implemented #562: Detach mouse with middle mouse button 2020-01-22 22:13:15 +01:00