Commit Graph

1735 Commits

Author SHA1 Message Date
twinaphex
346c99fabb (GL) Implement perspective correction hack fix courtesy of iCatButler 2017-11-24 18:31:06 +01:00
Lionel Flandrin
6098459bdb Start to use the GPU cache (issue #12) 2017-10-08 02:20:34 +02:00
Lionel Flandrin
11e3ee9bc6 Backport new triangle drawing code from upstream mednafen
The increased precision of the new code fixes some issues in a few
games. In particular it fixes a flickering glitch in FFVIII.

The original code used a few C++11 features, they've been rewritten to
make the code C++98 compliant.

This should fix #39
2017-10-08 01:09:48 +02:00
rz5
661a2cb321 (libretro) Fix firmware_is_present()
Forgot to add the last 'return true' statement.
2017-10-06 02:32:16 +01:00
rz5
a1aabb03dc (libretro) Prevent loading content if BIOS is missing
This commit makes retro_load_game fail when the required firmware version for the game's region is missing, thereby preventing the core and the frontend becoming unresponsive while in a black screen.
A couple of core error messages are logged before the core exits, just to make it clear what went wrong.
2017-10-06 00:12:24 +01:00
Twinaphex
53c6d55a05 Merge pull request #237 from bkoropoff/precache-compressed
Precache compressed (rather than uncompressed) CHD data
2017-10-01 23:47:04 +02:00
Brian Koropoff
2acf9af74a cdrom:chd: cache compressed data with disc cache option
This seems sufficient to avoid stutter without taking
as absurdly long on startup as decompressing the entire
file.
2017-10-01 12:44:14 -07:00
Brian Koropoff
ee40afa0ca libchdr: add precache option
This allows reading the entire chd file into memory
2017-10-01 12:37:01 -07:00
Brian Koropoff
e5cd40bdd1 Revert "cdrom: respect disc cache setting for chd files"
This reverts commit 0bb8b28179.
2017-10-01 12:37:01 -07:00
Twinaphex
c6f4d0769e Merge pull request #236 from bkoropoff/chd-memcache
cdrom: respect disc cache setting for chd files
2017-09-30 20:40:07 +02:00
Brian Koropoff
0bb8b28179 cdrom: respect disc cache setting for chd files 2017-09-30 10:24:42 -07:00
Twinaphex
05892b1902 Merge pull request #232 from yoshisuga/master
support for iOS arm64 build
2017-09-06 20:39:37 +02:00
Yoshi Sugawara
87b9454a52 support for iOS arm64 build 2017-09-06 08:12:51 -10:00
rz5
ec53501e50 Create a description of PGXP 2017-09-06 18:02:04 +01:00
rz5
ea93f24371 Update gpu.cpp 2017-09-06 17:25:17 +01:00
rz5
add5a2a6e7 Update README.md 2017-09-06 11:43:02 +01:00
r5
b1ff7d997e (Software renderer) Upscaling means we have to call SET_SYSTEM_AV_INFO.
Thanks again @Themaister. In conformance with the API, "If
max_width/max_height are to be changed, SET_SYSTEM_AV_INFO is required."
2017-09-04 21:57:19 +01:00
r5
de75a5d536 (libretro) Avoid altering av info when core options change.
Changing upscaling/widescreen with the software renderer now happens
without the screen blanking, because we are now correctly calling
SET_GEOMETRY instead of the expensive SET_SYSTEM_AV_INFO
2017-09-03 23:29:52 +01:00
r5
d18ef37ebf (Software renderer) Integer scaling was also broken here.
Thank you @Themaister for the detail about not upscaling the base_*
geometry info.
2017-09-03 21:04:54 +01:00
Twinaphex
226fb6163e Merge pull request #228 from Zapeth/master
Add CHD file support
2017-09-03 16:30:56 +02:00
Zapeth
44e6e19e92 Merge with upstream to resolve Makefile.common merge conflict 2017-09-03 15:08:31 +02:00
Zapeth
16f725a4f7 Delete compiled lib that snuck in previous commit 2017-09-03 14:52:21 +02:00
r5
f11e727258 (GL Renderer) Integer scaling fix
When setting core geometry, ensure we're not upscaling the base
width/height or else it triggers a codepath where (on my machine) the
image is stretched to fit the RA window.
2017-09-02 23:30:17 +01:00
Zapeth
790a3d3478 CHD EOL normalization and cleanup 2017-09-02 16:06:08 +02:00
Build
a44baaefa8 Add CHD dependencies to Makefiles and namespace mednafen's md5 implementation to avoid conflicts 2017-09-01 11:25:39 +02:00
Zapeth
052a22cd8c Add support for CHD files 2017-08-31 19:01:39 +02:00
Brad Parker
5a3093be0f need stdlib.h for malloc 2017-08-27 23:31:48 -04:00
Twinaphex
75514e6638 Merge pull request #226 from orbea/linker
Silence linker unused warnings
2017-08-28 03:05:53 +02:00
Brad Parker
a743392186 FreeBSD buildfix 2017-08-27 20:48:29 -04:00
orbea
187339d89d Silence linker unused warnings 2017-08-27 17:28:10 -07:00
rz5
9273992cfc Update README.md
Turn the options list into a table
2017-08-26 13:20:54 +01:00
rz5
2e74e57cf7 Update README.md
Use the table found in https://mednafen.github.io/documentation/psx.html#Section_firmware_bios instead.
2017-08-26 13:13:21 +01:00
rz5
fe418892cc (gpu.cpp) Remove a loose comment 2017-08-24 18:14:09 +01:00
r5
447dcdf4cf (gpu.cpp) Added some comments 2017-08-23 19:47:21 +01:00
r5
fad9372427 Fix issue #211
GPU is now a struct and a global variable in the stack, like
in upstream.
The GPU's vram is no longer 'flexible', it's still at the end
of the struct but it's a ptr type rather than a zero size array.

Changed some libretro calls so SET_GEOMETRY is used in favor of
SET_AV_INFO, as per the API's recommendation.

Style nits here and there as well.
2017-08-23 19:38:52 +01:00
rz5
5df24e93d6 Update README.md
Added a note on sub-channel data files sometimes being necessary for games to properly work. This note is a reminder made by @Oli in issue #220
2017-08-21 17:13:12 +01:00
twinaphex
20924c5a33 Update Makefile.common 2017-08-18 01:35:14 +02:00
r5
e5d0af4206 (GL Renderer) Delete redudant buffer binds and attempt to fix #188
For some reason, when RA is using e.g. a discrete AMD GPU, binding a VAO
before binding a buffer to unmap it makes glDrawArrays/glDrawElements
error out.
This commit changes the order around so the unmapping comes first and
the VAO binding comes later.
2017-08-17 17:50:51 +01:00
rz5
a732af2d73 Update README.md 2017-08-17 16:46:18 +01:00
twinaphex
e82ca02823 Set STATIC_LINKING for emscripten 2017-08-17 10:25:12 +02:00
twinaphex
ba67439d16 Set NEED_THREADING for wiiu 2017-08-17 02:48:28 +02:00
twinaphex
1aab8f96fc Re-enable this again for successful emscripten building 2017-08-17 01:39:14 +02:00
twinaphex
3a4ca8232c Remove doCleanFrame 2017-08-15 01:29:08 +02:00
twinaphex
c647d03003 Buildfix for PS3 2017-08-14 07:04:58 +02:00
twinaphex
5dab432b0d Build fix #1 2017-08-14 07:01:06 +02:00
Twinaphex
5ff061367d Merge pull request #218 from alex34567/master
Fix Playstation executable loading.
2017-08-14 03:36:37 +02:00
Alex Eckhart
c152e9163c Fix psx exe loading. 2017-08-13 19:22:27 -06:00
rz5
8c07531548 Update README.md 2017-08-11 18:33:09 +01:00
Twinaphex
6702605922 Merge pull request #216 from libretro/rz5-patch-1
Update README.md
2017-08-11 05:28:48 +02:00
rz5
18dd252e8c Update README.md
Highlighted the fact that this fork is written in C++98, the notable features of the fork and an explanation of why other BIOS files should not be used.
2017-08-11 04:09:51 +01:00