citra-emu
/
citra
Archived
1
0
Fork 0

citra-qt: Fixed some Qt errors on initialization

This commit is contained in:
Subv 2015-01-10 15:35:26 -05:00
parent e213f91373
commit 1b01938767
2 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ void GraphicsFramebufferWidget::OnFramebufferAddressChanged(qint64 new_value)
} }
} }
void GraphicsFramebufferWidget::OnFramebufferWidthChanged(unsigned int new_value) void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value)
{ {
if (framebuffer_width != new_value) { if (framebuffer_width != new_value) {
framebuffer_width = new_value; framebuffer_width = new_value;
@ -168,7 +168,7 @@ void GraphicsFramebufferWidget::OnFramebufferWidthChanged(unsigned int new_value
} }
} }
void GraphicsFramebufferWidget::OnFramebufferHeightChanged(unsigned int new_value) void GraphicsFramebufferWidget::OnFramebufferHeightChanged(int new_value)
{ {
if (framebuffer_height != new_value) { if (framebuffer_height != new_value) {
framebuffer_height = new_value; framebuffer_height = new_value;

View File

@ -62,8 +62,8 @@ public:
public slots: public slots:
void OnFramebufferSourceChanged(int new_value); void OnFramebufferSourceChanged(int new_value);
void OnFramebufferAddressChanged(qint64 new_value); void OnFramebufferAddressChanged(qint64 new_value);
void OnFramebufferWidthChanged(unsigned int new_value); void OnFramebufferWidthChanged(int new_value);
void OnFramebufferHeightChanged(unsigned int new_value); void OnFramebufferHeightChanged(int new_value);
void OnFramebufferFormatChanged(int new_value); void OnFramebufferFormatChanged(int new_value);
void OnUpdate(); void OnUpdate();