Commit graph

2074 commits

Author SHA1 Message Date
Dimitris Panokostas
9f993083df Implemented Touch control for the GUI 2019-12-26 12:16:50 +01:00
Dimitris Panokostas
0c2b95631d Fix uae boot rom mode setting after load. 2019-12-23 10:48:21 +01:00
bspinner
277feed727 Fixes Android crash when leaving guisan (#564)
* Uses C++14 standard lib instead of GNU

GNU lead to compilation errors.

* Removes variables

Those are in the main Android.mk now and relative.

* Creates header file for amiberry_filesys for reuse in other files

* Adds prefix_with_application_directory_path for Android support

* Uses path prefixer to fix some crashes on Android

* Adds pattern for Android Studio (jetbrains) working file

* Removes unused compiler directive LIBMPEG2_PATH from Makefile

* Fixes startup behavior for Android

We are using the applications directory as our working directory now,
because SDCARD access will be limited in the future of Android.
Coming with that, we're also relying on `start_path_data` being
set correctly at startup instead of working around it during
loading of settings.

* Workaround for crash during startup

* Workaround for another crash during startup on Android

* Adds new code file scp.cpp to Android build

* Adds orig files to gitignore

* Fixes behaviour of prefix_with_application_directory_path

* Enables redirection of logs to Android's logcat

* Fixes misspelled compiler directive

* Sets renderer on SDLImageLoader instance for guisan

Otherwise it will crash on Android when leaving the GUI.
Crash happens starting in `ImageButton`'s destructor.
It calls destroy on the Image. That will lead to a crash in `SDLImage::free()`.
`mTexture` isn't set, because `mRenderer` is `null` after `SDLImage` construction

```cpp
SDLImage::SDLImage(SDL_Surface* surface, bool autoFree, SDL_Renderer* renderer)
    {
        mAutoFree = autoFree;
        mSurface = surface;
        mRenderer = renderer;
        if (renderer)
        {
                mTexture = SDL_CreateTextureFromSurface(renderer, surface);
                SDL_SetTextureBlendMode(mTexture, SDL_BLENDMODE_BLEND);
        }
    }
```
2019-12-23 10:43:44 +01:00
bspinner
a57736e2cd Amiberry GUI on Android comes up (#563)
* Uses C++14 standard lib instead of GNU

GNU lead to compilation errors.

* Removes variables

Those are in the main Android.mk now and relative.

* Creates header file for amiberry_filesys for reuse in other files

* Adds prefix_with_application_directory_path for Android support

* Uses path prefixer to fix some crashes on Android

* Adds pattern for Android Studio (jetbrains) working file

* Removes unused compiler directive LIBMPEG2_PATH from Makefile

* Fixes startup behavior for Android

We are using the applications directory as our working directory now,
because SDCARD access will be limited in the future of Android.
Coming with that, we're also relying on `start_path_data` being
set correctly at startup instead of working around it during
loading of settings.

* Workaround for crash during startup

* Workaround for another crash during startup on Android

* Adds new code file scp.cpp to Android build

* Adds orig files to gitignore

* Fixes behaviour of prefix_with_application_directory_path

* Enables redirection of logs to Android's logcat

* Fixes misspelled compiler directive
2019-12-23 10:43:35 +01:00
Dimitris Panokostas
8b15040881 Bumped to v3.0.11 2019-12-15 23:33:16 +01:00
Dimitris Panokostas
26cc2e3d32 Old border sprite hack disabled.
Sync with latest WinUAE sources
2019-12-15 23:32:45 +01:00
Dimitris Panokostas
bc8afd8f0b Fixed CD32 emulation would not start after 3.0.7 #556 2019-12-15 14:10:16 +01:00
Dimitris Panokostas
b4caddc088 Added scp.cpp in CMakeLists 2019-12-14 22:45:56 +01:00
Dimitris Panokostas
c7e8b6cd05 Fixed scp Makefile reference 2019-12-14 13:21:53 +01:00
Dimitris Panokostas
92e79abef3 Bumped version to v3.0.10 2019-12-14 13:17:48 +01:00
Dimitris Panokostas
5d1edbaefa Implemented support for SCP images #555 2019-12-14 13:17:13 +01:00
Dimitris Panokostas
1df2751f13 Bumped version to v3.0.9 2019-12-13 00:06:44 +01:00
Dimitris Panokostas
074d759126 Implemented better support for IPAC controllers
- Allows 2 joysticks to be recognized on one keyboard plugged in, these can be selected in the options
- You can now play 2-player amiga games with an iPac arcade cabinet (using retroarch mapping)
- Allows a generic setting which overrides the mouse speed for all games, this can be changed in amiberry.conf using "input_default_mouse_speed=45", the default is 100 as before.
- When using keyboards as joysticks, often the joysticks also pressed keys and caused two inputs across varying games, a new option has been added to amiberry.conf so that these keypresses are ignored if on "input_keyboard_as_joystick_stop_keypresses=yes", the default is false as before.
This is needed because playing 2-player kick off 2, the player 2 joystick was mapped as "up" to "r", which meant it kept triggering a Replay when the user pressed up
2019-12-13 00:05:47 +01:00
Dimitris Panokostas
8b38f48b3f Fixed comments 2019-12-12 22:35:13 +01:00
Dimitris Panokostas
491d86678a Fix identation 2019-12-12 22:35:03 +01:00
Dimitris Panokostas
c2e3e76f0b Improvements for #542
Don't attempt to get Joystick Axis or Button if it's not mapped (set to -1)
2019-12-11 23:53:32 +01:00
Dimitris Panokostas
560fb7d925 Formatting fixes in amiberry.cpp and amiberry_input.cpp 2019-12-11 23:10:13 +01:00
Dimitris Panokostas
8c545c2264 Ignore .user files 2019-12-11 23:02:09 +01:00
Dimitris Panokostas
8393b091c5 Updated VisualGDB project settings 2019-12-11 23:01:31 +01:00
Dimitris Panokostas
8d0061262e Added LePotato Libre Computer target 2019-12-11 14:59:04 +01:00
Dimitris Panokostas
269afdd6d4 Use the first available joystick with Axes/Buttons for GUI control, instead of Joystick 0 always 2019-12-09 18:58:27 +01:00
Dimitris Panokostas
c40fad4f5a Bumped version to v3.0.8 2019-12-09 18:16:57 +01:00
Dimitris Panokostas
de7d4ef617 More fixes for #542: Some joysticks have no Axes or Buttons, skip those 2019-12-09 18:15:05 +01:00
Dimitris Panokostas
fbc0149be9 Generate better partition HDF default geometry if size is >=1000M. 2019-12-09 18:00:22 +01:00
Dimitris Panokostas
443a0d2073 Fix CD32 CD boot after reset. 2019-12-09 17:56:17 +01:00
Dimitris Panokostas
a45874f1f9 Fix limit check. 2019-12-09 17:49:15 +01:00
Dimitris Panokostas
4768f8ed7d Fixed #542: Don't try to get joystick Axis if it has none 2019-12-07 12:31:35 +01:00
Dimitris Panokostas
6e91bfa4a0
Update README.md 2019-12-06 22:39:19 +01:00
Dimitris Panokostas
814c0628d2 Fixed old configs would break after new version string handling code 2019-12-05 08:42:32 +01:00
Dimitris Panokostas
297ea5b051 Bumped version to 3.0.6 2019-12-05 01:11:37 +01:00
Dimitris Panokostas
c1af64638f Fixed #549: Collision detection was broken sometimes 2019-12-05 01:10:41 +01:00
Dimitris Panokostas
b071ce0f8d Make sure we don't have any buffer overflows 2019-12-05 00:08:55 +01:00
Dimitris Panokostas
62079000c9 Fixed bug where the ROM filename would be missing the first character 2019-12-05 00:08:39 +01:00
Dimitris Panokostas
9ae9cfbeb7 If Z2 conflicts with PCMCIA addres space, disable PCMCIA. 2019-12-02 21:27:13 +01:00
Dimitris Panokostas
75f4de24ac Bumped version to v3.0.5 2019-12-02 21:20:42 +01:00
Dimitris Panokostas
48abe9326a Check horizontal scanline max. 2019-12-02 21:17:19 +01:00
Dimitris Panokostas
8f15b30283 DMA debugger sprite register fix. 2019-12-02 21:15:11 +01:00
Dimitris Panokostas
3e324b0ab4 Fixed Tinker board target platform in README #543 2019-12-02 16:01:44 +01:00
Dimitris Panokostas
693c44e514 Improved version string handling 2019-12-01 12:39:55 +01:00
Dimitris Panokostas
608150347f Added RPI dependency and fixed tinkerboard target 2019-11-27 20:58:46 +01:00
Dimitris Panokostas
047b5c5c01 Fixed #537: added version information in -h command-line option 2019-11-26 00:21:21 +01:00
Dimitris Panokostas
e5da2670b4 Bumped version to 3.0.4 2019-11-26 00:20:54 +01:00
Dimitris Panokostas
19d33e0fdf Fixed #539: Incorrect vsync calculation when using Dispmanx 2019-11-26 00:17:37 +01:00
Dimitris Panokostas
d67e54fcea Fixed frameskip for P96 modes 2019-11-23 13:16:03 +01:00
Dimitris Panokostas
4539fa0ec5 Bumped version to v3.0.3 2019-11-23 12:41:23 +01:00
Dimitris Panokostas
1466ae965b Fixed #538: Implemented GUI controls for display centering 2019-11-23 12:40:53 +01:00
Dimitris Panokostas
b756445a87 Added UAE Board ROM options in GUI 2019-11-23 11:25:35 +01:00
Dimitris Panokostas
3c395e97e0
Create FUNDING.yml 2019-11-22 09:11:39 +01:00
Dimitris Panokostas
6745cd845c Bumped version to v3.0.2 2019-11-19 23:40:32 +01:00
Dimitris Panokostas
b59afe192c Minor alignment with WinUAE files 2019-11-19 23:39:53 +01:00