Commit Graph

5337 Commits

Author SHA1 Message Date
RadWolfie 062e5b9aaf Fix device name since the ending do contain spaces
This is the only setting has spaces in it.

Other strings, list below, does not have any spaces at beginning and ending.
* VideoResolution
* File paths
2018-08-23 12:34:33 -05:00
RadWolfie e38f381d99 Fix indent alignment 2018-08-23 10:00:15 +01:00
Luke Usher 0d02840ab9 Oops: Fix compilation 2018-08-23 10:00:15 +01:00
Luke Usher 81b2017541 Experimental Chihiro Media Board ROM (Segaboot) support
Currently disabled as it doesn't work yet/is incomplete.
Work will be resumed once LLE OCHI is stable and enabled.

For now, we'll just have to skip Segaboot and launch games directly.
2018-08-23 10:00:15 +01:00
Luke Usher 910bb02b7d Fix a crash when Xbox titles attempt to access CRX registers 2018-08-23 09:59:31 +01:00
Luke Usher 06f860dd30 Don't hardcode AVPack in the kernel, read it from SMC instead 2018-08-23 09:59:31 +01:00
Luke Usher 31e3cea0f7 Fix an issue where AVPack version read from Kernel or Direct from SMC don't match 2018-08-23 09:59:31 +01:00
Luke Usher f6db500c07 Fix an issue where SMC Version String was read incorrectly 2018-08-23 09:59:31 +01:00
Luke Usher fe24e4c344 less log pollution in non-debug levels 2018-08-23 09:59:31 +01:00
Luke Usher 92d5de47aa oops, it doesn't compile without these! 2018-08-23 09:59:31 +01:00
Luke Usher 69527e5f8c Implement CriticalSections + KeWait + KeEvents* without host forwarding 2018-08-23 09:59:31 +01:00
Luke Usher 0620b1a983 Fix CritialSection, implement KeWait*Object as best as we can without custom thread scheduler 2018-08-23 09:59:31 +01:00
Luke Usher 8c9d8e448e
Merge pull request #1405 from RadWolfie/file-path-fix
Fix file path to use RootDirectory properly.
2018-08-23 09:56:51 +01:00
RadWolfie bec2b6bd3b fix indent (spaces to tab)... 2018-08-22 19:33:18 -05:00
RadWolfie 778fcddbe1 perm fix for file path
Turok Evolution now finally able to save the game.

RootDirectory handle is very important role when a title pass down with non-null handle in the structure.

Ideally should not cause any regression.
2018-08-22 19:29:21 -05:00
RadWolfie bde08beea2 workaround fix (for study) 2018-08-22 16:53:02 -05:00
Luke Usher 2e0f788805
Merge pull request #1403 from LukeUsher/fix-delete-vertex-shader-crash
Fix a crash when deleting a declaration-only shader
2018-08-21 10:41:40 +01:00
Luke Usher cb45c5efb3 Fix a crash when deleting a declaration-only shader 2018-08-21 10:37:11 +01:00
RadWolfie e2d87464a1
Merge pull request #1402 from RadWolfie/fix-std-output
Fix std output for GUI frontend
2018-08-20 14:52:33 -05:00
RadWolfie eaa80d6484 Replace spaces to tabs for UpdateDebugConsoles function 2018-08-20 14:41:48 -05:00
RadWolfie 8af7431810 Fix std output not being outputting 2018-08-20 14:34:57 -05:00
RadWolfie d22dd8c446
Merge pull request #1399 from RadWolfie/misc-update
Misc update
2018-08-19 15:27:03 -05:00
RadWolfie 527f92e1d2 Improve patching and detecting rdtsc patched speed. 2018-08-19 15:22:34 -05:00
RadWolfie 5aa645dafa Fix F10 hotkey
Plus D3D8 handling of returns for EmuMsgProc function is wrong.
2018-08-19 15:13:54 -05:00
RadWolfie d2b8b30199
Merge pull request #1395 from RadWolfie/gui-kernel-ipc-improvement
BATCH: IPC improvement, features, and bug fixes
2018-08-19 10:55:06 -05:00
RadWolfie 375adb32df Contain two fixes
* Ensure returns are checked for is printable or not.
* Forgot to include a set to preserve Kernel log enabled to EmuShared when pressed F8 hotkey.
2018-08-19 01:09:42 -05:00
RadWolfie 0df1a19a9a Fixed no audio when enter faux fullscreen before DirectSoundCreate was called. 2018-08-18 22:28:11 -05:00
Luke Usher 8180b64353
Merge pull request #1398 from LukeUsher/fix-exp-instruction
Replace use of EXP in Xbox Shaders with FRC
2018-08-18 09:16:41 +01:00
Luke Usher 8dcda4d47f Replace use of EXP in Xbox Shaders with FRC
Xbox Implements EXP as "extract the fractional component" but PC
implements EXP as "Provides full precision exponential 2x."

This can be resolved by replacing the instruction with FRC, which is
implemented by D3D on PC as "Return the fractional portion of each
input component."

This fixes the broken vertices on the player model in THP2X
2018-08-18 09:12:07 +01:00
RadWolfie ded5a771c0 Revert "Make g_bPrintfOn thread-safe"
This reverts commit 7552218dac.
2018-08-17 15:41:26 -05:00
RadWolfie 3a09751e9e Show full detail of log level. 2018-08-17 15:21:28 -05:00
RadWolfie 2f87d23e4a Put log_ as beginning of the functions. 2018-08-17 14:33:31 -05:00
RadWolfie 7552218dac Make g_bPrintfOn thread-safe 2018-08-17 13:34:17 -05:00
RadWolfie 48519a99f3 Add extra line @GXTX is right... 2018-08-17 05:15:50 -05:00
RadWolfie be57dd8ba5 3 tasks requested by @PatrickvL are done
However, GUI's console isn't outputing the log filter info... seems like there's a bug with std::cout for GUI application?
2018-08-17 05:07:30 -05:00
RadWolfie 047329cf20 Minimalize reboot message 2018-08-17 04:41:40 -05:00
RadWolfie 1fff9a8306 use unsigned integer since index is acting as offset 2018-08-17 04:32:15 -05:00
RadWolfie f7069152c4 Fixed missing GUI log indication 2018-08-17 02:35:38 -05:00
RadWolfie 58f6b200ac Fix one last thing for AppVeyor to be able build. 2018-08-16 17:35:56 -05:00
RadWolfie 54991e899b Also fix MSpF counter 2018-08-16 17:09:29 -05:00
RadWolfie b501642b7c Fix remaining corruptions... 2018-08-16 16:50:21 -05:00
RadWolfie fa3327245f Include separator indication in the log after reboot. 2018-08-16 16:30:23 -05:00
RadWolfie cb871d8957 Batch of adjustments and add features
* FIXED: Use existing WM_PARENTNOTIFY instead of GUI's.
* Put each status feature into their own function.
* IMPROVED: Use RefreshAllStatus when emulation is running.
  * UpdateCaption is not require for constant update menu status.
  * DrawMenuBar is necessary to get proper update status. (Without it, you have to move your mouse over it to get new update status shown.)
* NEW: Log indicator for both GUI and kernel process is shown on right side of LED icon.
* NEW: Log file now perform appand to file instead of overwrite it base on boot status.
2018-08-16 16:12:18 -05:00
RadWolfie 732d35b1f7 Move LLE flags and LED into message sender instead of shared memory.
Plus prepare log indication status in GUI.

NOTE: If move into ipc_send_gui_update will spam GUI's message system (one message per frame). Think about uncap framerate can skyrocket to 1000s per second. Depending on GPU hardware.
2018-08-16 16:12:18 -05:00
RadWolfie a185690160 Implement IPC interface support 2018-08-16 16:12:18 -05:00
Luke Usher 6d15ab07d3 Revert "Remove __try/__catch blocks: Vectored Exceptions made this
unnecessary"

This reverts commit 1ff481ac0a.
2018-08-16 22:05:11 +01:00
Luke Usher 1e53620385
Merge pull request #1394 from LukeUsher/more-performance-tuning
More performance tuning
2018-08-16 20:46:29 +01:00
Luke Usher 1ff481ac0a Remove __try/__catch blocks: Vectored Exceptions made this unnecessary 2018-08-16 20:35:58 +01:00
Luke Usher 62f2f8dc80 Stop non-xbox threads from burning too many cycles. Slight performance boost (1-5fps in JSRF on my machine) 2018-08-16 20:31:20 +01:00
Luke Usher 736ed4033c
Merge pull request #1393 from ergo720/mm_boot_layout_fix
Persist memory layout across quick reboots
2018-08-16 20:30:06 +01:00