Commit graph

6420 commits

Author SHA1 Message Date
patrickvl
932398547e Move SetCxbxVertexShader to XbVertexShader.cpp 2020-04-30 15:13:39 +02:00
patrickvl
ab6bb98758 Move D3DDevice_DeleteVertexShader implementation to XbVertexShader.cpp 2020-04-30 14:53:10 +02:00
patrickvl
311e1037a6 Move D3DDevice_SelectVertexShader implementation to XbVertexShader.cpp 2020-04-30 14:49:10 +02:00
patrickvl
ddc5d14c52 Move g_VertexShaderSource macro towards VertexShaderSource.cpp (in preparation for the next commit, that's going to use it) 2020-04-30 14:48:04 +02:00
patrickvl
e94be42c40 Fix compile warning on not-supported LOG_TEST_CASE macro argument
Fix compile warning on implicit type cast
2020-04-30 14:39:02 +02:00
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
Luke Usher
f296636643
Merge pull request #1879 from Margen67/actions
ci: Update release if condition
2020-04-27 08:07:04 +01:00
Margen67
47b53211f9 ci: Update release if condition 2020-04-27 00:04:50 -07: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