Commit Graph

4867 Commits

Author SHA1 Message Date
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
RadWolfie 6dacd65a40 Temporary check HLE cache file for LLE flags used. 2018-06-12 13:09:38 -05:00
GXTX 7a78ca2b86 Add check to make sure user has write permissions on the selected directory 2018-06-12 11:47:16 -04:00
GXTX 168bdd0986 Prevent the user from selecting placeholder folders such as "This PC" 2018-06-12 11:01:51 -04:00
GXTX bff70dfa75 Enable checkmarks signaling where cxbx-reloaded data is being stored 2018-06-12 10:28:32 -04:00
PatrickvL 4760872a03
Merge pull request #1279 from RadWolfie/various-fixes
Various fixes (Mainly multi-xbe and LLE flags status)
2018-06-12 09:45:09 +02:00
RadWolfie df6c7cfc44 Use existing define string for DSOUND. 2018-06-11 22:22:27 -05:00
GXTX 70d09224a4 Add submenu for quick location configuration 2018-06-11 18:29:08 -04:00
wutno 1c7111c10d
Fix reg type & missing snprintf 2018-06-11 13:47:47 -04:00
GXTX bc95707618 Add user configurable storage location 2018-06-11 13:33:00 -04:00
RadWolfie 1ed96cf553 Fix 4039 titles with false positive not finding DSOUND library version. 2018-06-11 10:14:58 -05:00
RadWolfie 7bb26a9790 Revert get child hwnd. 2018-06-11 03:13:58 -05:00
RadWolfie 33b0df3112 Cleaner and optimized check if title has containing library.
It is a requirement to move library header before start scanning symbols. Plus only call status check once.
2018-06-11 02:43:22 -05:00
RadWolfie 2b8a7a82a8 Use Fallback wording instead of rollback. 2018-06-11 01:54:38 -05:00
RadWolfie 8e2543af4f Little cleanup for CrashMonitor 2018-06-11 00:11:34 -05:00
RadWolfie d0fd6d08d1 Identical method instead of using goto. 2018-06-11 00:04:45 -05:00
RadWolfie d3a131ea13 Use do while statement for user interaction. 2018-06-11 00:03:24 -05:00
RadWolfie 92788e9cd3 Don't continue failed wait counter. 2018-06-10 17:56:53 -05:00
RadWolfie cdbd1aab50 Add verification before start monitoring kernel process 2018-06-10 17:37:28 -05:00
RadWolfie 90df98e5e6 Request user interaction to either retry or cancel. 2018-06-10 17:16:10 -05:00
RadWolfie 63af4166e0 Fix newline, strange... 2018-06-10 17:15:16 -05:00
RadWolfie c9e2406394 Output log message of rollback to LLE flag. 2018-06-10 17:14:41 -05:00
RadWolfie b5b9e475e7 Undo newline for no reason.
🏃
2018-06-10 11:00:45 -05:00