mrneo240 / openmenu

openMenu open source GDEMU Frontend
Other
82 stars 6 forks source link

Source compiled 1st_read.bin results in crash during openMenu execution #50

Open savaughn opened 1 month ago

savaughn commented 1 month ago

Describe the bug Upon launching openMenu on both real hardware and emulator, the application crashes when using 1st_read.bin compiled from source.

I have KOS toolchain installed and I can successfully build individual homebrew applications and launch them on both emulator and hardware.

If I swap back in your release 1st_read.bin, then it works as expected. Any idea as to what I could be doing wrong when generating the 1st_read.bin? I haven't made any source code changes. I've tried on both macOS and ubuntu without success.

To Reproduce Steps to reproduce the behavior:

  1. on master branch
  2. run make
  3. copy resulting 1st_read.bin to menu_data
  4. load new openMenu with GDMenuCardManager

Expected behavior openMenu launches with compiled image the same as release image.

Screenshots Flycast log:


00:40:501 hw/mem/addrspace.cpp:431 N[VMEM]: Info: nvmem is enabled
00:40:505 hw/mem/addrspace.cpp:467 N[VMEM]: BASE 0x288010000 RAM(16 MB) 0x294010000 VRAM64(8 MB) 0x28c010000 ARAM(2 MB) 0x2a8010000
00:40:509 emulator.cpp:54 N[BOOT]: Game ID is [NEODC_1]
00:40:515 emulator.cpp:488 N[BOOT]: Did not load BIOS, using reios
00:40:515 emulator.cpp:54 N[BOOT]: Game ID is [NEODC_1]
00:40:575 reios/reios.cpp:622 N[REIOS]: -----------------
00:40:575 reios/reios.cpp:623 N[REIOS]: REIOS: Booting up
00:40:576 reios/reios.cpp:624 N[REIOS]: -----------------
00:42:587 hw/sh4/interpr/sh4_opcodes.cpp:935 W[INTERPRETER]: TRAP #A4

Desktop (please complete the following information):

Additional context issue on my fork: https://github.com/savaughn/openmenu/issues/1

savaughn commented 1 month ago

On hardware, it will reboot to dc logo. On emulator, I see this error. image