mirror of
https://github.com/PretendoNetwork/Inkay.git
synced 2026-07-14 23:51:08 -05:00
fix(p2p): Don't apply patches when not using Pretendo
This commit is contained in:
parent
06847b21e5
commit
0f3115a402
|
|
@ -15,6 +15,7 @@
|
|||
#include <coreinit/dynload.h>
|
||||
#include "game_peertopeer.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "sysconfig.h"
|
||||
#include "utils/logger.h"
|
||||
#include "utils/rpl_info.h"
|
||||
|
|
@ -44,6 +45,10 @@ static void minecraft_peertopeer_patch() {
|
|||
}
|
||||
|
||||
void peertopeer_patch() {
|
||||
if (!Config::connect_to_network) {
|
||||
return;
|
||||
}
|
||||
|
||||
uint64_t tid = OSGetTitleID();
|
||||
if (tid == 0x00050000'101D7500 || // EUR
|
||||
tid == 0x00050000'101D9D00 || // USA
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user