Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03243 Compiling Minor Always Jun 8, 2009, 00:32 Jul 8, 2010, 13:56
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To galibert Resolution Fixed OS
Status [?] Resolved Driver
Version 0.131u4 Fixed in Version 0.137u1 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 03243: src/emu/cpu/ssem/ssem.c doesn't compile with SSEM_DISASM_ON_UNIMPL set to 1
Description
src/emu/cpu/ssem/ssem.c: In function 'unimplemented_opcode':
src/emu/cpu/ssem/ssem.c:80: warning: implicit declaration of function 'READ32'
src/emu/cpu/ssem/ssem.c:82: error: 'dasm' undeclared (first use in this function)
src/emu/cpu/ssem/ssem.c:82: error: (Each undeclared identifier is reported only once
src/emu/cpu/ssem/ssem.c:82: error: for each function it appears in.)
src/emu/cpu/ssem/ssem.c: At top level:
src/emu/cpu/ssem/ssem.c:111: error: conflicting types for 'READ32'
src/emu/cpu/ssem/ssem.c:80: error: previous implicit declaration of 'READ32' was here

Three things are quite easy to fix:
- change "dasm" to "disasm"
- make READ32() known to unimplemented_opcode()
- pass "cpustate" into READ32()

Unfortunately I am not really sure, if "i" is the proper second parameter for READ32(), so I didn't submit just a diff.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.06347
Atari Ace
Senior Tester
Jul 8, 2010, 13:55
This was fixed in 0137u1 by Oliver