Fixed libretro makefile
This commit is contained in:
parent
bf9ed6a5c0
commit
b350469e4b
2 changed files with 9 additions and 6 deletions
|
@ -124,7 +124,7 @@ void SDD1_GCD::getRunCount(uint8_t code_num, uint8_t *MPScount, bool *LPSind)
|
|||
///////////////////////////////////////////////////////
|
||||
|
||||
SDD1_BG::SDD1_BG(SDD1_GCD *associatedGCD, uint8_t code) :
|
||||
GCD(associatedGCD), code_num(code)
|
||||
code_num(code), GCD(associatedGCD)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -242,7 +242,6 @@ void SDD1_PEM::prepareDecomp(void)
|
|||
|
||||
uint8_t SDD1_PEM::getBit(uint8_t context)
|
||||
{
|
||||
|
||||
bool endOfRun;
|
||||
uint8_t bit;
|
||||
|
||||
|
@ -253,15 +252,16 @@ uint8_t SDD1_PEM::getBit(uint8_t context)
|
|||
|
||||
bit = (BG[pState->code_num])->getBit(&endOfRun);
|
||||
|
||||
if(endOfRun)
|
||||
if(endOfRun) {
|
||||
if(bit) {
|
||||
if(!(currStatus & 0xfe)) (pContInfo->MPS) ^= 0x01;
|
||||
(pContInfo->status) = pState->nextIfLPS;
|
||||
} else
|
||||
} else {
|
||||
(pContInfo->status) = pState->nextIfMPS;
|
||||
}
|
||||
}
|
||||
|
||||
return bit ^ currentMPS;
|
||||
|
||||
return bit ^ currentMPS;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -75,6 +75,9 @@ SOURCES_CXX := $(LIBRETRO_DIR)/libretro.cpp \
|
|||
$(CORE_DIR)/ScriptHost.cpp \
|
||||
$(CORE_DIR)/ScriptingContext.cpp \
|
||||
$(CORE_DIR)/ScriptManager.cpp \
|
||||
$(CORE_DIR)/Sdd1Decomp.cpp \
|
||||
$(CORE_DIR)/Sdd1.cpp \
|
||||
$(CORE_DIR)/Sdd1Mmc.cpp \
|
||||
$(CORE_DIR)/ShortcutKeyHandler.cpp \
|
||||
$(CORE_DIR)/SoundMixer.cpp \
|
||||
$(CORE_DIR)/SoundResampler.cpp \
|
||||
|
|
Loading…
Add table
Reference in a new issue