Commit Graph

9671 Commits

Author SHA1 Message Date
AndresSM
ebc0bc641d Fix a typo on the previous commit 2014-02-07 02:14:02 -05:00
AndresSM
0428b44e94 Add RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY 2014-02-07 01:56:41 -05:00
Themaister
22bcb8aeab Clarify SET_MESSAGE. 2014-02-07 00:31:56 +01:00
Themaister
94a0cef1d4 Fix libretro GL core screenshots. 2014-02-06 23:37:06 +01:00
Themaister
8120198ed8 Make C++ compiler happy. 2014-02-06 22:52:48 +01:00
Themaister
032ba14d3b Properly implement GPU screenshot for GLES.
Have to use GL_RGBA/GL_UNSIGNED_BYTE as well as reading from back buffer
only.
2014-02-06 21:35:57 +01:00
Twinaphex
c6ae04ef04 Merge pull request #533 from heuripedes/master
(griffin.c) Fix build when freetype2 support is enabled
2014-02-05 16:52:53 +01:00
Higor Eurípedes
b719c98db6 (griffin.c) Fix build when freetype2 support is enabled
This commit fixes build issues for frontends that wish to use freetype2
or that do not want to use the built-in bitmap font:

* Having HAVE_FREETYPE without DONT_HAVE_BITMAPFONT makes griffin.c
  include both freetype.c and bitmapfont.c resulting in a redefinition
  of 'struct font_renderer' (freetype.c:25 and bitmapfont.c:24).

* Having both HAVE_FREETYPE and DONT_HAVE_BITMAPFONT resulted in linkage
  problems because griffin.c does not include fonts.c in this case and
  thus font_renderer_create_default() implementation is missing. If
  fonts.c is included, the linker complains about undefined reference to
  bitmap_font_renderer in fonts.c:27.
2014-02-05 12:30:55 -03:00
Twinaphex
53469563e8 Merge pull request #532 from pinumbernumber/master
Fix tiny memory leak
2014-02-04 14:47:04 -08:00
pinumbernumber
ecdf175006 fix tiny leak 2014-02-04 19:59:15 +00:00
Twinaphex
89396231c5 Merge pull request #529 from tobiasjakobi/master
lima driver fixes
2014-02-02 07:02:14 -08:00
Themaister
17513a32d0 Add HOST_PREFIX to Makefile.win. 2014-02-02 15:34:37 +01:00
Themaister
564f743cc5 Compile to obj directories.
Avoids cluttering the main dir with objects.
2014-02-02 15:29:07 +01:00
twinaphex
d22999ab14 Backpot neagix patch - prevent last button input when resuming from
menu
2014-02-01 22:30:31 +01:00
twinaphex
d106fc5f6a (MSVC2010) Update vcxproj.filters 2014-02-01 21:15:15 +01:00
twinaphex
a5eed07afc (Sensor) Windows build fix 2014-02-01 21:08:10 +01:00
Tobias Jakobi
18e37b2d47 video_lima: set wrap mode to clamp for all textures we use 2014-01-28 03:02:04 +01:00
Tobias Jakobi
6ab202f25f video_lima: whitespace fixes 2014-01-27 23:05:45 +01:00
Tobias Jakobi
9d1090b194 video_lima: remove unused and redundant variables 2014-01-27 23:03:08 +01:00
twinaphex
b109b9b01f (Emscripten) Rename frontend_emscripten.c to frontend/platform/platform_emscripten.c 2014-01-27 01:47:10 +01:00
twinaphex
580e05fc0f (Menu) Add menu driver selection 2014-01-27 01:32:05 +01:00
Twinaphex
3d944fd485 Merge pull request #519 from tobiasjakobi/master
lima video driver
2014-01-26 11:47:43 -08:00
twinaphex
58b81dff2a (libretro-test) Implement audio callback 2014-01-26 18:11:09 +01:00
Themaister
57e48f7ee2 Rewrite threaded audio a bit.
Avoid calling stop() right after init.
Driver init/teardown now happens only in audio thread.
2014-01-26 13:08:51 +01:00
Themaister
528bb2687d Fix Rasperry Pi build. 2014-01-26 11:43:26 +00:00
Tobias Jakobi
846c561f0a video_lima: update documentation
lima-drm is now also hosted on github.
2014-01-26 04:43:01 +01:00
Tobias Jakobi
8f41e80c61 video_lima: align temp buffer 2014-01-26 04:43:01 +01:00
Tobias Jakobi
afe0a02ed6 video_lima: update TODO
I have failed to encounter the artifacts during my recent tests, so
my guess is that they were fixed by some changes to the code (either
in limare of in the RetroArch driver).
2014-01-26 04:43:01 +01:00
Tobias Jakobi
185aee467b video_lima: update TODO
Font rendering is fixed.
2014-01-26 04:43:01 +01:00
Tobias Jakobi
4b05426bbe video_lima: add font rendering by using the temp buffer 2014-01-26 04:43:01 +01:00
Tobias Jakobi
a338d99781 video_lima: misc fixes 2014-01-26 04:43:00 +01:00
Tobias Jakobi
0493f8680c video_lima: update TODO
Swizzling is fixed.

Restart issue is fixed. Update lima-drm for now correct
initialization and destroying of threading/mutex objects.
2014-01-26 04:43:00 +01:00
Tobias Jakobi
55fc57b846 video_lima: fix some swizzling in the fragment shader
Thanks to AreaScout for testing this!
2014-01-26 04:43:00 +01:00
Tobias Jakobi
9226c3c783 video_lima: adjust aspect ratio depending on frame dimensions
With this the emulator framebuffer is no longer stretched to the entire
screen. However it's still not entirely correct. For example the aspect
ratio value provided by the frontend is not used yet.
Also I noticed this behaviour: When using the game "Secret of Mana 2"
(unofficial english translation) on the snes9x-next core, the game
normally uses a framebuffer of dimension 256x224. But when rendering
text windows, it increases resolution to 512x224. With the current
behaviour this alters aspect ratio and let's the image "explode"
when text boxes are displayed, only to "implode" again when they close.
This should not happen! (Needs further investigation...)
2014-01-26 04:43:00 +01:00
Tobias Jakobi
7cdb08b804 Add lima video driver
Documentation is provided in README-lima.
2014-01-26 04:43:00 +01:00
Themaister
b5401d7b6a Remove git_version.o after sudo make install. 2014-01-24 10:24:35 +01:00
Themaister
0b462054ea De-hardcode input drivers in KMS-like drivers. 2014-01-24 10:23:48 +01:00
Themaister
860dfc61e6 Only warn if udev detects no input. 2014-01-24 10:20:10 +01:00
Twinaphex
da732453c7 Merge pull request #513 from pinumbernumber/improve-xinput
Hopefully improved detection of third-party dual xinput/dinput pads
2014-01-23 14:10:12 -08:00
pinumbernumber
09651cbe21 Hopefully improved detection of third-party dual xinput/dinput pads 2014-01-23 21:57:19 +00:00
twinaphex
823f68df99 (PS3) Build fix for PS3 audio driver - audio callback sound
still broken BTW
2014-01-23 21:18:14 +01:00
Themaister
f097b93a29 Only start/stop ps3 audio port if it makes sense.
Might be the cause of issues with threaded audio, might not.
(cellAudioStartPort would have been called twice in a row).
2014-01-23 20:04:12 +01:00
Themaister
c90a8bcfec Return to RGUI when core shuts down.
Don't do this on consoles (uses dummy core).
2014-01-23 20:00:25 +01:00
Hans-Kristian Arntzen
283c6f9c6d Merge pull request #512 from Royerson/master
Add name to xinput pad list
2014-01-22 22:54:35 -08:00
Royerson
a13dd7a6fc Add name to xinput pad list
"Controller (GPX Gamepad)"
2014-01-22 22:52:49 -07:00
Themaister
6c5d481f2d Fix MinGW compile. 2014-01-22 16:39:39 +01:00
Themaister
8c9e1a5f5c Fix some unused function warnings.
Clang 3.4 is more aggressive on this.
2014-01-22 16:39:39 +01:00
Themaister
1777056d6f Use the more appropriate __clang_version__. 2014-01-22 16:39:39 +01:00
Hans-Kristian Arntzen
39100bbdba Merge pull request #510 from heuripedes/master
Add missing libxml2 check in griffin.c
2014-01-22 03:44:36 -08:00
Higor Eurípedes
5b91b996e4 Add missing libxml2 check in griffin.c 2014-01-22 08:39:28 -03:00