Commit graph

15 commits

Author SHA1 Message Date
Andrea Odetti
10eeeda581 Add support for the RetroPad and disable keyboard.
How they can coexist is still not clear to me.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-19 14:26:48 +00:00
Andrea Odetti
e6532deea3 Only draw the borderless video buffer.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-19 14:17:49 +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
758e231565 Remove wrong file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 20:07:17 +00:00
Andrea Odetti
449e3d2d68 Fix cmake config.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:45:59 +00:00
Andrea Odetti
c2f4d8ed34 Bite the bullet and flip the video buffer in software.
Until a better solution is found.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:27:28 +00:00
Andrea Odetti
e461847a49 libretro: add support for Open / Solid Apple keys.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 19:25:43 +00:00
Andrea Odetti
ab655cda40 Move keyboard to a callback system.
The "switch" is the same as the SDL version.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:47:15 +00:00
Andrea Odetti
94b7d66096 Remove hard-coded libretro path.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
54232b988b Accept a few more disk types.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
120cb8be50 It is not clear to me how the Input API works.
This is copied (without understanding) from other examples.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
cec0c10286 libretro: first "working" versions.
draws video upside down
accepts keys (O crashes, and others have overloaded meaning)

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
b95bcadfe9 Fix bitmap loading.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00
Andrea Odetti
7f441060f2 Some change to better structure the code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:53 +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