Commit graph

7369 commits

Author SHA1 Message Date
ergo720
2e1ed31aaa Untabfied code and update code style 2021-05-21 13:08:57 +02:00
jackchentwkh
a665cf1f8e Replace host CreateFile/GetFileSize/ReadFile/Close with xbox::NtCreateFile/NtQueryFile/NtReadFile/NtClose. Add necessary error check logic, Add logic for loading image file from xbe section in case we encounter such guest code, alghough highly unlikely. Basicaly reversed from PGR2's code. 2021-05-21 13:28:13 +08:00
jackchentwkh
d49762d27e Rebase Code and State Segments in EffectMaps. fix PGR2 2021-05-19 19:20:39 +08:00
RadWolfie
8d725a689c kernel: rename tmp_buffer to p_default_mount_path 2021-05-18 16:07:56 -05:00
RadWolfie
08dd615d37 review remarks 2021-05-18 16:05:13 -05:00
RadWolfie
cf3655bed1 fix g_hCurDir issue by auto-bind to D letter when symbolic link is called occur 2021-05-18 15:48:19 -05:00
RadWolfie
d8eb26fbda kernel: fix chihiro support 2021-05-18 15:48:18 -05:00
RadWolfie
9eadb8d393 remove unused code 2021-05-18 15:48:18 -05:00
Luke Usher
cec1b0b885
Merge pull request #2215 from NZJenkins/ivb-float4
Change IVB to an array of 4-float slots
2021-05-17 16:55:04 +01:00
PatrickvL
9d601299ad In CxbxImpl_SetVertexData4f, call CxbxSetVertexAttribute *after* detecting Register X_D3DVSDE_VERTEX, and updating it to X_D3DVSDE_POSITION, to avoid needless "Register < 0" logging, and to have current position values written to the NV2A vertex attribute value buffer. 2021-05-17 14:51:03 +02:00
Anthony
b0b47ab744 Initialize vertex attribute format once 2021-05-17 19:12:54 +12:00
Anthony
867a0b1045 Fix 'NumVertexIndices' instead of 'NumVertices'
and tidy
2021-05-16 22:11:48 +12:00
Anthony
0453e451f1 Change IVB to an array of 4-float slots
Will fix Halo logo and menu text rendering (once it's visible!)
- Remove references to fixed function concepts, since slots might contain anything
e.g. don't exclude the 4th component of the slot corresponding to NORMAL in fixed function mode
- Use the IVB table directly for simplicity. Copy all table data to the vertex buffer
2021-05-16 22:11:48 +12:00
jackchentwkh
a04a079f19 Adding code to allocate memory for ImageDesc and copy ImageDesc from DSP ImageBuffer.
Tested with Otogi, success.
2021-05-16 15:42:44 +08:00
PatrickvL
a5f4b3b494
Merge pull request #2217 from ergo720/SetWindowText
Removed unnecessary calls to SetWindowText
2021-05-14 15:45:27 +02:00
ergo720
c769dce20e Removed unnecessary calls to SetWindowText 2021-05-14 12:01:27 +02:00
RadWolfie
2397ece059
Merge pull request #2214 from Margen67/actions
CI.yml: Use cmake -B
2021-04-30 04:52:51 -05:00
Margen67
12f2237c79
CI.yml: Use cmake -B 2021-04-29 23:32:10 -10:00
PatrickvL
8a4c7469e6
Merge pull request #2211 from RadWolfie/fix-cmake-installs
Remove extra projects we don't need at all and add SDL2 binary to be install
2021-04-30 10:32:27 +02:00
Luke Usher
7a6983478f
Merge pull request #2213 from ergo720/fatal_msg
Reworded fatal error message popup
2021-04-30 08:02:55 +01:00
ergo720
d74a9a1dfb Removed the original message, because it's already printed by EmuExceptionPrintDebugInformation 2021-04-29 19:15:09 +02:00
ergo720
2d10c1ffe2 Also print exception code and address 2021-04-29 19:15:09 +02:00
ergo720
a95636afcd Reworded fatal error message popup 2021-04-29 19:15:09 +02:00
Luke Usher
dff5fb04cc
Merge pull request #2209 from CookiePLMonster/xdk-5849-stream-source
Add a new LTCG variation of D3DDevice_SetStreamSource
2021-04-29 16:02:08 +01:00
Silent
1e92046b0b
Add a new LTCG variation of D3DDevice_SetStreamSource
Found in Juiced.
2021-04-28 17:26:14 +02:00
RadWolfie
3554d8ef03 cmake: remove extra projects we don't need at all and add SDL2 binary to be install 2021-04-27 09:26:38 -05:00
PatrickvL
b6d4c76b42
Merge pull request #2207 from scribam/ninja
cmake: Fix format for Ninja generator
2021-04-26 22:01:02 +02:00
scribam
ea434d9cf2 cmake: Fix format for Ninja generator 2021-04-26 18:26:24 +02:00
PatrickvL
1034185a62
Merge pull request #2206 from medievil1/createdevice
check for null device
2021-04-23 23:36:53 +02:00
medievil1
cf8f2628c0 check for null device
Check to make sure device is null before creating it, avoids losing device due to unneeded recreation
2021-04-23 17:20:11 -04:00
PatrickvL
dd7fbe302f
Merge pull request #2193 from RadWolfie/title-mount-path
kernel: implement title mount path
2021-04-23 22:48:59 +02:00
PatrickvL
e6e0d5da9e
Merge pull request #2205 from RadWolfie/move-minor-changes
move minor changes into upstream from chihiro branch
2021-04-23 08:22:47 +02:00
RadWolfie
cb2dc36e9e kernel: fix XeImageFileName bug for homebrew titles 2021-04-22 22:24:33 -05:00
RadWolfie
4778aeab1e Use string_view instead of copy whole string. 2021-04-22 22:24:33 -05:00
RadWolfie
11ac2f8058 fix host's symbolic link path to full path since kernel always use full path 2021-04-22 22:24:33 -05:00
RadWolfie
0da1273404 review remarks 2021-04-22 22:24:33 -05:00
RadWolfie
8445a02998 kernel: implement title mount path 2021-04-22 22:24:33 -05:00
Luke Usher
8f7efbe1e8 move minor changes into upstream 2021-04-22 21:55:58 -05:00
RadWolfie
db545a3900
Merge pull request #2203 from scribam/add-delayimp-lib
Add delayimp lib and ignore CLion's build and project directories
2021-04-21 22:41:22 -05:00
scribam
36b83a8e52 cmake: /DELAYLOAD requires delayimp lib 2021-04-20 18:25:10 +02:00
scribam
3c74d95e17 .gitignore: Add CLion specific files 2021-04-20 18:23:04 +02:00
PatrickvL
f0e99ba436
Merge pull request #2200 from RadWolfie/fix-RtlUnicodeStringToAnsiString
Fix RtlUnicodeStringToAnsiString bug
2021-04-20 10:44:41 +02:00
RadWolfie
3b43c081e4 review remarks 2021-04-19 13:18:15 -05:00
RadWolfie
c809b0d01b kernel: fix RtlUnicodeStringToAnsiString 2021-04-16 12:32:26 -05:00
RadWolfie
c808cf2834
Merge pull request #2197 from ergo720/eeprom_edit_scroll
Add ES_AUTOHSCROLL style to hdd and online key in the eeprom edit dialog
2021-04-13 13:14:41 -05:00
ergo720
c127a13291 Add ES_AUTOHSCROLL style to hdd and online key in the eeprom edit dialog 2021-04-13 19:39:30 +02:00
PatrickvL
68b3f0f22b
Merge pull request #2192 from ergo720/imgui_off
Set ImGui overlay to default off + fixed a bug in the overlay settings read from file
2021-04-12 12:08:22 +02:00
ergo720
59ee8326d9 Set ImGui overlay to default off + fixed a bug in the overlay settings read from file 2021-04-12 11:46:45 +02:00
PatrickvL
9e9f78ec94
Merge pull request #2188 from ergo720/remove_64mb
Removed patch menu and SaveXbe(As) options from GUI
2021-04-10 14:55:31 +02:00
PatrickvL
401337a09e
Merge pull request #2189 from ergo720/remove_old_vsbc
Removed old vsbc files
2021-04-10 14:54:49 +02:00