raz0red / wiirtual-boy

Wiirtual Boy is a port of the Mednafen Virtual Boy emulator to the Wii. (No longer maintained, a much improved version of the Wii Virtual Boy emulator is part of the wii-mednafen project)
http://wiibrew.org/wiki/WiirtualBoy
6 stars 1 forks source link

v810_cpu.cpp is missing from master #4

Open pyroticinsanity opened 4 years ago

pyroticinsanity commented 4 years ago

I've been able to compile the 0.1 tag but the latest release appears to be missing v810_cpu.cpp in mednafen/src/hw_cpu/v810/v810_cpu.cpp. It looks like it was deleted in https://github.com/raz0red/wiirtual-boy/commit/b870baf58251e82043634dbc39b440cdcde8a885#diff-c56a2038a157dad9d4a46eb73f03ab63

Do you happen to have the latest version that could be added to the git repo?

pyroticinsanity commented 4 years ago

I have a better understanding of what is going on. It's complaining that the declaration doesn't exist. Adding it into v810_cpu.h fixes the issue:

/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2652:13: error: no declaration matches 'void V810::IdleLoopTest(uint32, uint32)'
 2652 | INLINE void V810::IdleLoopTest(uint32 old_pc, uint32 new_pc)
      |             ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2652:13: note: no functions named 'void V810::IdleLoopTest(uint32, uint32)'
In file included from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.h:5,
                 from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:18:
/home/darkweb/projects/vboy3DS/mednafen/src/vb/../hw_cpu/v810/v810_cpu.h:146:7: note: 'class V810' defined here
  146 | class V810
      |       ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2657:13: error: no declaration matches 'void V810::IdleLoopMurder()'
 2657 | INLINE void V810::IdleLoopMurder(void)
      |             ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2657:13: note: no functions named 'void V810::IdleLoopMurder()'
In file included from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.h:5,
                 from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:18:
/home/darkweb/projects/vboy3DS/mednafen/src/vb/../hw_cpu/v810/v810_cpu.h:146:7: note: 'class V810' defined here
  146 | class V810
      |       ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2662:13: error: no declaration matches 'void V810::IdleLoopManslaughter(uint32)'
 2662 | INLINE void V810::IdleLoopManslaughter(uint32 addr)
      |             ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2662:13: note: no functions named 'void V810::IdleLoopManslaughter(uint32)'
In file included from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.h:5,
                 from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:18:
/home/darkweb/projects/vboy3DS/mednafen/src/vb/../hw_cpu/v810/v810_cpu.h:146:7: note: 'class V810' defined here
  146 | class V810
      |       ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2668:13: error: no declaration matches 'void V810::IdleLoopAssault(uint32)'
 2668 | INLINE void V810::IdleLoopAssault(uint32 jump_pc)
      |             ^~~~
/home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:2668:13: note: no functions named 'void V810::IdleLoopAssault(uint32)'
In file included from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.h:5,
                 from /home/darkweb/projects/vboy3DS/mednafen/src/vb/vb.cpp:18:
/home/darkweb/projects/vboy3DS/mednafen/src/vb/../hw_cpu/v810/v810_cpu.h:146:7: note: 'class V810' defined here
  146 | class V810