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
Andrea Odetti
2e654a0fcc
libretro: add abiity to load snapshot file.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-26 20:38:07 +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
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
1a5ec9ec0f
libretro: play speaker audio (with some glitches).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-25 21:59:48 +00:00
Andrea Odetti
947b39763f
Rename folder retro -> libretro for consistency.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 19:36:11 +00:00