Skip to content

Commit

Permalink
Add IRX_ID to modules that don't already have it
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Aug 28, 2022
1 parent 9dedc02 commit 9d97103
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/debug/ps2link/ps2link.c
Expand Up @@ -14,6 +14,9 @@
#include <cdvdman.h>
#include "excepHandler.h"

#define MODNAME "ps2link"
IRX_ID(MODNAME, 1, 8);

// Entry points
extern int fsysMount(void);
extern int cmdHandlerInit(void);
Expand Down
3 changes: 3 additions & 0 deletions modules/iopcore/imgdrv/imgdrv.c
Expand Up @@ -3,6 +3,9 @@
#include <loadcore.h>
#include <ioman.h>

#define MODNAME "imgdrv"
IRX_ID(MODNAME, 1, 1);

unsigned int ioprpimg = 0xDEC1DEC1;
int ioprpsiz = 0xDEC2DEC2;

Expand Down
3 changes: 3 additions & 0 deletions modules/iopcore/patches/apemodpatch/main.c
Expand Up @@ -6,6 +6,9 @@
#include <thevent.h>
#include <thsemap.h>

#define MODNAME "apemodpatch"
IRX_ID(MODNAME, 1, 1);

#define JAL(addr) (0x0c000000 | (((addr)&0x03ffffff) >> 2))

/* This game has a function that can be called by multiple threads.
Expand Down
3 changes: 3 additions & 0 deletions modules/iopcore/patches/cleareffects/main.c
Expand Up @@ -7,6 +7,9 @@
#include <libsd.h>
#include <sysclib.h>

#define MODNAME "cleareffects"
IRX_ID(MODNAME, 1, 1);

int _start(int argc, char **argv)
{
sceSdEffectAttr attr = {
Expand Down
3 changes: 3 additions & 0 deletions modules/iopcore/patches/f2techioppatch/main.c
Expand Up @@ -11,6 +11,9 @@
#include <stdio.h>
#include <sysclib.h>

#define MODNAME "f2techioppatch"
IRX_ID(MODNAME, 1, 1);

#define JAL(addr) (0x0c000000 | (((addr)&0x03ffffff) >> 2))
#define JMP(addr) (0x08000000 | (0x3ffffff & ((addr) >> 2)))

Expand Down
3 changes: 3 additions & 0 deletions modules/iopcore/patches/iremsndpatch/main.c
Expand Up @@ -5,6 +5,9 @@
#include <thbase.h>
#include <thsemap.h>

#define MODNAME "iremsndpatch"
IRX_ID(MODNAME, 1, 1);

#define JAL(addr) (0x0c000000 | (((addr)&0x03ffffff) >> 2))
#define JMP(addr) (0x08000000 | (0x3ffffff & ((addr) >> 2)))

Expand Down
3 changes: 3 additions & 0 deletions modules/iopcore/resetspu/resetspu.c
Expand Up @@ -15,6 +15,9 @@
#include <loadcore.h>
#include <spu2regs.h>

#define MODNAME "resetspu"
IRX_ID(MODNAME, 1, 1);

static void nopdelay(void)
{
unsigned int i;
Expand Down
3 changes: 3 additions & 0 deletions modules/isofs/isofs.c
Expand Up @@ -10,6 +10,9 @@

#include "zso.h"

#define MODNAME "isofs"
IRX_ID(MODNAME, 1, 1);

#define DPRINTF(args...) // printf(args)

struct dirTocEntry
Expand Down

0 comments on commit 9d97103

Please sign in to comment.