Andrea Odetti
7d6439fefd
Introduce a LinuxFrame.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 20:25:42 +00:00
Andrea Odetti
675d1316a9
Add a Registry interface to for more flexibility on case by case usage.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 19:43:35 +00:00
Andrea Odetti
e0fd978d05
Fix missing call to ApplyNewConfig.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 13:32:59 +00:00
Andrea Odetti
05321679f8
Clarify what path is required.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-26 19:31:07 +00:00
Andrea Odetti
9b90335c63
Fix list of packages.
...
This fixes missing audio in Qt in a Pi3.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 22:39:46 +00:00
Andrea Odetti
eae49b3f41
Integrate AW changes about IPropertySheet.
2020-12-20 16:35:44 +00:00
Andrea Odetti
a04425bc67
Merge branch 'master' into retro2
2020-12-12 19:57:17 +00:00
Andrea Odetti
62c8b61a6b
Integrate upstream changes.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:57:04 +00:00
Andrea Odetti
254ea8dbf6
Build libretro on travis.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:39:22 +00:00
Andrea Odetti
edb93cbaa0
Integrate memory changes from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-11 08:28:16 +00:00
Andrea Odetti
74cb18a7a1
Remove most false positive valgrind results.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 13:28:29 +00:00
Andrea Odetti
1f6538f0b0
Fix build permission.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 15:49:48 +00:00
Andrea Odetti
2b6093861c
Add travis integration.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 15:29:57 +00:00
Andrea Odetti
861c87efd4
Remove pointless getScreenData() and shed some nanoseconds from screen repaint.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 13:38:56 +00:00
Andrea Odetti
2b3c189b07
Small changes to start - stop.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:22:35 +00:00
Andrea Odetti
40b37ccccb
Fix compilation error after merge.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 18:02:43 +00:00
Andrea Odetti
a5734cac10
Use GetAppleWindowTitle() from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 16:37:45 +00:00
Andrea Odetti
9fabc71464
Use existing function VideoGetAppWindowTitle().
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-27 18:55:07 +00:00
Andrea Odetti
8e6fc89384
From AW's master, AppleWin.cpp split.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-27 13:48:53 +00:00
Andrea Odetti
9cd8b22647
Use Frame.cpp from upstream.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-24 07:51:50 +00:00
Andrea Odetti
18dd63e7eb
Add suppressions for valgrind.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-22 20:48:06 +00:00
Andrea Odetti
cadb72442a
Use Video.cpp "as is".
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-22 09:36:28 +00:00
Andrea Odetti
e2ea9c5f22
Marginally better benchmark calculation.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-21 21:01:34 +00:00
Andrea Odetti
dec8b54a9e
Write more accurate audio diagnostics.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-21 09:15:46 +00:00
Andrea Odetti
7a9ed38326
Follow upstream capitalisation of AppleWin.cpp.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-15 15:44:06 +00:00
Andrea Odetti
c7f8bf1280
Handle volume in SDL.
...
Make volume loglinear everywhere.
Reduce default volume to avoid annoying loud reset beep.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-14 20:08:37 +00:00
Andrea Odetti
4ff7741a41
Fix previous sdl ppp commit, too messy to revert.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-12 18:52:52 +00:00
Andrea Odetti
c7a8c628e4
Changes required from upstream.
2020-11-12 18:43:04 +00:00
Andrea Odetti
3ba2cd6d98
SDL2 add audio.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-20 15:32:45 +01:00
Andrea Odetti
da37dfe17c
QApple fix name of video types.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-18 18:43:45 +01:00
Andrea Odetti
b5630539df
Bug fix about to using the correct CardManager.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-18 10:55:58 +01:00
Andrea Odetti
7037582907
Allow to turn the circle range of a gamepad to a square (as the Apple ][).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-17 19:19:46 +01:00
Andrea Odetti
d314546b11
Paddle: make raw interface to return values in [-1,1] to ease transformations.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-15 16:24:20 +01:00
Andrea Odetti
a72d19b386
Couple of fixes from upstream AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-12 20:58:32 +01:00
mariofutire@gmail.com
080198f88c
Rename ClosedApple -> SolidApple.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00
Andrea Odetti
039bfc04c3
Fix a couple of issues with RGB modes.
2020-10-07 20:45:31 +01:00
Andrea Odetti
ffddc18fe6
Dummy implementation of MultiByteToWideChar & WideCharToMultiByte.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-06 20:57:18 +01:00
Andrea Odetti
7010d9f6e1
Remove WCHAR not needed and change TCHAR to a define.
...
This helps QTCreator to show the string in the debugger.
Otherwise it would show just an array of bytes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-13 08:20:21 +01:00
Andrea Odetti
a310d50da4
applen: partially better way to locate resources if application is launched from different folder.
...
When loading snapshot, chdir so relative paths can be found.
Ensure endwin() is called.
Use an "int" to exit the process rather than a exit().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:24:27 +01:00
Andrea Odetti
5e2025d36c
Dummy load options for joystick and serial card to avoid warning on the screen.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-11 18:42:11 +01:00
Andrea Odetti
9c442468f5
Compile AW's Speaker.cpp and remove custom implementation.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-08 16:52:00 +01:00
Andrea Odetti
22125c9566
Add support for Base64A.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-07 20:13:43 +01:00
Andrea Odetti
40d3e822e9
Make resource interface based on "char *" as it is easier to detect a nullptr.
...
Can't change the return type to std::string.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-07 20:13:26 +01:00
Andrea Odetti
c9b4eb9aab
Fix the call to SetCurrentImageDir to be a path rather than a filename.
...
Load the path of the save state first as disks are relative to it.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-06 19:32:10 +01:00
Andrea Odetti
86ad2130a9
Make sure configuration is saved when a snapshot is loaded.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-06 19:29:18 +01:00
Andrea Odetti
a29e781de0
Reduce calls to chdir() and only do it before loading a snapshot as it helps with relative disk locations.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 18:07:13 +01:00
Andrea Odetti
16d17a3ab3
Partially revert memory leak fix(ed upstream).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 14:51:51 +01:00
Andrea Odetti
36e774ab6e
Merge branch 'master' into mockingboard
2020-07-05 14:43:42 +01:00
Andrea Odetti
38908c7d6d
Fix memory leak.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 14:42:56 +01:00
Andrea Odetti
74cab50cee
Remove dependency on std::filesystem and fix a compilation error.
2020-07-05 13:20:03 +01:00