Commit 1b9788e8 authored by GnoStiC's avatar GnoStiC

puae 2.3.1

parent 2dd5ee19
......@@ -8,11 +8,14 @@
*/
#include <QtGui/QApplication>
#include <QtGui/QMessageBox>
#include <QThread>
#include "puae_bridge.h"
#include "puae_mainwindow.h"
//#include "ui_puae_mainwindow.h"
static unsigned int gui_available;
extern "C" {
#include "gui.h"
#include "options.h"
......@@ -79,6 +82,17 @@ void gui_display (int shortcut)
extern "C" void gui_message (const char *format,...)
{
char msg[2048];
va_list parms;
va_start (parms, format);
vsprintf (msg, format, parms);
va_end (parms);
if (gui_available)
QMessageBox::information(0, "PUAE", msg);
// write_log (msg);
}
void gui_fps (int fps, int idle)
......
......@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>PUAE 2.3.0</string>
<string>PUAE 2.3.1</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QWidget" name="horizontalLayoutWidget">
......@@ -168,7 +168,7 @@
<item>
<widget class="QTabWidget" name="tab_main">
<property name="currentIndex">
<number>5</number>
<number>4</number>
</property>
<widget class="QWidget" name="tab_about">
<attribute name="title">
......@@ -201,6 +201,12 @@
<height>25</height>
</rect>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -214,6 +220,12 @@
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>System ROMs:</string>
</property>
......@@ -925,7 +937,7 @@
<item>
<widget class="QTabWidget" name="tabWidget_2">
<property name="currentIndex">
<number>7</number>
<number>0</number>
</property>
<widget class="QWidget" name="tab_hw_cpu">
<attribute name="title">
......@@ -1083,7 +1095,7 @@
<x>5</x>
<y>250</y>
<width>160</width>
<height>135</height>
<height>130</height>
</rect>
</property>
<property name="title">
......@@ -1163,7 +1175,7 @@
<rect>
<x>170</x>
<y>1</y>
<width>346</width>
<width>340</width>
<height>141</height>
</rect>
</property>
......@@ -1282,9 +1294,9 @@
<property name="geometry">
<rect>
<x>170</x>
<y>255</y>
<width>346</width>
<height>131</height>
<y>250</y>
<width>340</width>
<height>130</height>
</rect>
</property>
<property name="title">
......@@ -1413,7 +1425,7 @@
<rect>
<x>170</x>
<y>160</y>
<width>346</width>
<width>340</width>
<height>80</height>
</rect>
</property>
......@@ -1674,7 +1686,7 @@
<rect>
<x>260</x>
<y>0</y>
<width>255</width>
<width>250</width>
<height>180</height>
</rect>
</property>
......@@ -1726,7 +1738,7 @@
<rect>
<x>5</x>
<y>191</y>
<width>506</width>
<width>505</width>
<height>75</height>
</rect>
</property>
......@@ -1854,7 +1866,7 @@
<rect>
<x>5</x>
<y>35</y>
<width>511</width>
<width>505</width>
<height>55</height>
</rect>
</property>
......@@ -1922,7 +1934,7 @@
<rect>
<x>5</x>
<y>95</y>
<width>511</width>
<width>505</width>
<height>50</height>
</rect>
</property>
......@@ -2417,7 +2429,7 @@
<rect>
<x>5</x>
<y>25</y>
<width>511</width>
<width>505</width>
<height>160</height>
</rect>
</property>
......@@ -2534,7 +2546,7 @@
<rect>
<x>5</x>
<y>210</y>
<width>511</width>
<width>505</width>
<height>135</height>
</rect>
</property>
......@@ -2624,7 +2636,7 @@
<rect>
<x>5</x>
<y>20</y>
<width>511</width>
<width>505</width>
<height>110</height>
</rect>
</property>
......@@ -2808,7 +2820,7 @@
<rect>
<x>5</x>
<y>155</y>
<width>511</width>
<width>505</width>
<height>110</height>
</rect>
</property>
......@@ -2920,7 +2932,7 @@
<rect>
<x>5</x>
<y>304</y>
<width>511</width>
<width>505</width>
<height>80</height>
</rect>
</property>
......@@ -3017,7 +3029,7 @@
<rect>
<x>5</x>
<y>249</y>
<width>511</width>
<width>505</width>
<height>46</height>
</rect>
</property>
......@@ -3028,9 +3040,9 @@
<property name="geometry">
<rect>
<x>322</x>
<y>15</y>
<y>20</y>
<width>176</width>
<height>25</height>
<height>20</height>
</rect>
</property>
<property name="text">
......@@ -3063,7 +3075,7 @@
<widget class="QPushButton" name="IDC_DF0">
<property name="geometry">
<rect>
<x>489</x>
<x>480</x>
<y>5</y>
<width>25</width>
<height>26</height>
......@@ -3217,7 +3229,7 @@
<widget class="QPushButton" name="IDC_DF1">
<property name="geometry">
<rect>
<x>489</x>
<x>480</x>
<y>65</y>
<width>25</width>
<height>26</height>
......@@ -3269,7 +3281,7 @@
<widget class="QPushButton" name="IDC_DF3">
<property name="geometry">
<rect>
<x>491</x>
<x>480</x>
<y>185</y>
<width>25</width>
<height>26</height>
......@@ -3356,7 +3368,7 @@
<widget class="QComboBox" name="IDC_DF2TEXT">
<property name="geometry">
<rect>
<x>7</x>
<x>5</x>
<y>155</y>
<width>510</width>
<height>25</height>
......@@ -3401,7 +3413,7 @@
<widget class="QPushButton" name="IDC_DF2">
<property name="geometry">
<rect>
<x>491</x>
<x>480</x>
<y>125</y>
<width>25</width>
<height>26</height>
......@@ -3427,7 +3439,7 @@
<widget class="QComboBox" name="IDC_DF3TEXT">
<property name="geometry">
<rect>
<x>7</x>
<x>5</x>
<y>215</y>
<width>510</width>
<height>25</height>
......@@ -3457,7 +3469,7 @@
<rect>
<x>5</x>
<y>5</y>
<width>511</width>
<width>505</width>
<height>192</height>
</rect>
</property>
......@@ -3635,9 +3647,9 @@
<widget class="QPushButton" name="IDC_REMOVE">
<property name="geometry">
<rect>
<x>430</x>
<x>424</x>
<y>310</y>
<width>80</width>
<width>86</width>
<height>26</height>
</rect>
</property>
......@@ -3648,9 +3660,9 @@
<widget class="QPushButton" name="IDC_EDIT">
<property name="geometry">
<rect>
<x>430</x>
<x>424</x>
<y>335</y>
<width>80</width>
<width>86</width>
<height>26</height>
</rect>
</property>
......@@ -3668,7 +3680,7 @@
<rect>
<x>5</x>
<y>15</y>
<width>510</width>
<width>505</width>
<height>221</height>
</rect>
</property>
......@@ -3920,7 +3932,7 @@
<rect>
<x>220</x>
<y>265</y>
<width>296</width>
<width>290</width>
<height>100</height>
</rect>
</property>
......@@ -3932,7 +3944,7 @@
<rect>
<x>15</x>
<y>20</y>
<width>171</width>
<width>140</width>
<height>21</height>
</rect>
</property>
......@@ -3992,7 +4004,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>526</width>
<width>648</width>
<height>416</height>
</rect>
</property>
......@@ -4000,7 +4012,7 @@
<item>
<widget class="QTabWidget" name="tab_host_main">
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="tab_host_display">
<attribute name="title">
......@@ -4022,7 +4034,7 @@
<property name="geometry">
<rect>
<x>100</x>
<y>15</y>
<y>20</y>
<width>396</width>
<height>25</height>
</rect>
......@@ -4089,7 +4101,7 @@
<x>100</x>
<y>80</y>
<width>76</width>
<height>25</height>
<height>20</height>
</rect>
</property>
</widget>
......@@ -4099,7 +4111,7 @@
<x>190</x>
<y>80</y>
<width>76</width>
<height>25</height>
<height>20</height>
</rect>
</property>
</widget>
......@@ -4146,7 +4158,7 @@
<property name="geometry">
<rect>
<x>205</x>
<y>15</y>
<y>20</y>
<width>181</width>
<height>25</height>
</rect>
......@@ -4181,7 +4193,7 @@
<property name="geometry">
<rect>
<x>115</x>
<y>20</y>
<y>25</y>
<width>86</width>
<height>15</height>
</rect>
......@@ -4194,7 +4206,7 @@
<property name="geometry">
<rect>
<x>205</x>
<y>40</y>
<y>45</y>
<width>181</width>
<height>25</height>
</rect>
......@@ -4204,7 +4216,7 @@
<property name="geometry">
<rect>
<x>130</x>
<y>45</y>
<y>50</y>
<width>86</width>
<height>15</height>
</rect>
......@@ -4325,7 +4337,7 @@
<x>270</x>
<y>155</y>
<width>113</width>
<height>25</height>
<height>20</height>
</rect>
</property>
</widget>
......@@ -4348,7 +4360,7 @@
<x>342</x>
<y>185</y>
<width>41</width>
<height>25</height>
<height>20</height>
</rect>
</property>
</widget>
......@@ -4648,9 +4660,9 @@
<property name="geometry">
<rect>
<x>225</x>
<y>15</y>
<y>20</y>
<width>61</width>
<height>25</height>
<height>20</height>
</rect>
</property>
</widget>
......@@ -4693,9 +4705,9 @@
<property name="geometry">
<rect>
<x>225</x>
<y>15</y>
<y>20</y>
<width>61</width>
<height>25</height>
<height>20</height>
</rect>
</property>
</widget>
......@@ -6189,7 +6201,7 @@
<x>0</x>
<y>0</y>
<width>703</width>
<height>23</height>
<height>22</height>
</rect>
</property>
</widget>
......
......@@ -59,7 +59,7 @@ int p96hack_vpos, p96hack_vpos2, p96refresh_active;
#define NOBLITTER 0
#define NOBLITTER_BLIT 0
#define USE_HARDWARESPRITE 1
#define P96TRACING_ENABLED 1
#define P96TRACING_ENABLED 0
#define P96SPRTRACING_ENABLED 0
static int hwsprite = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment