Commit graph

2534 commits

Author SHA1 Message Date
Andrea Odetti
1edec39462 Attempt at building on Windows.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-31 12:06:47 +00:00
Andrea Odetti
3bf4e5648f Minor cosmetic changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-30 18:48:42 +00:00
Andrea Odetti
faca71ace7 Incorporate changes to FrameBase and Video.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-30 18:28:27 +00:00
Andrea Odetti
b3abd6962e Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/Log.cpp
#	source/NTSC.h
2020-12-30 18:13:52 +00:00
tomcw
c7d9a780bb Minor tweaks + comment for GCC needing header file 2020-12-29 21:45:56 +00:00
Andrea
d0cd7ca090
WinVideo: share some generic code (PR #901)
* WinVideo: move some generic functions back to Video.

Introduce a new virtual function (VideoPresentScreen) to draw the video buffer to video memory.

* Move Win32Frame::VideoRedrawScreen() to FrameBase as it is generic.
2020-12-29 21:30:17 +00:00
Andrea
b226bdfd53
Small changes to improve compatibility with GCC. (PR #902)
* Fix GCC build.

1) do not fwd declare enums
2) include only base class header file IPropertySheet.

* DSInit(): make sure sound devices are cleaned before the 2nd call.

And use std::string to avoid need of memory management.
2020-12-29 21:17:03 +00:00
Andrea
6cf907f303
In Linux, save logfile to /tmp. (PR #900) 2020-12-29 21:13:35 +00:00
TomCh
19abefb2b3
Update README.md
Added 80Col/RamWorks III
2020-12-29 10:18:23 +00:00
TomCh
c819347502
Update README.md
Added a brief overview of what is supported.
2020-12-29 10:07:47 +00:00
tomcw
1faa5d5668 Update README.md for 1.29.16 2020-12-29 09:43:25 +00:00
Andrea Odetti
cdf8573202 Tidy up linux interface.h.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-29 09:22:10 +00:00
Andrea Odetti
a1ba1d2cd1 Rename Video -> QVideo due to name clash.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 20:00:16 +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
577a997003 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/Interface.h
2020-12-28 18:47:23 +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
TomCh
3aa5750dcf
Make Video.cpp and WinVideo.cpp into a dependent class hierarchy (PR #898)
. class hierarchy: WinVideo IS_A Video (ie. WinVideo is a subclass of Video)
. GetVideo() singleton instance of WinVideo in AppleWin.cpp, exposed via Interface.h
2020-12-28 16:25:29 +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
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
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
c4f3296336 Merge remote-tracking branch 'upstream/master' 2020-12-27 19:43:53 +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
tomcw
89bd685bd6 VS2019 v141_xp: added missing shlwapi.lib 2020-12-27 19:38:41 +00:00
Kevin Marty
3c6f0c1145
Add option to disable warning when PrintScreen key can't be captured (PR #891)
NB. Windows XP or higher
2020-12-27 19:21:46 +00:00
Andrea
b8296e6c9c
Frame.h: merge into Video.h. (PR #896)
. The functions GetFrameBufferXXX() have been moved next to g_pFramebufferbits.
2020-12-27 19:01: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
e0fd978d05 Fix missing call to ApplyNewConfig.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 13:32:59 +00:00
Andrea Odetti
5bdc62eff3 In linux, save log to /tmp.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 13:32:42 +00:00
tomcw
41ccd21307 Fix VS2008 build due to the TestDebugger proj (only included by VS2008 at the moment) 2020-12-27 11:54:11 +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
e27879ac99
Move interface into a class FrameBase. (PR #893)
. Move the Win32  implementation into Win32Frame.
2020-12-24 15:08:50 +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
947b39763f Rename folder retro -> libretro for consistency.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 19:36:11 +00:00
Andrea Odetti
bea7bac3ab Rename folder sa2 -> sdl for consistency.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 19:25:25 +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
f4af643500 Merge remote-tracking branch 'upstream/master' 2020-12-23 18:57:10 +00:00
Andrea Odetti
e85eb32a0a Add some controls via the joypad (video mode, 50% scan lines and reset).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 18:55:26 +00:00
tomcw
6ec47a357d Removed old VS projs for libs & dlls 2020-12-23 18:41:37 +00:00
tomcw
bd3fc2972a Update makeAppleWin.bat to use the v141_xp release 2020-12-23 18:28:44 +00:00
Andrea Odetti
cb2f9b6177 Re-enable keyboard.
Print a short message informing the user about game focus mode.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 17:44:34 +00:00
Andrea Odetti
ad41cae876 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/StdAfx.h
2020-12-23 16:40:25 +00:00