Commit Graph

1009 Commits

Author SHA1 Message Date
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
Anthony Pesch ac82825cb5 moved imgui code up into host to prepare for frontend 2017-09-01 01:13:56 -04:00
Anthony Pesch ddf764977a code defensively as libretro will call retro_unload_game even if retro_load_game has not been called 2017-08-31 21:14:11 -04:00
Anthony Pesch 3e88f043ca cache off IP.BIN meta data in disc_create 2017-08-31 21:06:07 -04:00
Anthony Pesch 26cfcc14fe make audio low water mark equal to half the buffer size
rename audio_available_frames to audio_buffered_frames
2017-08-31 20:54:11 -04:00
Anthony Pesch 0a14b4dafa rename region from america to usa to match area symbols 2017-08-31 20:52:14 -04:00
Anthony Pesch 8f4ec83118 updated to latest libchdr 2017-08-27 11:14:07 -04:00
Anthony Pesch e75b449944 fix for fs_basename / fs_dirname when operating on paths with mixed separators on Windows 2017-08-26 11:46:27 -04:00
Anthony Pesch fe0dcf4d6d automatically select bios region based on disc's supported regions 2017-08-25 16:20:24 -04:00
Anthony Pesch 6b77942ee4 synchronize disassembly formats 2017-08-24 18:39:49 -04:00
Anthony Pesch 427e5d64f7 assert branch is last instruction in ir block 2017-08-24 18:39:49 -04:00
Anthony Pesch 45695ce3e0 add support for directly branching to blocks in the same ir unit add jit_create_entry_points 2017-08-24 18:39:47 -04:00
Anthony Pesch d26a30a857 convert BRANCH_FALSE / BRANCH_TRUE to single BRANCH_COND 2017-08-24 18:39:19 -04:00
Anthony Pesch fa05cbcf6c assert run-time FPSCR state matches compile-time assumptions 2017-08-24 18:39:18 -04:00
Anthony Pesch 1a9d91d94b relax idle loop detection check 2017-08-23 19:25:02 -04:00
Anthony Pesch a80dc048a6 added initial unoptimized bitmap code
made list_empty take a const pointer
2017-08-20 23:28:49 -04:00
Anthony Pesch 9092471120 when eliminating stores, don't look for an exact match, just look to
see if any combination of entries covers the entire access range

moved partial invalidation check to lse_get_available itself, making
lse_erase_available's logic more straight forward
2017-08-20 23:28:49 -04:00
Anthony Pesch f6827af92c move inLocalLabel / outLocalLabel calls inside exception handler or else they will subsequently error if the buffer overflows, aftet the exception is handled 2017-08-20 23:28:49 -04:00
Anthony Pesch c066204038 fix bitrot in recc
fixed deserializing VALUE_BLOCK arguments
2017-08-20 23:28:44 -04:00
Anthony Pesch f91c4f9d3b reenabled control flow analysis pass 2017-08-20 23:28:44 -04:00
Anthony Pesch 357a210c79 replace MAX_OFFSET with IR_MAX_CONTEXT 2017-08-17 20:18:02 -04:00