Commit Graph

1079 Commits

Author SHA1 Message Date
Anthony Pesch dbc147eb78 updated to latest libchdr 2017-11-21 19:04:18 -05:00
Anthony Pesch 528e4f89d4 refactored disc code to use the new track_set_layout function to
consolidate track layout logic

added support for loading 2048 byte gdi sectors
2017-11-21 19:04:18 -05:00
Anthony Pesch 50f9cd5fff added note about SB_FFST 2017-11-21 19:04:18 -05:00
Anthony Pesch f177f6d40c added workaround to prevent clipped vertices from generating additional
junk vertices
2017-11-21 19:03:55 -05:00
Anthony Pesch 7a2d89adfb Revert "take the absolute value of the z component when calculating w, else"
This reverts commit 7d2e9cf3e6.
2017-11-16 17:57:45 -05:00
Anthony Pesch 3f1de03557 avoid using bitfields for spi command responses to avoid alignment
issues with msvc
2017-11-15 21:11:32 -05:00
Anthony Pesch 2dacdc0607 added support for loading mode1 2336/2352 and mode2 2352 tracks from cdi discs 2017-11-15 15:53:24 -05:00
Anthony Pesch 796b7a2dca added tmu stats debug menu 2017-11-15 09:06:12 -05:00
Anthony Pesch 2297386e0c make unexpected area0 write fatal as well 2017-11-15 08:38:45 -05:00
Anthony Pesch 8140daecfe properly calculate missing z, u, v coordinates for sprites 2017-11-14 22:19:31 -05:00
Anthony Pesch 7d2e9cf3e6 take the absolute value of the z component when calculating w, else
negative z values will always fail the clip test

fixes regression introduced by d3118a9ae8
2017-11-14 09:14:02 -05:00
Anthony Pesch 414c290f80 added support for vq compressed YUV422 textures 2017-11-13 23:51:49 -05:00
Anthony Pesch 223b3a5d9a fixed regression caused by e3e7975a6c where
CD_READ commands were being terminated early when the intermediate dma
buffer was exhausted
2017-11-13 23:37:25 -05:00
Anthony Pesch 57e2558da9 use unsigned types in ta_surface params to avoid accidental sign extension 2017-11-11 15:48:04 -05:00
Anthony Pesch 2d098bb7cf assert if no AVX2 / SSE2 support 2017-11-04 23:01:25 -04:00
Anthony Pesch ffc48584f1 tweak IP.BIN metadata field names 2017-10-31 19:10:36 -04:00
literalmente-game f97782e777 Change on DISC_MAX_TRACKS
Changing DISC_MAX_TRACKS from 64 to 128 (attempt to fix issue https://github.com/inolen/redream/issues/204 )
2017-10-31 00:25:45 -04:00
Anthony Pesch 487a786b8b explicitly cast maple command enum values to avoid sign errors under clang 2017-10-31 00:20:48 -04:00
Anthony Pesch a54a29ca64 saturate FTOI conversions 2017-10-31 00:20:47 -04:00
Anthony Pesch c675985c51 changed sh4 memop instruction enum names 2017-10-28 23:13:13 -04:00
Anthony Pesch a082e4733d don't attempt to inspect maple frame data outside of device's frame
handler routine as the frame data format isn't standard across all
devices
2017-10-28 17:59:38 -04:00
Anthony Pesch 86d7b2a452 correctly set sh4 VERSION register 2017-10-28 17:42:18 -04:00
Anthony Pesch d6df193e60 remove old hw testing framework 2017-10-28 10:23:35 -04:00
Anthony Pesch 3ebfbe47cc update inlined sh4_implode_sr / sh4_explode_sr to match actual functions 2017-10-26 11:02:35 -04:00
Anthony Pesch 1ce904f5a9 initial sh4 scif support for interacting with dcload 2017-10-25 20:54:18 -04:00
Anthony Pesch e06ce8fa71 remove cached device references on each device
remove device interface create routines
2017-10-23 16:31:49 -04:00
Anthony Pesch e17a21b1f2 added alsa, pulse and jack2 packages to linux build machine 2017-10-23 14:26:29 -04:00
Anthony Pesch f55114d261 updated default options to map DPAD to TFGH and move ABXY to OKLP 2017-10-23 14:21:43 -04:00
Anthony Pesch 6b1cb5368f fix sh4 memory printfs 2017-10-23 14:10:56 -04:00
Anthony Pesch 1aa0dbf980 fix for UYVY422 twiddled texture regression 2017-10-23 00:57:11 -04:00
Anthony Pesch f08db8afd3 avoid sign extending PT_ALPHA_REF value when storing on ta_surface
add PT_ALPHA_REF to saved trace state
2017-10-23 00:36:29 -04:00
Anthony Pesch 75aceb847f update libretro makefile 2017-10-21 15:52:29 -04:00
Anthony Pesch 478c39d542 make memcpy functions fallback to 8-bit copy to fix HLE bios syscalls 2017-10-21 14:39:00 -04:00
Anthony Pesch 3243219bcf per-triangle sorting of translucent and punchthrough lists 2017-10-21 13:58:11 -04:00
Anthony Pesch be3cdea37c compress ta_surface parameters into a single bitstring for faster merge comparisons 2017-10-21 13:57:47 -04:00
Anthony Pesch c662ab2022 round number of buffered audio frames up to the next power of two 2017-10-20 08:52:18 -04:00
Anthony Pesch 76bdc3fe5d cleaned up some of the ta poly / vertex parameter parsing 2017-10-19 22:18:38 -04:00
Anthony Pesch f6dbdbcd02 honor the pcw over the isp/tsp instruction word for uv_16bit, gouraud, offset and texture settings 2017-10-19 20:56:33 -04:00
Anthony Pesch 747fddb805 fix bpp calculation for vq compressed textures 2017-10-19 16:53:06 -07:00
Anthony Pesch 6e9f8b9ddb split joystick input into positive / negative keys such that it can
easily be bound to the keyboard
2017-10-19 15:38:16 -07:00
Anthony Pesch c764b262cc make sure HAVE_FASTMEM is enabled for libretro builds 2017-10-19 15:38:13 -07:00
Anthony Pesch ba5c4e8685 fix for floating point to uint8_t conversion, negative numbers were not being saturated correctly
perform saturation to both operands before multiplication when performing intensity calculation
2017-10-19 18:17:17 -04:00
Anthony Pesch 29c86bb03a avoid using popcnt intrinsics to support older processors such as the
core 2 duo which are plenty fast enough to support
2017-10-18 18:40:29 -04:00
Anthony Pesch 1e412dac1d simplified and optimized memory access code
hid all fastmem-related code behind HAVE_FASTMEM define
2017-10-18 18:40:28 -04:00
Anthony Pesch b181db0992 added types for some of the scif registers 2017-10-14 19:14:47 -04:00
Anthony Pesch 9585dff4bc split up sh4 header 2017-10-14 13:48:03 -04:00
Anthony Pesch 8b084c6fde move SB_LMMODE assert into MMIO handler 2017-10-14 11:58:04 -04:00
Anthony Pesch fca17ca8f2 remove DISC_STRING_SIZE 2017-10-14 11:36:24 -04:00
Anthony Pesch 3c8c2cf81c calculate the GMT delta for the current timezone and apply it when calculating bios_local_time 2017-10-14 11:27:29 -04:00
Anthony Pesch c5fd569f28 reenable support for internals traps set by invalid instructions other than 0xfffd 2017-10-14 10:34:33 -04:00