bsnes - fix inexplicable errors with non-void functions returning nothing on some codepaths
This commit is contained in:
parent
23dc607a1a
commit
0d2830f616
|
@ -93,6 +93,7 @@ struct Register {
|
|||
Register& operator=(uint32 n) {
|
||||
data = n;
|
||||
if(write) write();
|
||||
return *this;
|
||||
}
|
||||
|
||||
Register& operator+=(uint32 n) { return operator=(data + n); }
|
||||
|
|
|
@ -112,7 +112,7 @@ bool ICD2::inputPoll(unsigned id) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
void* ICD2::allocSharedMemory(const char* memtype, size_t amt, int initialByte) { SNES::interface()->allocSharedMemory(memtype, amt, initialByte); }
|
||||
void* ICD2::allocSharedMemory(const char* memtype, size_t amt, int initialByte) { return SNES::interface()->allocSharedMemory(memtype, amt, initialByte); }
|
||||
void ICD2::freeSharedMemory(void* ptr) { SNES::interface()->freeSharedMemory(ptr); }
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue