[Code] Remove game names from code comments (most of at least)
This commit is contained in:
@@ -98,7 +98,7 @@ X_HRESULT XgiApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
|
||||
return X_E_SUCCESS;
|
||||
}
|
||||
case 0x000B0014: {
|
||||
// Gets Jetpac XBLA in game
|
||||
// Gets 584107FB in game.
|
||||
// get high score table?
|
||||
XELOGD("XGI_unknown");
|
||||
return X_STATUS_SUCCESS;
|
||||
|
||||
@@ -66,7 +66,7 @@ X_HRESULT XLiveBaseApp::DispatchMessageSync(uint32_t message,
|
||||
return X_E_FAIL;
|
||||
}
|
||||
case 0x00058046: {
|
||||
// Required to be successful for Forza 4 to detect signed-in profile
|
||||
// Required to be successful for 4D530910 to detect signed-in profile
|
||||
// Doesn't seem to set anything in the given buffer, probably only takes
|
||||
// input
|
||||
XELOGD("XLiveBaseUnk58046({:08X}, {:08X}) unimplemented", buffer_ptr,
|
||||
|
||||
@@ -73,8 +73,8 @@ struct XCONTENT_DATA {
|
||||
}
|
||||
|
||||
void set_display_name(const std::u16string_view value) {
|
||||
// Some games (eg Goldeneye XBLA) require multiple null-terminators for it
|
||||
// to read the string properly, blanking the array should take care of that
|
||||
// Some games (e.g. 584108A9) require multiple null-terminators for it to
|
||||
// read the string properly, blanking the array should take care of that
|
||||
|
||||
std::fill_n(display_name_raw.chars, countof(display_name_raw.chars), 0);
|
||||
string_util::copy_and_swap_truncating(display_name_raw.chars, value,
|
||||
|
||||
@@ -20,9 +20,8 @@ namespace kernel {
|
||||
namespace xam {
|
||||
|
||||
UserProfile::UserProfile() {
|
||||
// NeoGeo Battle Coliseum checks the user XUID against a mask of
|
||||
// 0x00C0000000000000 (3<<54), if non-zero, it prevents the user from playing
|
||||
// the game.
|
||||
// 58410A1F checks the user XUID against a mask of 0x00C0000000000000 (3<<54),
|
||||
// if non-zero, it prevents the user from playing the game.
|
||||
// "You do not have permissions to perform this operation."
|
||||
xuid_ = 0xB13EBABEBABEBABE;
|
||||
name_ = "User";
|
||||
|
||||
@@ -249,8 +249,10 @@ dword_result_t NetDll_WSAStartup(dword_t caller, word_t version,
|
||||
data_ptr->max_sockets = wsaData.iMaxSockets;
|
||||
data_ptr->max_udpdg = wsaData.iMaxUdpDg;
|
||||
|
||||
// Some games (PoG) want this value round-tripped - they'll compare if it
|
||||
// changes and bugcheck if it does.
|
||||
// Some games (5841099F) want this value round-tripped - they'll compare if
|
||||
// it changes and bugcheck if it does.
|
||||
// TODO(Triang3l): Verify if the title ID in the comment is correct - added
|
||||
// by benvanik as an acronym initially.
|
||||
uint32_t vendor_ptr = xe::load_and_swap<uint32_t>(data_out + 0x190);
|
||||
xe::store_and_swap<uint32_t>(data_out + 0x190, vendor_ptr);
|
||||
}
|
||||
@@ -459,7 +461,7 @@ dword_result_t NetDll_XNetGetTitleXnAddr(dword_t caller,
|
||||
// TODO(gibbed): A proper mac address.
|
||||
// RakNet's 360 version appears to depend on abEnet to create "random" 64-bit
|
||||
// numbers. A zero value will cause RakPeer::Startup to fail. This causes
|
||||
// Peggle 2 to crash on startup.
|
||||
// 58411436 to crash on startup.
|
||||
// The 360-specific code is scrubbed from the RakNet repo, but there's still
|
||||
// traces of what it's doing which match the game code.
|
||||
// https://github.com/facebookarchive/RakNet/blob/master/Source/RakPeer.cpp#L382
|
||||
|
||||
@@ -79,8 +79,8 @@ dword_result_t XNotifyGetNext(dword_t handle, dword_t match_id,
|
||||
}
|
||||
|
||||
*id_ptr = dequeued ? id : 0;
|
||||
// param_ptr may be null - Ghost Recon Advanced Warfighter 2 Demo explicitly
|
||||
// passes nullptr in the code.
|
||||
// param_ptr may be null - 555307F0 Demo explicitly passes nullptr in the
|
||||
// code.
|
||||
// https://github.com/xenia-project/xenia/pull/1577
|
||||
if (param_ptr) {
|
||||
*param_ptr = dequeued ? param : 0;
|
||||
|
||||
@@ -17,8 +17,7 @@ namespace kernel {
|
||||
namespace xam {
|
||||
|
||||
dword_result_t XamPartyGetUserList(dword_t player_count, lpdword_t party_list) {
|
||||
// Sonic & All-Stars Racing Transformed want specificly this code
|
||||
// to skip loading party data.
|
||||
// 5345085D wants specifically this code to skip loading party data.
|
||||
// This code is not documented in NT_STATUS code list
|
||||
return 0x807D0003;
|
||||
}
|
||||
|
||||
@@ -716,7 +716,7 @@ dword_result_t XamUserCreateAchievementEnumerator(dword_t title_id,
|
||||
i, // dummy image id
|
||||
0,
|
||||
{0, 0},
|
||||
8}; // flags=8 makes dummy achievements show up in Crackdown's
|
||||
8}; // flags=8 makes dummy achievements show up in 4D5307DC
|
||||
// achievements list.
|
||||
e->AppendItem(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user