Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ object SettingDescriptions {
"kernel_cert_monitor" to "Reports the certification monitor as present to the game (debug/testing feature)",
"kernel_debug_monitor" to "Reports a debug monitor (remote debugger) as attached to the game",
"kernel_display_gamma_type" to "Display gamma curve reported to games; BT.709 best matches a 360 on an HDTV",
"network_enabled" to "Lets games open network sockets. They cannot reach a real peer, but " +
"some games crash when socket creation fails. Turn off only for a game that hangs online",
"kernel_pix" to "Exposes the PIX GPU profiler interface to the game for debug captures",
"license_mask" to "Content license mask: 0 = none, 1 = full-version license (unlocks XBLA trials), -1 = all",
"log_safepoint_pc" to "Records where each guest thread last reached a yield point, so a freeze report can say where a stuck thread actually is instead of only where it last called from. Slows the emulator slightly; turn on only when chasing a freeze",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ object SettingsSchema {
b("Kernel", "allow_incompatible_title_update", "Allow incompatible title update", true),
b("Kernel", "apply_title_update", "Apply title update", true),
b("Kernel", "kernel_debug_monitor", "Kernel debug monitor", false),
b("Kernel", "network_enabled", "Networking", true),
)),

SettingsCategory("Controller", listOf(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ class SettingsSchemaTest {

private val all = SettingsSchema.allSettings

// 100 Bool + 12 IntRange + 21 ListChoice + 2 Action = 135. Display|host_present_from_non_ui_thread
// 101 Bool + 12 IntRange + 21 ListChoice + 2 Action = 136. Display|host_present_from_non_ui_thread
// is intentionally absent (forced true natively; not a valid user choice).
@Test fun total_entry_count_is_135() {
assertEquals(135, all.size)
@Test fun total_entry_count_is_136() {
assertEquals(136, all.size)
assertEquals(
135,
136,
all.count { it is Setting.Bool } + all.count { it is Setting.IntRange } +
all.count { it is Setting.ListChoice } + all.count { it is Setting.Action },
)
}

@Test fun counts_by_type_match_verified_inventory() {
assertEquals(100, all.count { it is Setting.Bool })
assertEquals(101, all.count { it is Setting.Bool })
assertEquals(12, all.count { it is Setting.IntRange })
assertEquals(21, all.count { it is Setting.ListChoice })
assertEquals(2, all.count { it is Setting.Action })
Expand Down
2 changes: 2 additions & 0 deletions emulator-core/src/main/cpp/xenia/src/xenia/game_quirks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ static const Quirk kQuirks[] = {
"ir3 cannot compile fmadz"},
{0x494707D4, "vulkan_in_pass_resolve", true, "in-pass resolves tuned here"},
{0x49470804, "vulkan_in_pass_resolve", true, "in-pass resolves tuned here"},
{0x494707D4, "network_enabled", false, "hangs on a blocking recvfrom"},
{0x49470804, "network_enabled", false, "hangs on a blocking recvfrom"},
{0x4E4D083A, "spirv_multiply_zero_test_on_bits", true,
"ir3 cannot compile fmadz"},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
#include "xenia/kernel/xthread.h"
#include "xenia/xbox.h"

DEFINE_bool(network_enabled, false,
DEFINE_bool(network_enabled, true,
"Let titles open host sockets. The XNet address and session layer "
"is stubbed, so guest traffic cannot reach a peer; enabling this "
"only binds real host ports and lets titles enter online paths "
"that may block indefinitely.",
"is stubbed, so guest traffic cannot reach a peer, but titles that "
"do not check for socket creation failure crash outright when this "
"is off. Turn it off only for titles that block indefinitely on a "
"socket that never answers.",
"Kernel");

#ifdef XE_PLATFORM_WIN32
Expand Down
Loading