Commit Graph

6263 Commits

Author SHA1 Message Date
patrickvl 7bab062ff5 Move D3DDevice_SetVertexShaderConstant implementation to XbVertexShader.cpp 2020-04-30 14:36:59 +02:00
patrickvl 5a222185a3 Move D3DDevice_SetVertexShader implementation to XbVertexShader.cpp 2020-04-30 14:28:32 +02:00
patrickvl ea5f494a8e Move DEBUG_D3DRESULT macro towards XbD3D8Logging.h (in preparation for the next commit, that's going to use it) 2020-04-30 14:27:17 +02:00
patrickvl cc7e1a4069 Fix compile warning on not-supported LOG_TEST_CASE macro arguments 2020-04-30 14:21:13 +02:00
patrickvl 3db98e4e90 Move implementation of D3DDevice_LoadVertexShader towards XbVertexShader.cpp 2020-04-30 13:58:27 +02:00
patrickvl 848f4eeee3 Hide vertex slots behind GetCxbxVertexShaderSlotPtr (which also logs out of range test cases) 2020-04-29 19:08:15 +02:00
patrickvl c1b58dafb9 Remove everything related to no-longer-set HostFVF variable 2020-04-29 15:14:27 +02:00
Anthony Miles a2b5d2c466 Improve shader slot emulation 2020-04-27 11:18:16 +12:00
Anthony Miles eaa095e8a2 - Rename VertexShaderInfo to VertexDeclaration
- Move declaration related fields to CxbxVertexShader.Declaration
2020-04-26 22:01:22 +12:00
PatrickvL 57a8dc6f3b
Merge pull request #1877 from Margen67/typofix
setup.bat: Fix typos, add -j to build
2020-04-25 21:40:36 +02:00
Margen67 1a2df9cd13
setup.bat: Fix typos, add -j to build 2020-04-20 11:16:52 -07:00
PatrickvL e6b2ed88af
Merge pull request #1872 from Cxbx-Reloaded/cmake_loader_reloaded
Near absolute memory control
2020-04-20 09:50:50 +02:00
RadWolfie c27da955ab replace placeholder to working emulate_system variable set 2020-04-17 14:54:01 +02:00
PatrickvL 10b7d06be8
Merge pull request #1871 from RadWolfie/enable-loader-ui
LOADER: Enable Loader's UI and Set to Default
2020-04-15 09:02:26 +02:00
RadWolfie a554f1cbba enable Loader's UI toggleable and set enable by default 2020-04-14 20:27:16 -05:00
ergo720 653252d1f3 Create two independent file mappings for a chihiro system 2020-04-14 20:24:19 -05:00
RadWolfie 0623d4f485 add SEGABOOT_EP_XOR and update GetXbeType to use named value 2020-04-14 20:24:19 -05:00
RadWolfie d2f104f251 change KB/MB to KiB/MiB 2020-04-14 20:24:19 -05:00
RadWolfie 1a1019b85c replace hardcode 384 to blocks_reserved_t plus add comments 2020-04-14 20:24:19 -05:00
RadWolfie 897bc182f8 use enum class for XbeType to resolve warnings 2020-04-14 20:24:19 -05:00
RadWolfie 55f84cd67e move functions into their own locations 2020-04-14 20:24:19 -05:00
RadWolfie 35319dc724 convert defines to inline constexpr 2020-04-14 20:24:19 -05:00
RadWolfie 57905bab69 replace hardcode addresses to defined values 2020-04-14 20:24:19 -05:00
RadWolfie 32001136ae replace hardcode addresses to macro for AddressRanges files 2020-04-14 20:24:18 -05:00
RadWolfie 2ead1e0fe0 move address ranges into AddressRanges header file 2020-04-14 20:24:18 -05:00
RadWolfie 7bfd1c795b move GetLastErrorString and FreeLastErrorString to loader source file 2020-04-14 20:24:18 -05:00
RadWolfie 04840af6d3 remove old todo comment 2020-04-14 20:24:18 -05:00
RadWolfie 9e1077fe9f declare ARRAY_SIZE once and use C++11 feature 2020-04-14 20:24:18 -05:00
RadWolfie af3858c0d8 add todo comments 2020-04-14 20:24:18 -05:00
RadWolfie fbe4987569 add verbose debug; won't work with loader project 2020-04-14 20:24:18 -05:00
RadWolfie fb7398d7c9 Get maximum reserve memory ranges from host.
Plus more fixup to manage reliable memory design on loader launch and emulator.
2020-04-14 20:24:18 -05:00
RadWolfie 37b230fbfe scrap win32 draft gui 2020-04-14 20:24:18 -05:00
RadWolfie 8a33562dc8 fix standalone persisted memory support 2020-04-14 20:24:18 -05:00
RadWolfie b20a970b1d fix shared memory reboot loss 2020-04-14 20:24:18 -05:00
RadWolfie 7fca148bc6 implement toggle loader project in GUI 2020-04-14 20:24:18 -05:00
RadWolfie 380d93c03e yet another re-fix... 2020-04-14 20:24:18 -05:00
RadWolfie 0f38209e4b use std map pairs instead of string for cli usage
Plus enable individual memory shared settings and lock data file path hash whenever in used.
2020-04-14 20:24:18 -05:00
ergo720 11c046e0aa Suppress warning 4200 (alternative method) 2020-04-14 20:24:18 -05:00
ergo720 446b7efc29 Fix memory manager crashing upon second reboot 2020-04-14 20:24:18 -05:00
ergo720 f1255cb89b Allow the memory manager to work again with the non-loader approach 2020-04-14 20:24:18 -05:00
PatrickvL 79a3a8d9a6 Extracted functions for MapPersistedMemory and UnmapPersistedMemory 2020-04-14 20:24:18 -05:00
RadWolfie 1485d9c82b Add note about memory range option at launch should not occur at all. 2020-04-14 20:24:18 -05:00
RadWolfie 95d2406937 fix compile build to able call CxbxKrnlMain in cxbx.exe
Plus some fixes to able launch from cxbx.exe's emulation to verify the work is good or not.
2020-04-14 20:24:18 -05:00
ergo720 52f0d6f03b Updated memory functions to work with the loader 2020-04-14 20:24:18 -05:00
patrickvl a8e8f0c071 Loader : Update build script to include new binaries in artifact 2020-04-14 20:24:17 -05:00
PatrickvL c4f9821c6a Loader : Fix typos and avoid Microsoft compiler specific types 2020-04-14 20:24:17 -05:00
PatrickvL affc999d70 Loader : Use CxbxMessageBox (a wrapper for Windows' MessageBox API) wherever possible, to avoid repeating the TEXT("Cxbx-Reloaded") caption everywhere, and a different argument-order allowing default argument values and thus more compact code. 2020-04-14 20:24:17 -05:00
patrickvl f283dff3b6 Loader : Deduplicate code via new CreateSettings() 2020-04-14 20:24:17 -05:00
PatrickvL 254e666bfe Loader : Shared implementation for termining guiProcessID (and "2nd GUI" mode?!) 2020-04-14 20:24:17 -05:00
patrickvl 170b971a8e Loader : Deduplicate code via new CreateSettings() 2020-04-14 20:24:17 -05:00