Commit Graph

5202 Commits

Author SHA1 Message Date
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
ergo720 397efc08fc Bug fixes 2018-08-16 20:57:00 +02:00
ergo720 67b5b9b341 Memory layout 2018-08-16 16:27:45 +02:00
Luke Usher 96d0fcca39
Merge pull request #1392 from PatrickvL/Remove_USE_D3D9
Removed CXBX_USE_D3D9
2018-08-16 10:10:00 +01:00
PatrickvL 66818aab59 Removed CXBX_USE_D3D9, fixes #1367 2018-08-16 09:48:48 +02:00
Luke Usher f73114df61
Merge pull request #1388 from ergo720/logger
Log levels and modules - v0.2 milestone
2018-08-16 08:00:17 +01:00
RadWolfie 8c31d5e24e Fixes and tuneup
* Reduce duplicate methods perform same task into one simple function.
* Use EmuShared to obtain updated log settings instead of WM_COPYDATA message.
* FIXED: Set log config for second GUI process
* FIXED: Proper update logging config to EmuShared instead of repeatly send when it is indeed in use.
  * Without this fix, it will affect other GUI process emulating a title.
2018-08-15 18:49:42 -05:00
ergo720 54f95fc33b Merge branch 'develop' of https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into logger 2018-08-15 23:16:16 +02:00
ergo720 430e3f1eea Fix an issue where relaunched xbe's were still using the old logging settings 2018-08-15 00:37:41 +02:00
Luke Usher 0b0c3429c4
Merge pull request #1389 from LukeUsher/performance-tuning
Performance tuning: First batch
2018-08-14 21:55:00 +01:00
ergo720 a3b21dc7bf Also make LOG_TEST_CASE active on release builds as well 2018-08-14 22:24:02 +02:00
Luke Usher 916a11cb1c A cleaner solution to the previous commit 2018-08-14 15:39:15 +01:00
Luke Usher 2b63163f6b Allow multiple sections with the same name, but different offsets. TODO: A better fix for this 2018-08-14 14:50:44 +01:00
ergo720 a5d97e6be0 Use LOG_PREFIX as an intrinsic parameter of the debug macros 2018-08-14 14:51:38 +02:00
ergo720 82f429f3c9 Fixed LoggedModules bug + refactored log gui + allow to print debug messages also on release builds 2018-08-14 13:50:58 +02:00
Luke Usher 737705063d Let Vertex Buffer conversion take StartIndex as a parameter
This boosts Dashboard 4920 from ~20FPS to 60FPS on my machine.
2018-08-14 10:10:29 +01:00
Luke Usher c62519932a Let the compiler automatically generate parallel code where possible. 2018-08-14 10:08:51 +01:00
ergo720 524fb1f06d Forgot to use to_underlying in some places 2018-08-13 23:10:29 +02:00
ergo720 1810c4dae0 Small fixes 2018-08-13 21:51:07 +02:00
ergo720 469f7e9f43 Improvements 2018-08-13 20:50:54 +02:00
ergo720 ca1bda76c8 Bug fixes 2018-08-13 20:50:54 +02:00
ergo720 26c61b5381 Added log window to GUI 2018-08-13 20:50:54 +02:00
ergo720 00ed9cfe00 Allow cxbxr to build with new logging 2018-08-13 20:50:54 +02:00
ergo720 069767174c Huge logging refactoring (doesn't build yet) 2018-08-13 20:50:54 +02:00
ergo720 47f79d29d7 Damn, also update these ones 2018-08-13 20:50:54 +02:00
ergo720 c66426b6b3 Finished logging refactoring 2018-08-13 20:50:54 +02:00
ergo720 af8e8526dc Refactoring logging (in progress) 2018-08-13 20:50:54 +02:00
ergo720 85ac039e62 Added logging leven and module 2018-08-13 20:50:54 +02:00
RadWolfie 1926e0428b
Merge pull request #1386 from PatrickvL/SetVertexData_fixes
Set vertex data fixes
2018-08-13 12:53:03 -05:00
PatrickvL d501ac0745 Set default vertex colors according to persistent usage vertex shader flags. 2018-08-13 11:29:04 +02:00
PatrickvL 4a44af0d03 Introduced and used VshHandleToXboxVertexShader(), preventing a potential issue loosing the high-bit 2018-08-13 11:26:40 +02:00
RadWolfie d58d2b29cb Possible permanent solution commit 2018-08-13 09:23:30 +02:00
RadWolfie 463c208cb1 Minor fixup for extra and missing tabs from pull request. 2018-08-12 12:02:30 -05:00
PatrickvL 95899d648e
Merge pull request #1384 from Voxel9/SetVertexData-Hotfix
D3D: Fix vertex diffuse colors not initializing properly
2018-08-12 18:54:58 +02:00
Voxel f3f8d5d0a3 Get rid of global variable. 2018-08-12 16:54:02 +01:00
Voxel 738daf8bae Tab spacing consistency 2018-08-12 14:10:33 +01:00