Commit Graph

716 Commits

Author SHA1 Message Date
twinaphex
a6b33da8c4 Backport d98ef887fc 2016-03-24 19:14:44 +01:00
twinaphex
effa08f0a7 Start hooking up RSX 2016-03-24 19:12:50 +01:00
twinaphex
0ca013e865 Update to work with new libretro-common 2016-03-24 06:29:34 +01:00
twinaphex
d9dd6c2484 Remove two symlinked files 2016-02-16 08:10:43 +01:00
twinaphex
e553b6bd69 Fixes deinterlacing at 1x - not at 2x/4x/8x res yet 2016-02-16 07:14:15 +01:00
twinaphex
3e6eead4b3 Update BEGIN_OPF references 2016-02-14 07:26:31 +01:00
twinaphex
99a83d078e Shouldn't have been changed 2016-02-14 06:51:52 +01:00
twinaphex
3d97f8a247 Backport PS_CPU::Exception changes 2016-02-14 06:50:52 +01:00
twinaphex
b194e0d543 Include math.h as well - hopefully fixes Blackberry QNX 2016-02-12 21:39:05 +01:00
twinaphex
69f17ba9f0 simplify RecalcHalt 2016-02-12 21:01:57 +01:00
twinaphex
23d4f31c43 (GTE) Reduce RTPT overhead from 1.54% to 0.64% 2016-02-12 20:55:01 +01:00
Lionel Flandrin
8f3c888b84 Fix potential crash when changing the internal res to 1x while subpixel precision is enabled 2016-02-12 17:32:00 +01:00
Lionel Flandrin
d80be2a251 Add an optional subpixel-accurate vertex cache in the GPU 2016-02-12 13:42:41 +01:00
twinaphex
b1d3974198 Add glsmsym.h header to psx/gpu.h 2016-02-11 23:01:27 +01:00
twinaphex
c9ae625a2c Micro-optimize this a bit 2016-02-10 00:04:03 +01:00
Lionel Flandrin
55badc5617 Remove DitherLUT lookup when dithering is disabled 2016-02-09 23:27:15 +01:00
twinaphex
a63f6af6a6 Create PlotPixelBlend - cut down on code duplication 2016-02-09 21:40:50 +01:00
twinaphex
9acc59e0a2 Style/indenting nits - no functional changes 2016-02-09 19:44:47 +01:00
twinaphex
73c45527ae Add GCC-optimized version of CountLeadingZeroU16 courtesy of Alcaro 2016-02-09 00:37:37 +01:00
Lionel Flandrin
0866591a78 Implement several dither modes: 1x, upscaled or disabled 2016-02-08 15:15:26 +01:00
Lionel Flandrin
8efafa828c Implement an optional "internal" framerate counter 2016-02-07 14:57:39 +01:00
twinaphex
b8d5a6fbed Cleanup 2016-02-06 01:29:40 +01:00
Lionel Flandrin
8be1dc31a0 Fix texture mapping issues caused by u/v rounding on 2D polygons. 2016-02-05 23:29:35 +01:00
twinaphex
6fa11f5dfb Simplify this 2016-02-03 21:57:45 +01:00
twinaphex
852ed9a1a4 Take out upscale_shift param 2016-02-03 19:54:20 +01:00
twinaphex
4cf69c02d4 Add param to DrawSpan 2016-02-03 18:31:47 +01:00
twinaphex
f5bffece2a Cleanups 2016-02-02 21:00:12 +01:00
twinaphex
31f4b30923 Small cleanups - change references to pointers 2016-02-02 20:56:00 +01:00
twinaphex
493addc74b Simplify PlotPixel 2016-02-02 19:04:15 +01:00
twinaphex
681bf6b32a Nit 2016-02-02 18:25:41 +01:00
twinaphex
8edb75c3ef Some backports to debug.cpp associated with Poke 2016-02-02 18:13:46 +01:00
twinaphex
4bd78fd62d Add poke functions 2016-02-02 18:08:43 +01:00
twinaphex
e24d2a31cb Change comment 2016-02-02 17:59:11 +01:00
twinaphex
afcef22179 Indenting nits 2016-02-02 17:59:11 +01:00
radius
8177494d42 print a more useful error 2016-02-02 10:30:31 -05:00
twinaphex
48b01f9813 Create vertex_swap macro 2016-02-01 17:39:47 +01:00
twinaphex
6eaaf24203 Rename i_dx/i_dy to delta_x/delta_y 2016-02-01 17:30:55 +01:00
twinaphex
e357d183af Dehardcode blend mode magic numbers 2016-02-01 17:11:08 +01:00
twinaphex
0979167d31 (gpu.cpp) Dehardcode some magic numbers 2016-02-01 16:22:14 +01:00
twinaphex
a0931b9b6b Improves U/V issues in upscaled mode - not perfect yet 2016-02-01 15:46:26 +01:00
Lionel Flandrin
0601b1dbe1 Restore backward compatibility with savestates pre-upscaling hack 2016-01-31 17:28:00 +01:00
Lionel Flandrin
9df17426a2 Put VRAM into a "flexible" array to allocate it dynamically, restore 8x internal upscaling 2016-01-31 17:09:59 +01:00
twinaphex
93939d6c92 u/v coordinates should be of type uint8_t 2016-01-31 14:48:59 +01:00
twinaphex
555d16c3c2 Fixes on the fly upscale switching 2016-01-31 09:41:02 +01:00
twinaphex
126825950a Gives us anywhere from a 5 to 10fps speedup 2016-01-31 09:00:46 +01:00
twinaphex
7e166df9e9 Fix Griffin 2016-01-31 06:00:36 +01:00
twinaphex
daebedf335 Rename vram_save to GPURAM 2016-01-31 03:58:50 +01:00
Lionel Flandrin
7eb3f28e12 Allow dynamic upscaling reconfiguration through a core option 2016-01-31 02:31:50 +01:00
Lionel Flandrin
12315b8062 Make the upscale hack dynamic, unbreak savestates 2016-01-31 00:53:04 +01:00
Lionel Flandrin
bbd7512f8f Don't attempt to upscale sprites 2016-01-30 23:53:48 +01:00
twinaphex
6be2cdbb0b Comment this out for now - gets rid of issues with higher than
1x upscaling
2016-01-30 18:51:08 +01:00
Lionel Flandrin
7798e1e46f Fix overflow that caused flickering when upscaling many games 2016-01-30 14:30:49 +01:00
twinaphex
864d0fadfd Backport simias PSX CPU overclocking 2016-01-29 08:05:18 +01:00
twinaphex
5ed95bbdf2 Backport simias 24bpp patch 2016-01-28 22:22:19 +01:00
twinaphex
42e044dae6 Backport last patch 2016-01-28 21:36:08 +01:00
twinaphex
61f9d46869 Backport simias - upscale lines (Using nearest) 2016-01-28 21:32:31 +01:00
twinaphex
af9ae593a1 Backport 7320dd2640 2016-01-28 21:27:00 +01:00
twinaphex
59f6eb87c3 Backport simias - upscale sprites 2016-01-28 21:20:31 +01:00
twinaphex
91fa96bde1 Backport simias' second patch 2016-01-28 21:10:34 +01:00
twinaphex
b1687fe5b6 Silences bunch of warnings - thanks to simias 2016-01-28 19:18:26 +01:00
twinaphex
ba51ce2b40 Update dis.cpp 2015-10-04 04:10:36 +02:00
twinaphex
391af92abe Cleanups 2015-10-04 04:07:42 +02:00
twinaphex
0964d2c4fd Cleanup 2015-10-01 04:27:05 +02:00
twinaphex
ed5fcb0302 Remove FileWrapper.cpp 2015-10-01 03:20:54 +02:00
twinaphex
238377e152 FileStream.cpp - start using retro_file 2015-10-01 02:40:15 +02:00
twinaphex
4b63a30f3b FileWrapper - remove unused flush function 2015-10-01 02:13:03 +02:00
twinaphex
83073297cf CDAccess_Image.cpp - use retro_stat.h's path_is_valid 2015-10-01 02:08:05 +02:00
twinaphex
ea722f8163 Try to get rid of posix_string dependency in retro_file.c
Change MDFN_MakeFName - make it return const char * instead
of std::string
2015-09-30 03:56:50 +02:00
twinaphex
082ce6bd32 Add improved TOC/CUE parsing - if both a CUE and a TOC file exist,
favor the TOC file over the CUE file and load it instead
2015-09-30 03:39:52 +02:00
twinaphex
cb7f84dd96 Remove TRIO_FEATURE_FLOAT 2015-09-30 01:27:41 +02:00
twinaphex
507a64bc7e Slim down trio 2015-09-30 00:39:02 +02:00
twinaphex
c86ebe9d17 Slim down trio 2015-09-30 00:34:18 +02:00
twinaphex
517d8a47eb Remove unused trio functions 2015-09-29 21:57:23 +02:00
twinaphex
4ea672708c (GTE) Optimizations based on static code analysis 2015-09-29 02:24:44 +02:00
twinaphex
326f11e632 Strip unnecessary trio functions 2015-09-29 00:30:12 +02:00
twinaphex
9dfbf2b2f9 Dependency removal 2015-09-29 00:22:06 +02:00
twinaphex
2b62189b83 Some static code analysis cleanups 2015-09-29 00:10:19 +02:00
twinaphex
e6a8dd9871 Savestates should be fine now 2015-08-15 19:59:12 +02:00
twinaphex
0eec219d4e Backport Mednafen PSX 0.9.38.6 changes 2015-08-13 16:19:51 +02:00
twinaphex
84089d890b (SBI) Rework SBI loading code - return error value instead of
C++ exception throwing
(PAL) Cache is_pal into a variable instead of continuously calling
expensive function
2015-08-11 22:48:54 +02:00
twinaphex
369f1f4c1c Fix SBI backport 2015-08-11 22:42:48 +02:00
twinaphex
3144bbdeb5 Backport SBI loading code 2015-08-10 11:47:05 +02:00
twinaphex
c303979881 Convert md5 code over to C 2015-08-06 15:14:15 +02:00
twinaphex
467a3d3a56 Cleanups 2015-08-05 08:13:45 +02:00
twinaphex
eca58a0df6 (GPU) Start rewriting function pointer into switch 2015-08-05 08:01:28 +02:00
twinaphex
f2b9bba58f (ProcessFIFO) Get rid of goto 2015-08-05 07:39:16 +02:00
twinaphex
1ea10906d6 Refactor ProcessFIFO 2015-08-05 07:37:19 +02:00
twinaphex
3de572ca16 (CDC) Fallthrough for DS_READING case in MakeStatus 2015-08-05 07:15:00 +02:00
twinaphex
385e06958b Indenting nits 2015-07-30 19:24:39 +02:00
twinaphex
e05ed51d25 Cleanups 2015-07-30 19:15:52 +02:00
twinaphex
75ab77a70e (MDEC) Simplify WriteImageData 2015-07-30 19:04:35 +02:00
twinaphex
d8273e9845 Cleanups 2015-07-30 19:02:25 +02:00
twinaphex
d71f117e10 Cleanups 2015-07-30 18:43:39 +02:00
twinaphex
01e6e134bb Cleanups 2015-07-30 18:26:48 +02:00
twinaphex
9eadd8466f (CDC) Indenting nits 2015-07-30 18:10:50 +02:00
twinaphex
735da562e2 Revert "(CDC) Indenting nits"
This reverts commit 9470fa8680.
2015-07-30 18:08:46 +02:00
twinaphex
e792dd7129 Revert "Cleanups"
This reverts commit b809808364.
2015-07-30 18:08:41 +02:00
twinaphex
25cb7b6627 Cleanups 2015-07-30 17:29:55 +02:00
twinaphex
fb8e55f6c2 Cleanups 2015-07-30 17:25:12 +02:00
twinaphex
27d1ff27c7 Cleanups 2015-07-30 17:18:14 +02:00
twinaphex
b809808364 Cleanups 2015-07-30 17:12:43 +02:00
twinaphex
9470fa8680 (CDC) Indenting nits 2015-07-30 17:00:18 +02:00
twinaphex
ea311fa1c7 Cleanups 2015-07-30 08:27:41 +02:00
twinaphex
f648954c0a Cleanups 2015-07-30 08:15:12 +02:00
twinaphex
ce6fa42d4c Cleanups 2015-07-30 08:10:22 +02:00
twinaphex
88808fd3b1 Cleanups 2015-07-30 07:54:57 +02:00
twinaphex
fc422ac2b4 Revert "Simplify some code"
This reverts commit 13e204b2ae.
2015-07-30 06:54:33 +02:00
twinaphex
13e204b2ae Simplify some code 2015-07-30 06:19:57 +02:00
twinaphex
e00fe4598d Cleanups to logging 2015-07-30 06:15:09 +02:00
twinaphex
a553a7fbd4 (QNX) Buildfix 2015-07-30 00:07:56 +02:00
twinaphex
ed76b0e040 Cleanups 2015-07-29 19:30:37 +02:00
twinaphex
f0de563927 Cleanups 2015-07-29 19:24:52 +02:00
twinaphex
290729f3b2 CLeanups 2015-07-29 19:16:45 +02:00
twinaphex
286bdeeaaa Turn ilog into static inline function 2015-07-29 19:03:15 +02:00
twinaphex
22287cb415 Use only MSB_FIRST for indicating big-endianness now 2015-07-29 18:58:26 +02:00
twinaphex
f78d823431 Shut up Clang about not catering to case -1 for BlendMode switch 2015-07-29 18:49:49 +02:00
twinaphex
1e17f93d95 Update multitap.cpp 2015-07-29 18:47:34 +02:00
twinaphex
f955c75f5f Cleanup some warnings 2015-07-29 18:38:06 +02:00
twinaphex
915863a32a Fix bogus conditional 2015-07-29 18:33:29 +02:00
twinaphex
23c83accbd Exclude dis.cpp from non-debug builds 2015-07-29 18:32:39 +02:00
twinaphex
87d9ebf5d4 Downsize mempatcher.cpp 2015-07-29 17:17:19 +02:00
twinaphex
162483a4e3 Add MSB_FIRST ifdefs around endian code in state.cpp 2015-07-29 17:14:31 +02:00
twinaphex
5f3f2d6782 Some non-C99 compatibility fixes 2015-07-29 07:12:42 +02:00
twinaphex
4b8f1a9ecb Backport 0.9.38.5 - PSX - Fixed a problem that caused "Vib Ribbon" to
lock up when trying to play with an audio CD
2015-07-29 06:53:55 +02:00
twinaphex
ecb11ebf33 Correct earlier backport 2015-07-29 06:39:48 +02:00
twinaphex
d041538414 Backport 0.9.38.4 Tomb Raider fix 2015-07-29 06:32:07 +02:00
twinaphex
9cc1691a98 Backport ReadRawSectorPWOnly patches 2015-07-29 06:12:11 +02:00
twinaphex
b33b72c560 Backport more primitive ReadRawSectorPWOnly 2015-07-29 05:48:57 +02:00
twinaphex
3d7fced37e Revert "Backport ReadRawSectorPWOnly"
This reverts commit 8b83de24fa.
2015-07-29 05:40:40 +02:00
twinaphex
8b83de24fa Backport ReadRawSectorPWOnly 2015-07-29 05:15:32 +02:00
twinaphex
731902070d Cleanups 2015-07-29 04:26:58 +02:00
twinaphex
f429d027db Cleanups 2015-07-29 04:20:08 +02:00
twinaphex
ed609130de Cleanups 2015-07-29 04:16:13 +02:00
twinaphex
d4d20219d9 Cleanups 2015-07-29 04:04:34 +02:00
twinaphex
b03e10b4a3 Use libretro threading functions directly 2015-07-29 03:37:42 +02:00
twinaphex
4385084e46 Cleanups 2015-07-29 03:22:58 +02:00
twinaphex
dfa5275687 Make sure we always first iniatilize TOC variables with TOC_Clear
before using them
2015-07-29 01:50:27 +02:00
twinaphex
aa92168042 Forgot to add recover-raw.h 2015-07-29 01:20:51 +02:00
twinaphex
9d81804ba5 Convert CDUtility to C 2015-07-29 01:14:10 +02:00
twinaphex
7800ed6011 Convert lec to C 2015-07-29 01:02:54 +02:00
twinaphex
2d05deee42 Do away with classes in lec.cpp 2015-07-29 01:00:55 +02:00
twinaphex
6fa3107dee Cleanups 2015-07-29 00:40:05 +02:00
twinaphex
4169e214be Split up misc functions into mednafen/cdrom/misc.cpp 2015-07-29 00:38:34 +02:00
twinaphex
3da0bba3d5 Simplify TOC struct 2015-07-29 00:27:57 +02:00
twinaphex
37155e815b Cleanups 2015-07-29 00:05:45 +02:00
twinaphex
bf6f2314bc Cleanups 2015-07-28 23:42:43 +02:00
twinaphex
4e8b4634b1 Convert recover-raw.cpp to C 2015-07-28 23:36:17 +02:00
twinaphex
95d7ed845d Convert l-ec.c to C 2015-07-28 23:27:46 +02:00
twinaphex
8c28b8cf56 Convert galois over to C 2015-07-28 23:17:20 +02:00
twinaphex
199c3a8ba1 Convert file to C 2015-07-28 23:03:58 +02:00