X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Flightrec.h;h=4cda1a0af98d33cf0a2c46702628802e8ec08a9c;hb=5937ccce520c4bddc986f741737465e2e8d94605;hp=9779951b355b5635cb801e52bcc9ea4efdf19d49;hpb=03b78a3bf48813202e01149ae0b3c5c1f01efb4c;p=pcsx_rearmed.git diff --git a/deps/lightrec/lightrec.h b/deps/lightrec/lightrec.h index 9779951b..4cda1a0a 100644 --- a/deps/lightrec/lightrec.h +++ b/deps/lightrec/lightrec.h @@ -63,6 +63,7 @@ struct lightrec_mem_map; #define LIGHTREC_EXIT_SYSCALL (1 << 2) #define LIGHTREC_EXIT_SEGFAULT (1 << 3) #define LIGHTREC_EXIT_NOMEM (1 << 4) +#define LIGHTREC_EXIT_UNKNOWN_OP (1 << 5) /* Unsafe optimizations flags */ #define LIGHTREC_OPT_INV_DMA_ONLY (1 << 0) @@ -94,6 +95,9 @@ struct lightrec_mem_map_ops { u8 (*lb)(struct lightrec_state *, u32 opcode, void *host, u32 addr); u16 (*lh)(struct lightrec_state *, u32 opcode, void *host, u32 addr); u32 (*lw)(struct lightrec_state *, u32 opcode, void *host, u32 addr); + u32 (*lwu)(struct lightrec_state *, u32 opcode, void *host, u32 addr); + void (*swu)(struct lightrec_state *, u32 opcode, + void *host, u32 addr, u32 data); }; struct lightrec_mem_map {