Commit Graph

4939 Commits

Author SHA1 Message Date
ggKismet 48b65375f7
Update cxbx.rc , added a T removed an L. lol. 2018-06-18 12:21:38 -07:00
RadWolfie 7327793b28 Remove minimal rebuild option
Enabling minimal rebuild does not work with multi-processor compilation (/MP).
2018-06-18 14:21:04 -05:00
Luke Usher da06670aa7
Update README to better present AppVeyor links 2018-06-18 08:24:45 +01:00
Luke Usher 030c21922d
Update README.md 2018-06-18 08:14:30 +01:00
Luke Usher 658ac6c97e
Update README.md 2018-06-18 08:12:43 +01:00
RadWolfie 2512dd0683
Merge pull request #1291 from RadWolfie/debugger-fixes-from-ui
Debugger fixes from UI side
2018-06-17 00:21:52 -05:00
RadWolfie 4182e7aea0 Remove old code 2018-06-16 20:42:39 -05:00
RadWolfie b3cd718afe Manually replace spaces to tabs 2018-06-16 20:36:51 -05:00
RadWolfie 3b9939f55e Use shorter link to source. 2018-06-16 20:26:24 -05:00
RadWolfie b84b25cbbf Update to use inline CxbxExec function. 2018-06-16 20:23:01 -05:00
RadWolfie 05be1dd4bd Create inline function file for Windows
Plus linux filter folder for future linux support.
2018-06-16 20:18:22 -05:00
RadWolfie f0825321d4 Fixes of Cxbx's GUI mode to Debugger
The following fixes contains:
* Launch one Cxbx Debugger at a time. If one already exist, then it will close previous Cxbx Debugger and launch new debugger.
* Close Cxbx Debugger when Cxbx is closed.
  * Also close Cxbx Debugger when xbe is closed.
* Fixed another false positive for title is emulating when debugger is opened then close.
  * (Changed from no-risk to low-risk solution. Low-end computers may will have med-risk.)
    * This will only happen on start of emulating, during emulation has no risk for multi-xbe launches.
* Use CreateProcess instead of ShellExecutable function.
* Replaced: Using std string instead of fixed char array to prevent buffer overflow.
  * It will use more process

Known issue:
* Cxbx Debugger is not aware of multi-xbe launch.
2018-06-15 17:23:17 -05:00
RadWolfie 36ce78bb19 Proof of concept of multi-xbe launch still works 2018-06-15 17:15:49 -05:00
RadWolfie c99fb44c6a Prepare generic CxbxConvertArgToString function without fixed buffer array 2018-06-15 17:08:06 -05:00
Luke Usher a96034b78d
Merge pull request #1280 from GXTX/pr-data-loc
GUI & tweaks for user configurable storage location
2018-06-14 15:52:02 +01:00
RadWolfie ea50bf0149
Add break statement after ID_SETTINGS_CONFIG_EEPROM and some spacing between breaks and cases 2018-06-14 09:44:22 -05:00
Luke Usher 6ad743836c
Merge pull request #1289 from Cxbx-Reloaded/master
Build all branches
2018-06-14 14:15:11 +01:00
Luke Usher 7231bcb67d
Build all branches 2018-06-14 14:14:29 +01:00
Luke Usher 95c2a5ec74 Fix an issue where AppVeyor build script would not take tags into account 2018-06-14 14:08:20 +01:00
Luke Usher bc1b52186f
Merge pull request #1287 from LukeUsher/show-title-id-header
Show title_id/version in Cxbx-Reloaded header:
2018-06-14 13:47:23 +01:00
Luke Usher a8051fb3e1 Show title_id/version in Cxbx-Reloaded header: Now we can tell what title and version is in screenshots! 2018-06-14 13:46:21 +01:00
Luke Usher 49c5b88bbe
Merge pull request #1285 from LukeUsher/title_id_format
Fix Title_ID parsing/rendering to use the correct format.
2018-06-14 13:36:41 +01:00
PatrickvL 2f31c9d7b2
Merge pull request #1286 from Voxel9/patch-1
Fix grammatical error
2018-06-14 12:51:06 +02:00
Voxel e2afd6b7b5
Fix grammatical error
This PR just addresses a grammatical problem in the message box that appears if a title is already currently emulating.
2018-06-14 11:35:56 +01:00
Luke Usher 9b6fe04096 Fix Title_ID parsing/rendering to use the correct format.
This also updates the rendering of the Version Flag.

All retail Xbox Games use a title_id of this format:
XX-000

Where XX = Publisher code (MS, EA, etc) and 000 = Game Number by that
publisher.

This can be used to properly uniquely identify games, and even
cross-reference with the Redump database that uses the same Serial No.
format.

Additionally, this PR also fixes Version field rendering, to be in the
correct 1.XX format.

This is useful because the combination of Title_ID and Version No
uniquely identifies games!

Even in regional varients where the title_id doesn't change, the version
number does!

Some special XBEs (like Dashboard, updaters, XDK samples) use
non-printable characters in the title_id/serial number field, so we
fallback to Hex in this case
2018-06-14 09:44:35 +01:00
RadWolfie 52343321eb
Merge pull request #1284 from RadWolfie/fix-running-emulation-check
Fix false positive of title is still emulating after crash.
2018-06-14 00:01:59 -05:00
wutno afbdcb9c9e
Merge pull request #1 from RadWolfie/fix-directory-option-pr
Fix directory option pr
2018-06-14 00:44:01 -04:00
RadWolfie 48cac727b7 Replace strlen to strnlen for another safety.
Co-Authored-By: wutno <aaron@installgentoo.net>
2018-06-13 23:13:45 -05:00
RadWolfie 800fff61fe Fix false postive of title is still emulating after crash. 2018-06-13 22:46:09 -05:00
RadWolfie 3d6767f3b8 Small update
I don't see a reason for using szDir string since GetCurrentDirectory knows what's the max array size by passing down the value ourselves.
2018-06-13 21:34:23 -05:00
RadWolfie 51958dbd19 Implement a real working method on startup
When a second Cxbx-Reloaded window is opened up (in a different directory), data will be saved in their own directory if chosen to use current directory. Also apply to AppData if user change their profile by force.

Custom directory will always remain static.
2018-06-13 21:32:42 -05:00
RadWolfie cb48e1e1b2 Another fix to remove duplicate directory 2018-06-13 21:29:16 -05:00
RadWolfie 90345ea118 Fix getting correct data directory 2018-06-13 21:08:38 -05:00
RadWolfie e8a9805b89 Fix stupid, stupid spaces to tab (manually) 😜 2018-06-13 19:43:17 -05:00
RadWolfie 16b8e6866c Use enum type for readability. 2018-06-13 19:42:20 -05:00
RadWolfie 7a516f4989 Append to previous commit. 2018-06-13 19:41:00 -05:00
RadWolfie 75ccc985be Revert and use perament m_StorageLocation method variable. 2018-06-13 19:40:24 -05:00
RadWolfie e95f6e6bd7 Remove debug code 2018-06-13 19:36:47 -05:00
RadWolfie f4060d116c Verify if chosen custom directory path is too long. 2018-06-13 18:33:18 -05:00
RadWolfie 2677569469 Use existing variable (broke GUI actions)
Plus use strncpy function instead of strcpy to prevent buffer overflow.
2018-06-13 18:28:04 -05:00
RadWolfie 2ad7cb8746 Fix merge conflict from master 2018-06-13 18:03:00 -05:00
RadWolfie 1a236290ab Give a better description in EmuShared.h
Co-Authored-By: wutno <aaron@installgentoo.net>
2018-06-13 16:58:35 -05:00
RadWolfie de6f74e761 Revert "Give a better description in EmuShared.h"
This reverts commit 7ef5a4a8d0.
2018-06-13 16:57:05 -05:00
wutno 7ef5a4a8d0
Give a better description in EmuShared.h 2018-06-13 15:06:05 -04:00
GXTX 1fb4d9c27f Integrate storage location settings better into the base program 2018-06-13 14:47:37 -04:00
PatrickvL b5db649249
Merge pull request #1282 from LukeUsher/enable-useful-hacks-by-default
Enable Host Backbuffer by default
2018-06-13 12:45:21 +02:00
Luke Usher 380f382979 ScaleViewport to unstable for default 2018-06-13 08:10:59 +01:00
Luke Usher c2b4162a9b
Merge pull request #1281 from RadWolfie/check-hle-cache-file-for-lle-stat
Temporary check HLE cache file for LLE flags used.
2018-06-12 20:12:53 +01:00
Luke Usher c06177ea97 Enable Scale Viewport and Host Backbuffer by default 2018-06-12 20:07:27 +01:00
RadWolfie e12c457160 Add revision number to cache file.
Also, it will enforce recreate cache file to prevent older cache breaking emulation.
2018-06-12 13:32:06 -05:00