mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Add ChileCentral server
This commit is contained in:
3
dist/better-xcloud.pretty.user.js
vendored
3
dist/better-xcloud.pretty.user.js
vendored
@@ -2103,7 +2103,7 @@ class BaseCanvasPlayer extends BaseStreamPlayer {
|
|||||||
if ("requestVideoFrameCallback" in HTMLVideoElement.prototype) {
|
if ("requestVideoFrameCallback" in HTMLVideoElement.prototype) {
|
||||||
let $video2 = this.$video;
|
let $video2 = this.$video;
|
||||||
frameCallback = $video2.requestVideoFrameCallback.bind($video2);
|
frameCallback = $video2.requestVideoFrameCallback.bind($video2);
|
||||||
} else frameCallback = requestAnimationFrame;
|
} else frameCallback = window.requestAnimationFrame.bind(window);
|
||||||
this.frameCallback = frameCallback, this.boundDrawFrame = this.drawFrame.bind(this);
|
this.frameCallback = frameCallback, this.boundDrawFrame = this.drawFrame.bind(this);
|
||||||
}
|
}
|
||||||
async init() {
|
async init() {
|
||||||
@@ -9050,6 +9050,7 @@ class XcloudInterceptor {
|
|||||||
WestUS2: ["🇺🇸", "america-north"],
|
WestUS2: ["🇺🇸", "america-north"],
|
||||||
MexicoCentral: ["🇲🇽", "america-north"],
|
MexicoCentral: ["🇲🇽", "america-north"],
|
||||||
BrazilSouth: ["🇧🇷", "america-south"],
|
BrazilSouth: ["🇧🇷", "america-south"],
|
||||||
|
ChileCentral: ["🇨🇱", "america-south"],
|
||||||
JapanEast: ["🇯🇵", "asia"],
|
JapanEast: ["🇯🇵", "asia"],
|
||||||
KoreaCentral: ["🇰🇷", "asia"],
|
KoreaCentral: ["🇰🇷", "asia"],
|
||||||
AustraliaEast: ["🇦🇺", "australia"],
|
AustraliaEast: ["🇦🇺", "australia"],
|
||||||
|
4
dist/better-xcloud.user.js
vendored
4
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@@ -27,6 +27,7 @@ export class XcloudInterceptor {
|
|||||||
|
|
||||||
// South America
|
// South America
|
||||||
BrazilSouth: ['🇧🇷', 'america-south'],
|
BrazilSouth: ['🇧🇷', 'america-south'],
|
||||||
|
ChileCentral: ['🇨🇱', 'america-south'],
|
||||||
|
|
||||||
// Asia
|
// Asia
|
||||||
JapanEast: ['🇯🇵', 'asia'],
|
JapanEast: ['🇯🇵', 'asia'],
|
||||||
|
Reference in New Issue
Block a user