Andrea Odetti
e08363f141
libretro: ignore RetroArch request to re-insert the previous image.
...
The idea is that on a multigame floppy, only the first is bootable.
This seems the most common use case.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:52:40 +00:00
Andrea Odetti
24a135e042
libretro: add m3u as supported extension.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:51:42 +00:00
Andrea Odetti
76317c2df1
libwindows: a very tiny step towards compilation of libretro with VS.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:49:17 +00:00
Andrea Odetti
d46c90a82c
libretro: cosmetic changes.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:52:58 +00:00
Andrea Odetti
a16b2b2d35
More elegant serialisation data structure.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:29:16 +00:00
Andrea Odetti
02740cee80
libretro: handle m3u format as gamepath.
...
Implement retro_set_initial_image.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:15:17 +00:00
Andrea Odetti
30dbfad59c
libretro: implement retro_reset().
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 13:24:25 +00:00
Andrea Odetti
7037e20c0f
libretro: implement save/load state.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 21:27:46 +00:00
Andrea Odetti
741849a026
Implement 2nd version of the Disc Control interface.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 13:45:34 +00:00
Andrea Odetti
117502b774
Implement base Disc Control interface.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 11:39:55 +00:00
Andrea Odetti
cca65baf97
Reduce verbosity of key logger.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 11:38:40 +00:00
Andrea Odetti
eb74e28585
libretro: fix meaning of memory ids.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 10:33:44 +00:00
Andrea Odetti
f080599718
libretro: support mouse retropad.
2021-11-24 18:02:27 +00:00
Andrea Odetti
6175dc8a55
Add support for memory / achievements.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-24 14:08:14 +00:00
Andrea Odetti
8fd124e3ae
Enable printf warnings. on retro_log_cb.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-24 14:01:37 +00:00
Andrea Odetti
759cb5ac64
libretro: ensure game is released *before* shutdown.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-22 19:04:48 +00:00
Andrea Odetti
7c81aafad3
libretro: controllers are inserted after the Game has loaded.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-22 18:53:39 +00:00
Andrea Odetti
682916415c
Add libretro.h to the git repo.
...
To ease libretro compilation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-21 20:23:16 +00:00
Andrea Odetti
8c36ead724
The retro core had been broken for a while...
...
https://github.com/audetto/AppleWin/issues/44
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-19 12:11:17 +00:00
Andrea Odetti
1a302935f0
Update from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-13 18:28:42 +00:00
Andrea Odetti
ca05f42721
HD as a Card from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-07 15:23:10 +00:00
Andrea Odetti
c7bf4f5a39
Split registry from Initialisation to make is usable sooner.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:24:06 +01:00
Andrea Odetti
53f1bf52f2
Rename interface.h -> linuxinterface.h to avoid case issues.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-16 19:18:53 +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
6753e62abd
Allow compilation to work without libslirp (not available on Pi).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-17 19:26:11 +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
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
56511affa2
libretro: add namespace ra2 and remove tabs.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:24:52 +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
bb2fce9e72
Fix libretro compiler bug.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 14:31:19 +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
54a3bbf773
RetroFrame.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-13 17:48:25 +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
ae33493da7
Merge from AW's master.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-03 18:10:07 +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
32d4c32524
Use macros to avoid duplication.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 18:45:04 +00:00
Andrea Odetti
3a063463ca
For consistency with Registry::instance.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 18:44:47 +00:00
Andrea Odetti
04fe254521
Fix some access violation (NPE).
...
Due to usage global variables (instances) and the way deleters works, we need to fully delete the old one, before creating the new one.
Otherwise the old's deleter remove instances after the new one has set them.
2020-12-28 15:46:08 +00:00
Andrea Odetti
3d79b7983d
Try to use the image as FD first and HD if this fails.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 15:35:19 +00:00
Andrea Odetti
38ecf366d6
Make sure interfaces are removed on unload as otherwise it causes seg fault on unloading.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 15:05:14 +00:00
Andrea Odetti
87ddb8033f
Expose some variable to retroarch.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 15:04:24 +00:00
Andrea Odetti
84b6afe758
Hide a couple of internals in an anonymous namespace.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 20:26:07 +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
093e4d7146
Print less audio - related messages.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 13:34:25 +00:00
Andrea Odetti
9068d47a44
Rename to applewin_libretro.so
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-26 20:38:30 +00:00