Andrea Odetti
0b3e57d934
Rewrite the way full speed works.
...
This is more and more similar to AppleWin's logic.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-07 18:34:17 +01:00
Andrea Odetti
2d60d802a2
Normalise paths.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 18:21:44 +01:00
Andrea Odetti
dfae404334
Fix option parsing.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 06:53:57 +01:00
Andrea Odetti
db2f9be009
sa2: add some logic to implement Full Speed.
...
Because we run a frame at a time, this is a bit different than in AppleWin.
Run up to 5 extra frames.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:07:58 +01:00
Andrea Odetti
a059fad539
Add support for custom ROMs.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-27 13:40:57 +01:00
Andrea Odetti
5c96069a3f
Set g_sProgramDir so symbols can be found.
2021-05-26 17:12:19 +01:00
Andrea Odetti
bde3eb92b0
Improve symmetry of Constructor/Destructor functions.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 09:22:01 +01:00
Andrea Odetti
7b09bacb01
Initialisation: some fixes.
...
Ensure log file is created before it is used the first time.
Only close the log file once at the end.
https://github.com/audetto/AppleWin/issues/30
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:06:36 +01:00
Andrea Odetti
09da101cbb
FileRegistry: fix problem with conf file not created.
...
https://github.com/audetto/AppleWin/issues/30
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:04:59 +01:00
Andrea Odetti
329c19c8d9
Handle MODE_DEBUG in main loop.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-16 18:44:16 +01:00
Andrea Odetti
22a9c64010
Uthernet 2: add settings.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-05 15:56:10 +01:00
Andrea Odetti
bbb698ece1
Compile TFE and drop the duplicate.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-17 19:07:21 +01:00
Andrea Odetti
7a8a162d78
AutoSave configuration for ease of use.
...
Add option to load .ini file from different location.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 18:56:53 +01:00
Andrea Odetti
dd683e8e48
ImGui: display all current registry settings.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 14:33:04 +01:00
Andrea Odetti
b56ccf8eb4
Add Reset(s) buttons.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 20:11:47 +00:00
Andrea Odetti
11c44233b4
Revisit initialisation to drive it all from the FrameBase.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 18:48:05 +00:00
Andrea Odetti
fec69e1f72
Untabify.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 14:45:31 +00:00
Andrea Odetti
cbf9b078c6
sa2: remove multithreading.
...
Obsolete with recent Pi4 hardware, and even with Pi3, advantage is little.
2021-03-21 12:08:30 +00:00
Andrea Odetti
dd6455ceb9
Add 6502 disassembler.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-07 20:32:24 +00:00
Andrea Odetti
3b917e93be
common2: add namespace and reformat everything with space over tabs.
...
This makes it "possible" to use other editors (than emacs).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:04:50 +00:00
Andrea Odetti
3e5a6aa520
Extend geometry arg to WxH(+X+Y).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 15:21:53 +00:00
Andrea Odetti
a75833847e
Add cmd line option to switch off vsync.
...
Useful to profile.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 13:09:55 +00:00
Andrea Odetti
d912026f3e
Add options to specify SDL window size via cmd line arguments.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 12:56:06 +00:00
Andrea Odetti
7865fc3457
First meaningful usage of ImGui features.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 16:10:54 +00:00
Andrea Odetti
4ae655caab
Fix a few issues reported by clang.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 13:46:50 +00:00
Andrea Odetti
989410c17d
Integrate Dear ImGui with SDL to reduce code duplication.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 16:55:08 +00:00
Andrea Odetti
ea0a3cb5ba
Fix string comparison in cmake.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-04 10:12:51 +00:00
Andrea Odetti
5594c4fbc8
Fix for in-place builds.
...
Which are not recommended anyway.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-03 18:34:53 +00:00
Andrea Odetti
cc55d9e681
Modern syntax: virtual -> override.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:55:43 +00:00
Andrea Odetti
be1772bc37
Use RAII pattern to initialise and clear AppleWin emulator.
...
Plays better with exceptions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:26:23 +00:00
Andrea Odetti
f61e73b639
Move resources, bitmaps and messageboxes into Frames.
...
And remove a few windows.h interface functions used before.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-20 19:07:18 +00:00
Andrea Odetti
620fa10454
Remove redundant CPU check and data.h / .cpp.
2021-01-16 16:26:43 +00:00
Andrea Odetti
ad56874b0f
Fix missing call to FrameBase::Destroy().
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-14 14:39:37 +00:00
Andrea Odetti
4e357b59bd
Updates from AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-13 13:09:03 +00:00
Andrea Odetti
8e36c2c7b3
Add header files to cmake project.
...
So they appear in QtCreator.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-12 12:52:26 +00:00
Andrea Odetti
0aec7061c3
Incorporate changes from AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-03 18:44:44 +00:00
Andrea Odetti
545c175a76
Add missing include for consistency.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-02 21:08:55 +00:00
Andrea Odetti
ed27650368
Allow users to specify Paddle device for applen.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-31 14:34:00 +00:00
Andrea Odetti
247b51b2ab
Integration of GetVideo().
...
Part 1.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 19:42:04 +00:00
Andrea Odetti
2c9e4561df
Share some more registry-related code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 11:35:58 +00:00
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
175491f250
libretro core: fix (most?) audio glitches.
...
It was reading a number of bytes not multiple of "2 * channels".
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-26 19:28:51 +00:00
Andrea Odetti
2fecd3bd1c
Rename folder qapple -> qt for consistency.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 19:23:13 +00:00
Andrea Odetti
5de5af3fe8
Move all initialisation for (sa2, applen, retro2) to common2.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 19:47:30 +00:00
Andrea Odetti
f28a806253
Fix creation of config dir.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 17:57:34 +00:00
Andrea Odetti
40b838aeb9
Temporary step to load resources in libretro.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:06 +00:00
Andrea Odetti
c176b3d2ff
Add skeleton of a libretro core for AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:45:58 +00:00
Andrea Odetti
1d07215f78
Add ability to Save/Load Snapshot F11/F12.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 18:03:41 +00:00
Andrea Odetti
887e88f89c
Fix uninitialised value.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-05 20:34:21 +00:00