Commit Graph

1048 Commits

Author SHA1 Message Date
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
Anthony Pesch 046411f8f8 added support for honoring VO_CONTROL->blank_video
added support for rendering the raw framebuffer in case it is
directly written to
2017-10-14 10:23:23 -04:00
Anthony Pesch 9f67222a03 added FB_R_SIZE union 2017-10-14 10:23:14 -04:00
Anthony Pesch 7c277d5038 run each frame up to the vblank_out, not vblank_in, enabling the code ran during
vblank to be ran in parallel
2017-10-14 10:23:14 -04:00
Anthony Pesch daf3b61e35 render latest ta context if a new one isn't submitted before vblank in single threaded mode as well 2017-10-14 10:23:14 -04:00
Anthony Pesch 9926e82a82 fix tools bitrot 2017-10-08 23:34:08 -04:00
Anthony Pesch 893cd0b0e4 manually calculate bios_local_time as mktime will error instead of producing a negative timestamp on Windows 2017-10-08 17:24:46 -04:00
Anthony Pesch 94b0821091 don't forecefully disable DirectX support, this was disabling dinput / xinput on Windows 2017-10-08 15:41:17 -04:00
Anthony Pesch 3cb912c1d0 added time setting to bios_override_settings debug print 2017-10-08 14:13:48 -04:00
Anthony Pesch fb489f7112 fix null host bitrot 2017-10-08 00:34:24 -04:00
Anthony Pesch 466e16c46e only raise illegal instruction exception for 0xfffd 2017-10-07 20:32:46 -04:00
Anthony Pesch f7e08114ab added arm7 debug menu 2017-10-07 15:29:20 -04:00
Anthony Pesch ec5f15abaa updated to latest imgui 2017-10-07 15:13:55 -04:00
Anthony Pesch 0ab57e8f82 warning when cache is accessed while on-chip RAM is disabled 2017-10-07 15:11:33 -04:00
Anthony Pesch 5280bf813d fix bad texture format constants being used instead of pixel format constants 2017-10-07 13:56:21 -04:00
Anthony Pesch 9526f636f5 fix tracer bitrot 2017-10-07 13:31:28 -04:00
Anthony Pesch dcf1ff4282 remove debug menu option, default disable it 2017-10-05 23:36:08 -04:00
Anthony Pesch 0593853b2a removed debug menus for options that are now accessible through the ui
added key mappings as options
added return value to keydown events so they can be cancelled
2017-10-05 18:08:16 -04:00
Anthony Pesch 8d4486b2c3 use ints for keycode 2017-10-05 12:28:07 -04:00
Anthony Pesch ff29b1a885 added dirty flag to each option 2017-10-03 23:23:09 -04:00
Anthony Pesch 59c8dd9ea5 move all stat definitions into stats.c / stats.h 2017-10-03 19:05:29 -04:00
Anthony Pesch b2f780dbe7 place all options in options.c / options.h
added assert.h, log.h, math.h and string.h to core.h to reduce includes
2017-10-03 17:52:50 -04:00
Anthony Pesch 0b4ed0c3ab don't try to render a frame when dreamcast is suspended
remove extern "C" from each imgui_* function
2017-10-01 20:01:30 -04:00
Anthony Pesch 867896ba44 early out if removing the invalid texture handle 2017-09-30 11:47:28 -04:00
Anthony Pesch d9d321d7b4 use DISC_STRING_SIZE 2017-09-30 11:46:50 -04:00
Anthony Pesch d9a7ab54f4 update to latest imgui 2017-09-30 10:52:55 -04:00
Anthony Pesch 46e94bc50f apply area_off when patching area sector 2017-09-30 10:24:19 -04:00
Anthony Pesch 7e7aa80c62 changed region patching to patch each game for all regions vs
patching the flash settings for a particular supported region

added post_init callback to device, removing the need for the
call to bios_preboot
2017-09-29 20:26:53 -04:00
Anthony Pesch adcebc3779 remove patch code 2017-09-29 20:26:53 -04:00
Anthony Pesch a2003a8c53 updated imgui to latest navigation branch 2017-09-29 20:26:53 -04:00
Anthony Pesch 5c5c0754b3 added DISC_STRING_SIZE define 2017-09-29 20:26:53 -04:00
Anthony Pesch aae86b652a fix for out of bounds access in merge sort implementation 2017-09-29 20:26:53 -04:00