Commit graph

459 commits

Author SHA1 Message Date
Dimitris Panokostas
18ddca9f6b Fixed crash when refreshing PanelInput in SDL2 2017-12-02 20:54:37 +01:00
Dimitris Panokostas
62e8a2c58f Fix for #160 - Desktop GL headers were used by guisan, instead of SDL_opengl 2017-12-01 21:58:30 +01:00
Dimitris Panokostas
709244ad9e Fixes for SDL2 after merge from sdl1-dev branch 2017-11-30 14:26:58 +01:00
Dimitris Panokostas
d2c43c114b WIP - merge latest sdl1-dev changes into sdl2-dev (warning, not fully checked yet, may crash!) 2017-11-29 00:54:20 +01:00
bspinner
6e0ab8ae90 Handle missing cursor support correctly (#153)
* Fixes whitespaces

* Fix DEBUG builds for odroid xu4

* Fixes log filename and adds flag to Makefile

* More whitespace

* Keeps cursor disabled if unsupported

Without these changes, the cursor will be activated but not drawn.
This commit disables the cursor if implementation for current gfx is
missing.
Moreover, the cursorSurface will be freed after use.
2017-11-14 21:42:09 +01:00
Dimitris Panokostas
05b4193a99 Fixed second typo in #139 for SDL2 2017-11-05 21:07:46 +01:00
bspinner
059c94f088 Fixes a crash due to missing mode with WHDload (#147)
* Fixes a crash due to missing mode with WHDload

See documentation for open:
https://linux.die.net/man/2/open

> mode specifies the permissions to use in case a new file is created. This argument must be supplied when O_CREAT is specified in flags; if O_CREAT is not specified, then mode is ignored. The effective permissions are modified by the process's umask in the usual way: The permissions of the created file are (mode & ~umask). Note that this mode only applies to future accesses of the newly created file; the open() call that creates a read-only file may well return a read/write file descriptor.

* Fixes stupid typo/error
2017-11-05 20:47:18 +01:00
Dimitris Panokostas
d747a5b3a7 Fixed typo reported in #139 for SDL2 branch 2017-11-04 21:03:03 +01:00
bspinner
b4e8e43c0d Fixes typo: Cardridge -> Cartridge (#145) 2017-11-04 08:50:45 +01:00
Dimitris Panokostas
23942741c6 Fixed include path for SDL_ttf (would not work on SDL2) 2017-10-21 12:51:49 +02:00
Dimitris Panokostas
f046e3d651 Only use SoftFloat conversions on Pandora 2017-10-19 00:10:30 +02:00
Dimitris Panokostas
87f0be1d73 Fixed #100 for SDL2 (CD32 resolution was lower than normal) 2017-10-17 18:53:33 +02:00
Dimitris Panokostas
4e46022716 Fixed vertical centering of non-Picasso screens 2017-09-30 20:41:55 +02:00
Dimitris Panokostas
067614fd85 Removed unused code 2017-09-30 15:48:47 +02:00
Dimitris Panokostas
d1d8393ed6 - Fixed incorrect colors in ECS screenmodes
- Removed some unneeded code
- Synced some parts with the SDL1 codebase
2017-09-30 14:31:47 +02:00
Dimitris Panokostas
9436c8ffbf - Fixed left mouse button not being recognized 2017-09-30 13:58:11 +02:00
Dimitris Panokostas
837ac8bebf - Fixed potential crash when opening Picasso96 screens
- Removed some unused functions
2017-09-30 12:47:10 +02:00
Dimitris Panokostas
a7ed7a59e9 Fixed some compiler warnings 2017-09-30 12:32:12 +02:00
Dimitris Panokostas
0646927e7a Brought back several PANDORA specific items, using #ifdef PANDORA to enable them conditionally 2017-09-29 17:21:56 +02:00
Dimitris Panokostas
9d8dc58b19 -Fixed RASPBERRY not being renamed to AMIBERRY on some places
-Updated the project to include a DEBUG pre-launch option, so we don't have to change the Makefile every time
-Updated the Makefile to comment out DEBUG
2017-09-28 23:56:40 +02:00
Dimitris Panokostas
c31ecdbe99 updated C++ syntax 2017-09-28 21:54:58 +02:00
Dimitris Panokostas
b1428fd5bc Fixed crash in Configs panel, when loading a config 2017-09-28 21:54:11 +02:00
Dimitris Panokostas
bf1e07c5a9 Fixes after merge 2017-09-27 22:37:23 +02:00
Dimitris Panokostas
71408f5db5 Synced most files with latest uae4arm sources (2017-09-22) 2017-09-27 00:15:50 +02:00
Dimitris Panokostas
de12113018 Fix potential overflow when reading very long Controller ID string 2017-09-21 18:47:30 +02:00
Dimitris Panokostas
1b965d938c WIP - Fixes after merge 4 2017-09-19 17:04:17 +02:00
Dimitris Panokostas
7bc131d023 WIP - Fixes merge 3 (it now compiles fully) 2017-09-19 14:24:41 +02:00
Dimitris Panokostas
5adf64a276 WIP - Fixes after merge #2 (GUI updates) 2017-09-18 17:36:45 +02:00
Dimitris Panokostas
05387498c0 WIP - Cleanup after merge #1 2017-09-18 12:54:23 +02:00
Dimitris Panokostas
a2850730e0 WIP - merge from Pandora's port 2017-09-18 10:41:47 +02:00
Dimitris Panokostas
b77413c681 Custom controls management 2017-04-24 22:42:49 +02:00
Dimitris Panokostas
8ed901d54d Reworked Custom Controls, now allows mapping to any key. 2017-04-23 22:23:19 +02:00
Dimitris Panokostas
9918df5a8e Reworked Misc function mapping to keys (and now controller buttons), changed relevant options to string instead of int 2017-04-23 18:11:40 +02:00
Dimitris Panokostas
66bdc85c1e Fixed #98, moved all Amiberry-specific options under the prefix "amiberry." 2017-04-23 00:16:19 +02:00
Dimitris Panokostas
17119973ca Fixed #97, #75, #63 now actually saving/loading Custom Control settings properly 2017-04-22 18:43:05 +02:00
Dimitris Panokostas
eeea4d17ba Fixes for #96 2017-04-22 16:48:41 +02:00
Dimitris Panokostas
a853165ca8 Fix more potential buffer overflows in paths #92 2017-04-21 22:27:47 +02:00
Dimitris Panokostas
91e2dac3d9 Fixed #92 2017-04-21 20:57:55 +02:00
fogobogo
f1b82ee041 fix compilation without gperftools (#87)
* fix compilation without gperftools

the -ltcmalloc get pulled in by gperftools

* fix buffer overflow

This might not be the last one...

* fix potential buffer overflow

Some still remain because I'm unsure of their function.
Just simple fixes for now.

* fix even more potential overflows

Those need testing. It seems a lot variables are hardcoded there
but since it matches NAME_MAX it should be safe to use 255 as a
value.
2017-04-21 10:15:33 +02:00
Dimitris Panokostas
4b6ecbaab7 Added arm_helper for RPI1 platforms, moved gperftools to DEBUG only 2017-04-20 13:30:02 +02:00
Dimitris Panokostas
e4d9e40563 Fix keyboard navigation regarding Hard disks / CD panel 2017-04-19 22:30:21 +02:00
Dimitris Panokostas
ad634a4543 Increased filename size for Floppy Panel (#85) 2017-04-19 01:48:44 +02:00
Dimitris Panokostas
78ed4b85e4 Only enable profiler when DEBUG is set 2017-04-19 01:31:57 +02:00
Dimitris Panokostas
134c7bdc3a Increase path/file related buffers to system limits instead of hardcoded values (#85) 2017-04-19 01:06:14 +02:00
Dimitris Panokostas
5baf5b0a38 Custom mapping improvements 2017-04-18 00:38:11 +02:00
Dimitris Panokostas
dcece9256c Renamed functions 2017-04-17 01:05:35 +02:00
Dimitris Panokostas
04f410d5ca Added ShowMessage version for custom key mapping 2017-04-16 23:13:55 +02:00
Dimitris Panokostas
0fb37784de GUI color scheme improvements, controls placement improvements, internal cleanup 2017-04-16 00:50:58 +02:00
Dimitris Panokostas
d129dd6e05 Tweaked color scheme for a more AmigaOS 3.x look 2017-04-14 00:06:59 +02:00
Dimitris Panokostas
ac2f8b70d6 Removed Display size settings (not needed anymore) 2017-04-14 00:05:31 +02:00