summaryrefslogtreecommitdiff
path: root/cheats.c
diff options
context:
space:
mode:
authorDavid G. F2021-06-27 01:30:50 +0200
committerGitHub2021-06-27 01:30:50 +0200
commit48f1a71fb7b1d551295aec7ea44f5529c87bff93 (patch)
treecc50bd05fd8fd14444825c4929fb94ea6e98b1dc /cheats.c
parentd5ff18d3cebc56c351d95a3eec1873cd7112e31f (diff)
parent8dbf5f6c17e3d217877119620e5bbfeba05abd7a (diff)
downloadpicogpsp-48f1a71fb7b1d551295aec7ea44f5529c87bff93.tar.gz
picogpsp-48f1a71fb7b1d551295aec7ea44f5529c87bff93.tar.bz2
picogpsp-48f1a71fb7b1d551295aec7ea44f5529c87bff93.zip
Merge pull request #137 from davidgfnet/master
Enable big-endian devices: gc/wii
Diffstat (limited to 'cheats.c')
-rw-r--r--cheats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cheats.c b/cheats.c
index 17556ca..3594730 100644
--- a/cheats.c
+++ b/cheats.c
@@ -190,7 +190,7 @@ void process_cheats(void)
if(!cheats[i].cheat_active)
continue;
- process_cheat_codebreaker(&cheats[i], 0x3ff ^ io_registers[REG_P1]);
+ process_cheat_codebreaker(&cheats[i], 0x3ff ^ read_ioreg(REG_P1));
}
}