mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
improvements for type issues
This commit is contained in:
parent
0d8d97f87c
commit
91ea9406e2
9 changed files with 39 additions and 39 deletions
|
@ -823,7 +823,7 @@ int PicoCartInsert(unsigned char *rom, unsigned int romsize, const char *carthw_
|
|||
// This will hang the emu, but will prevent nasty crashes.
|
||||
// note: 4 bytes are padded to every ROM
|
||||
if (rom != NULL)
|
||||
*(unsigned long *)(rom+romsize) = CPU_BE2(0x4EFAFFFE);
|
||||
*(u32 *)(rom+romsize) = CPU_BE2(0x4EFAFFFE);
|
||||
|
||||
Pico.rom=rom;
|
||||
Pico.romsize=romsize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue