Commit Graph

979 Commits

Author SHA1 Message Date
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
Anthony Pesch 6957c0aea0 simplify host interface by directly calling into user functions
don't pass initial renderer struct to emu_create
2017-09-29 20:26:51 -04:00
Anthony Pesch 5feae48f5f use system/dc/, not system/ for ra appdir 2017-09-15 09:25:28 -04:00
Anthony Pesch 083db97f9c remove host_ and guest_ prefix from emulator callbacks
don't call dc_resume redundantly
group audio / video / input state in host by respective type
clear color buffer in gl_backend in case the emulator's video output isn't being stretched to fit the window
remove old texture handle system that enabled the render backend to share texture handles across backends
2017-09-11 21:48:11 -04:00
Anthony Pesch 2e629ab64d removed microprofile 2017-09-10 21:03:07 -04:00
Anthony Pesch aaa58d7142 moved imgui and microprofile 2017-09-10 20:25:57 -04:00
Anthony Pesch ed76f10761 added NS_PER_MS define 2017-09-10 16:30:59 -04:00
Anthony Pesch 4fb9a65990 treat pixel type 7 as ARGB1555 2017-09-10 16:26:48 -04:00
Anthony Pesch 0846d1121f added tex.c to RA makefile 2017-09-08 09:32:36 -04:00
Anthony Pesch f2b2639dd2 fix compiler error on gcc7 2017-09-08 00:04:23 -04:00
Anthony Pesch 8768a6343c added retex tool for converting PVR files to PNG files 2017-09-05 18:40:53 -04:00
Anthony Pesch 1067df8099 tile accelerator / renderer tlc
standardized some parameter names, added comments to provide an overview of the ta functionality
2017-09-05 18:39:09 -04:00
Anthony Pesch 6040ef924d remove unused ta_texture struct 2017-09-05 00:48:15 -04:00
Anthony Pesch 9a26de43a8 added support for loading and decoding .PVR files
refactored tr code to share new PVR decoding code
2017-09-05 00:04:33 -04:00
Anthony Pesch 346ef4b939 standardize pixel format member names 2017-09-05 00:03:07 -04:00
Anthony Pesch dabf4549bf updated pixel / texture conversion routines to work with 4 texels at a time
replicated the dreamcast's color extensions when unpacking rgba values
2017-09-04 19:08:32 -04:00
Anthony Pesch 7ba8895351 show source pixel format in tracer texture menu 2017-09-04 15:53:33 -04:00
Anthony Pesch aa7df10ae6 added support for properly extending rgba colors for textures 2017-09-03 14:30:07 -04:00
Anthony Pesch 961057c9e2 call ImGui::NewFrame after setting DisplaySize 2017-09-03 11:04:04 -04:00
Anthony Pesch 56a6880ff9 updated to latest imgui 2017-09-02 12:22:56 -04:00