Commit graph

520 commits

Author SHA1 Message Date
Dimitris Panokostas
ba9166bfd0 Fixes for SDL1 after merge 2017-12-05 11:11:01 +01:00
Dimitris Panokostas
83d342c5de Fixed missing AMIBERRY define in Makefile (for SDL1) 2017-12-05 09:23:16 +01:00
Dimitris Panokostas
2e3f4bf5cb Updated Makefile to support both SDL1 and SDL2, for all targets 2017-12-05 09:12:43 +01:00
Dimitris Panokostas
cebfc8f823 Merged SDL1 and SDL2 projects 2017-12-04 15:49:40 +01:00
Dimitris Panokostas
0f52c165e6 Merge branch 'dev' of https://github.com/midwan/amiberry into dev 2017-12-04 15:46:51 +01:00
Dimitris Panokostas
a9368d0187 Revert "Merged SDL1 and SDL2 files in one project"
This reverts commit a37027576a.
2017-12-04 15:45:03 +01:00
Dimitris Panokostas
a37027576a Merged SDL1 and SDL2 files in one project 2017-12-04 15:26:04 +01:00
Dimitris Panokostas
d855153618 Switched to using SDL_SCANCODES for remap list 2017-12-04 09:43:41 +01:00
Dimitris Panokostas
e5356b7f74 Fixed identation in host_input_button 2017-12-04 09:43:18 +01:00
Dimitris Panokostas
2f4b3c756c GUI code cleanup and minor improvements 2017-12-03 20:56:58 +01:00
Dimitris Panokostas
02414634e8 Updated guisan to latest version, fixes #80 2017-12-03 20:54:31 +01:00
Dimitris Panokostas
59f80f9d9b Code cleanup and minor improvements, brought back FocusBugWorkaround (still needed in guisan) 2017-12-03 12:26:52 +01:00
Dimitris Panokostas
f0f41db48c Added new font for SDL2, "AmigaTopaz" 2017-12-03 11:24:56 +01:00
Dimitris Panokostas
a68a933be9 Minor code improvements 2017-12-03 00:40:56 +01:00
Dimitris Panokostas
8d52955872 added preliminary new target in Makefile: pine64 2017-12-02 23:53:45 +01:00
Dimitris Panokostas
dad0cee3dd Updated VisualGDB "Release" project settings for SDL2 2017-12-02 23:53:21 +01:00
Dimitris Panokostas
5b3a81b487 Minor code improvements 2017-12-02 23:52:53 +01:00
Dimitris Panokostas
fc5fc64050 Code cleanup (proper identation) and minor fixes for main_window 2017-12-02 23:16:55 +01:00
Dimitris Panokostas
a83b196c0b Disabled Focus Workaround for SDL2 (unless we discover it's needed), Moved SDLJoystickClose outside GUI main loop 2017-12-02 22:31:52 +01:00
Dimitris Panokostas
f28afcc3e2 Recreated VisualGDB solution for SDL2 2017-12-02 20:55:53 +01:00
Dimitris Panokostas
f48016689b Updated guisan SDL2 references, to match what sdl2-config returns 2017-12-02 20:55:20 +01:00
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
bspinner
1cd72fd3d7 Added target for ODROID XU4 (#144)
Added Odroid XU4 target
2017-11-02 21:34:50 +01:00
Dimitris Panokostas
1766b7668e Updated VisualGDB projects to latest toolkit version 2017-10-25 19:58:18 +02:00
Dimitris Panokostas
6f50ed2af7 Updated VS solution to have relative include paths for project 2017-10-21 13:00:55 +02:00
Dimitris Panokostas
3f8afcad0c Updated VS solution for Stretch sources 2017-10-21 12:52:29 +02: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
00f869c2e2 Fixed #135 for SDL2 2017-10-17 19:28:49 +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
9e84ac2c49 Added profiler option in Makefile (disabled by default) 2017-10-05 13:25:11 +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
ec6e9611ac Fixed "quickstart.ico" in VS project, should had been marked as deployable content 2017-09-28 22:09:52 +02:00
Dimitris Panokostas
76ea4b497a Updated guisan Project settings in Visual Studio (correct deployment paths) 2017-09-28 21:55:26 +02:00
Dimitris Panokostas
c31ecdbe99 updated C++ syntax 2017-09-28 21:54:58 +02:00