mirror of
https://github.com/libretro/Mu.git
synced 2026-09-22 22:56:12 +00:00
Make release mode work in QT
This commit is contained in:
@@ -33,7 +33,7 @@ void ads7846Reset(void){
|
||||
ads7846OutputValue = 0x0000;
|
||||
ads7846ChipSelect = true;
|
||||
#if !defined(EMU_NO_SAFETY)
|
||||
m515RefreshTouchState();
|
||||
m5XXRefreshTouchState();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ void ads7846SetChipSelect(bool value){
|
||||
ads7846PenIrqEnabled = true;
|
||||
ads7846OutputValue = 0x0000;
|
||||
#if !defined(EMU_NO_SAFETY)
|
||||
m515RefreshTouchState();
|
||||
m5XXRefreshTouchState();
|
||||
#endif
|
||||
}
|
||||
ads7846ChipSelect = value;
|
||||
@@ -273,7 +273,7 @@ bool ads7846ExchangeBit(bool bitIn){
|
||||
|
||||
ads7846PenIrqEnabled = !(powerSave & 0x01);
|
||||
#if !defined(EMU_NO_SAFETY)
|
||||
m515RefreshTouchState();
|
||||
m5XXRefreshTouchState();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -170,13 +170,13 @@ void ads7846OverridePenState(bool value){
|
||||
}
|
||||
}
|
||||
|
||||
void m515RefreshTouchState(void){
|
||||
void m5XXRefreshTouchState(void){
|
||||
//called when ads7846PenIrqEnabled is changed
|
||||
updateTouchState();
|
||||
checkInterrupts();
|
||||
}
|
||||
|
||||
void m515RefreshInputState(void){
|
||||
void m5XXRefreshInputState(void){
|
||||
//update power button LED state incase palmMisc.batteryCharging changed
|
||||
updatePowerButtonLedStatus();
|
||||
|
||||
@@ -1662,7 +1662,7 @@ void dbvzExecute(void){
|
||||
uint32_t samples;
|
||||
|
||||
//I/O
|
||||
m515RefreshInputState();
|
||||
m5XXRefreshInputState();
|
||||
|
||||
//CPU
|
||||
dbvzFrameClk32s = 0;
|
||||
|
||||
@@ -77,8 +77,8 @@ bool m515BacklightAmplifierState(void);
|
||||
bool dbvzAreRegistersXXFFMapped(void);
|
||||
bool sed1376ClockConnected(void);
|
||||
void ads7846OverridePenState(bool value);
|
||||
void m515RefreshTouchState(void);//just refreshes the touchscreen
|
||||
void m515RefreshInputState(void);//refreshes touchscreen, buttons and docked status
|
||||
void m5XXRefreshTouchState(void);//just refreshes the touchscreen
|
||||
void m5XXRefreshInputState(void);//refreshes touchscreen, buttons and docked status
|
||||
//int32_t interruptAcknowledge(int32_t intLevel);//this is in m68kexternal.h
|
||||
|
||||
//memory errors
|
||||
|
||||
Reference in New Issue
Block a user