summaryrefslogtreecommitdiff
path: root/packages/snes9x/64bit.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/snes9x/64bit.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/snes9x/64bit.patch')
-rw-r--r--packages/snes9x/64bit.patch110
1 files changed, 0 insertions, 110 deletions
diff --git a/packages/snes9x/64bit.patch b/packages/snes9x/64bit.patch
deleted file mode 100644
index a8388de0a2..0000000000
--- a/packages/snes9x/64bit.patch
+++ /dev/null
@@ -1,110 +0,0 @@
---- s/offsets.cpp~ 2004-07-11 22:50:59.000000000 +0100
-+++ s/offsets.cpp 2008-07-27 10:28:40.000000000 +0100
-@@ -100,30 +100,30 @@
- #endif
-
- #define OFFSET(N,F) \
--fprintf (S9xSTREAM, "#define " #N " CPU + %d\n", (int) &((struct SCPUState *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " CPU + %d\n", &((struct SCPUState *) 0)->F);
- #define OFFSET2(N,F) \
--fprintf (S9xSTREAM, "#define " #N " Registers + %d\n", (int) &((struct SRegisters *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " Registers + %d\n", &((struct SRegisters *) 0)->F);
- #define OFFSET3(F) \
--fprintf (S9xSTREAM, "#define " #F " Memory + %d\n", (int) &((class CMemory *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #F " Memory + %d\n", &((class CMemory *) 0)->F);
- #define OFFSET4(N,F) \
--fprintf (S9xSTREAM, "#define " #N " APU + %d\n", (int) &((struct SAPU *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " APU + %d\n", &((struct SAPU *) 0)->F);
- #define OFFSET5(N,F) \
--fprintf (S9xSTREAM, "#define " #N " IAPU + %d\n", (int) &((struct SIAPU *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " IAPU + %d\n", &((struct SIAPU *) 0)->F);
- #define OFFSET6(N,F) \
--fprintf (S9xSTREAM, "#define " #N " ICPU + %d\n", (int) &((struct SICPU *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " ICPU + %d\n", &((struct SICPU *) 0)->F);
- #define OFFSET7(N,F) \
--fprintf (S9xSTREAM, "#define " #N " Settings + %d\n", (int) &((struct SSettings *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " Settings + %d\n", &((struct SSettings *) 0)->F);
- #define OFFSET8(N, F) \
--fprintf (S9xSTREAM, "#define " #N " APURegisters + %d\n", (int) &((struct SAPURegisters *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " APURegisters + %d\n", &((struct SAPURegisters *) 0)->F);
-
- #define OFFSET9(N, F) \
--fprintf (S9xSTREAM, "#define " #N " PPU + %d\n", (int) &((struct SPPU *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " PPU + %d\n", &((struct SPPU *) 0)->F);
- #define OFFSET10(N, F) \
--fprintf (S9xSTREAM, "#define " #N " IPPU + %d\n", (int) &((struct InternalPPU *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " IPPU + %d\n", &((struct InternalPPU *) 0)->F);
- #define OFFSET11(N, F) \
--fprintf (S9xSTREAM, "#define " #N " SA1 + %d\n", (int) &((struct SSA1 *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " SA1 + %d\n", &((struct SSA1 *) 0)->F);
- #define OFFSET12(N, F) \
--fprintf (S9xSTREAM, "#define " #N " SA1Registers + %d\n", (int) &((struct SSA1Registers *) 0)->F);
-+fprintf (S9xSTREAM, "#define " #N " SA1Registers + %d\n", &((struct SSA1Registers *) 0)->F);
-
- int main (int /*argc*/, char ** /*argv*/)
- {
---- s/getset.h~ 2004-07-11 22:50:58.000000000 +0100
-+++ s/getset.h 2008-07-27 10:30:38.000000000 +0100
-@@ -120,7 +120,7 @@
- return (*(GetAddress + (Address & 0xffff)));
- }
-
-- switch ((int) GetAddress)
-+ switch ((long)GetAddress)
- {
- case CMemory::MAP_PPU:
- return (S9xGetPPU (Address & 0xffff));
-@@ -225,7 +225,7 @@
- #endif
- }
-
-- switch ((int) GetAddress)
-+ switch ((long) GetAddress)
- {
- case CMemory::MAP_PPU:
- return (S9xGetPPU (Address & 0xffff) |
-@@ -349,7 +349,7 @@
- return;
- }
-
-- switch ((int) SetAddress)
-+ switch ((long) SetAddress)
- {
- case CMemory::MAP_PPU:
- S9xSetPPU (Byte, Address & 0xffff);
-@@ -482,7 +482,7 @@
- return;
- }
-
-- switch ((int) SetAddress)
-+ switch ((long) SetAddress)
- {
- case CMemory::MAP_PPU:
- S9xSetPPU ((uint8) Word, Address & 0xffff);
-@@ -603,7 +603,7 @@
- {
- return s7r.bank50;
- }
-- switch ((int) GetAddress)
-+ switch ((long) GetAddress)
- {
- case CMemory::MAP_SPC7110_DRAM:
- #ifdef SPC7110_DEBUG
-@@ -669,7 +669,7 @@
- if(Settings.SPC7110&&((Address&0x7FFFFF)==0x4800))
- return s7r.bank50;
-
-- switch ((int) GetAddress)
-+ switch ((long) GetAddress)
- {
- case CMemory::MAP_SPC7110_DRAM:
- #ifdef SPC7110_DEBUG
-@@ -729,7 +729,7 @@
- return;
- }
-
-- switch ((int) GetAddress)
-+ switch ((long) GetAddress)
- {
- case CMemory::MAP_PPU:
- CPU.PCBase = Memory.FillRAM;