Commit Graph

2680 Commits

Author SHA1 Message Date
Unknown W. Brackets
14ef840dd3 Add a command line option to load a state.
For debugging.
2012-12-28 17:23:05 -08:00
Henrik Rydgård
90e3042b17 Change save state extension to ".ppst" 2012-12-28 23:43:09 +01:00
Unknown W. Brackets
94969c4ead Add some basic Windows UI for save states. 2012-12-28 13:55:32 -08:00
Unknown W. Brackets
3872753b8a Highlight changed regs in the Windows debugger. 2012-12-26 11:32:51 -08:00
Unknown W. Brackets
1d7a42f0b8 Add a button on Windows to enable HLE stepping. 2012-12-24 21:50:02 -08:00
Unknown W. Brackets
cd407dc84c In Windows, disable run/reset/pause when closed.
Saw this a lot while testing and couldn't help but fix it.
I know this is probably going away soon.
2012-12-23 23:56:49 -08:00
Unknown W. Brackets
5163745871 Switch the Windows RC file to UTF-16.
UTF-8 not supported, and the encoding got messed up.
This should keep it correct.

Contents not changed.
2012-12-23 23:43:57 -08:00
Unknown W. Brackets
ecffa492f6 Refactor Windows show log switch. 2012-12-22 09:54:07 -08:00
Unknown W. Brackets
7aa7640e87 Add -f switch for parody with Headless. 2012-12-22 09:49:59 -08:00
Unknown W. Brackets
7fb65a5997 Add a switch to Windows to save to a log file. 2012-12-22 09:49:29 -08:00
Unknown W. Brackets
d745bddc23 Enable a few command line switches on Windows. 2012-12-22 09:21:23 -08:00
Unknown W. Brackets
15793fe532 More minor static analysis warning fixes. 2012-12-21 17:00:47 -08:00
Unknown W. Brackets
217bdc275e Fix some type-conversion warnings. 2012-12-21 16:07:38 -08:00
Henrik Rydgård
b486ca1620 Merge pull request #215 from raven02/fast-mem
Quick add checkitem for option fast memory
2012-12-21 12:58:10 -08:00
raven02
88578cc525 Quick add checkitem for option fast memory 2012-12-22 00:49:53 +08:00
Henrik Rydgard
2ec8606fcb Flip Y axis for xinput 2012-12-21 17:13:00 +01:00
Henrik Rydgard
f5efd6f2b1 JIT: add option to enable/disable jit of memory instructions. for crash safety. 2012-12-21 16:50:13 +01:00
Henrik Rydgard
4bf2e52623 HW transform: Avoid 4x3 matrices for GLES 2.0 compat. Add option to turn hw transform on. 2012-12-21 11:08:54 +01:00
Henrik Rydgard
4046146164 Add experimental wireframe mode for debugging. Fix texenv color. Code cleanup. 2012-12-19 15:14:41 +01:00
Henrik Rydgård
a375dcb97c Merge pull request #195 from raven02/fs-fix
Quick viewport fix for fullscreen mode
2012-12-18 04:15:29 -08:00
raven02
478c5074e4 Quick viewport fix for fullscreen mode 2012-12-18 19:56:35 +08:00
Henrik Rydgard
624927cd9a Make the windows port find ppge_atlas in the assets subdirectory. 2012-12-17 22:24:07 +01:00
Henrik Rydgard
a60d487d8d Create files for sceUsb 2012-12-17 21:45:32 +01:00
Henrik Rydgard
11279668ca Allow changing of zoom factor at runtime 2012-12-17 21:06:47 +01:00
raven02
fb5a26b46d Enable correct viewport switching for screen 1x-4x and add Ctrl1-4 as shortcut key 2012-12-16 17:57:33 +08:00
Unknown W. Brackets
c55ee023e1 Add project Dialog filter, suppress some warnings. 2012-12-10 08:21:05 -08:00
TMaul
b7b40ba6d6 Make the flash filesystem a real directory
Not really needed yet, but it will be.
2012-12-09 23:32:44 +00:00
Henrik Rydgård
e724d82c46 Merge remote-tracking branch 'origin' into armjit
Conflicts:
	CMakeLists.txt
2012-12-09 09:54:58 +07:00
jacky400
8ce8400bae Update Windows/ppsspp.rc 2012-12-05 16:55:02 +08:00
jacky400
7c70a2048a Update Windows/ppsspp.rc 2012-12-05 14:40:13 +08:00
jacky400
284597582c Update Windows/WndMainWindow.h 2012-12-05 14:32:32 +08:00
jacky400
b49e053edd Update Windows/WndMainWindow.cpp 2012-12-05 14:31:41 +08:00
jacky400
a072fff4d4 Update Windows/WndMainWindow.cpp 2012-12-05 00:05:36 +08:00
Unknown W. Brackets
346095d5f0 SetWindowText() was doing ANSI conversion. 2012-12-03 07:57:28 -08:00
Unknown W. Brackets
ad59c7f46d Convert the title to wchars to fix non-ASCII. 2012-12-03 07:44:29 -08:00
jacky400
d91314d906 Update Windows/main.cpp
Increase windows scheduling resolution
2012-12-03 16:44:37 +08:00
Unknown W. Brackets
958fd29593 On Windows, separate analog and digital arrows.
This fixes the Tales of Eternia menu and movement.
2012-12-02 16:04:50 -08:00
Florent Castelli
952a937fe7 Revert changes in RC file that were breaking debug build on Windows.
If the build isn't working on VS Express, notify me so we can find a fix.
2012-12-02 03:00:36 +01:00
Henrik Rydgard
815c3240bc V4 2012-12-01 10:44:37 +01:00
Henrik Rydgard
a5e35ad6d9 Parse PARAM.SFO to get the disc ID, show in title bar on Windows 2012-11-30 22:32:51 +01:00
Henrik Rydgard
e370a1a8aa Fix project and .rc so it builds with VS 2010 Express, thanks Darth1701. Plus logging tweaks. 2012-11-29 10:41:48 +01:00
Henrik Rydgard
d8c92caad9 Safer matrix loading. Change default G3D log level from Notice to Error. 2012-11-26 18:04:34 +01:00
Henrik Rydgard
870ea6628b Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working). 2012-11-26 17:35:08 +01:00
Sacha
b76152d88a Use gl_common from native. 2012-11-26 20:38:39 +10:00
Unknown W. Brackets
063f914ff3 Fix project files so things build again. 2012-11-24 09:20:53 -08:00
Florent Castelli
56175bc505 Defer blend, cull and depth test changes to draw command
Avoid unnecessary state changes and reduces the amount of OpenGL calls.
It also puts all the interesting logic at the same place, reducing the
complexity a little.
2012-11-24 15:19:29 +01:00
Henrik Rydgard
265e70a498 Just some sketchwork on a JIT for ARM. When completed, will bring speed to mobile devices. 2012-11-23 19:41:35 +01:00
Henrik Rydgard
a97f66766d Add "slightly faster interpreter", optimizing the most common instrs. Not as helpful as I thought it would be on Android, really need a proper JIT. 2012-11-23 12:42:35 +01:00
Unknown W. Brackets
f41445354c Correct stdafx.h path in project file. 2012-11-22 13:21:48 -08:00
Diogo Franco (Kovensky)
6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Diogo Franco (Kovensky)
cd93e49584 Move toplevel windows-specific files to the Windows dir 2012-11-21 14:33:38 -03:00
Henrik Rydgard
45369af482 0.31 in the UI 2012-11-20 22:41:24 +01:00
Henrik Rydgård
2a56d36b12 glViewport calls need to be in pixel coordinates. 2012-11-20 16:48:24 +01:00
Henrik Rydgard
4c2929cf13 v0.3 2012-11-20 11:54:51 +01:00
Henrik Rydgard
4b87da74cb windows gui option for buffered rendering. Misc fixes, prettier checkbox on android. 2012-11-20 11:35:48 +01:00
Henrik Rydgard
91e1cce17e Some reorg in preparation for FBO work 2012-11-19 21:23:29 +01:00
Henrik Rydgard
e37a1fb1d3 Add internal 2D drawing library that goes through the Ge emulation for portability.
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Henrik Rydgard
7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00
Henrik Rydgard
9165c0b3a9 Add zoom setting to Windows version. Doesn't work while playing. 2012-11-17 17:46:05 +01:00
Henrik Rydgard
423bba5d8d Some optimization and minor fixes 2012-11-17 15:06:10 +01:00
Henrik Rydgard
e5c6cf965b Fixes and optimizations to vertex decoding and lighting.
Motorcycles are now visible in MotoGP.
2012-11-16 15:16:14 +01:00
Florent Castelli
65a89d08b8 Define XUSER_MAX_COUNT for those who don't have the DirectX SDK 2012-11-15 01:51:39 +01:00
Henrik Rydgard
8a8a4fa736 Fix the list of libraries for one more build type in the vcxproj 2012-11-14 12:56:55 +01:00
Henrik Rydgard
059bb3c40c Buildfix, bugfix. Fixes issue 46. 2012-11-13 20:10:48 +01:00
Unknown W. Brackets
6ea152e164 Add XInput.lib to other configurations.
Makes 64 bit etc. work as well.
2012-11-13 01:53:45 -08:00
Unknown W. Brackets
b468800155 Add XInput.lib to the Release configuration.
Was added to debug only, so Release doesn't build, preventing tests.
I think x64 is broken also.
2012-11-13 01:19:00 -08:00
Diogo Franco (Kovensky)
7e7e9a0452 Add a class for keyboard input
Removes the windows-specific hack from sceCtrl
to read keyboard input and instead add a hack to
PPSSPPWindows.

The input mapping is still hardcoded and is the same
as it was in sceCtrl.

Add an std::list to WindowsHost that, curretly, contains
a hardcoded list of preferred `InputDevice`s. Devices
are tried in-order until one of them reports success.
Xinput is preferred over Keyboard. Keyboard always
returns success. Pointers are stored in the std::list
for polymorphism.

Change XinputDevice to report failure as soon as a
device can't be queried, instead of only a frame later.
2012-11-12 17:49:40 +00:00
Diogo Franco (Kovensky)
2210b19244 Xinput input support
Picks the first Xinput device available, waits 100 frames between
retries when no devices are available.

Controls are hardcoded so every x360 controller button corresponds
to the PSP button in the same physical position. Input from right
stick and from analog triggers is ignored.

The Xinput code though is overriden by SampleControls' hardcoded
keyboard input. XinputDevice was tested to work with
samples/controller/basic when SampleControls is disabled.
2012-11-12 17:40:01 +00:00
Henrik Rydgard
54329ad560 Merge branch 'master' of github.com:hrydgard/ppsspp 2012-11-10 23:26:05 +01:00
Henrik Rydgard
6c160ee7fc 0.2 2012-11-10 16:39:42 +01:00
gigaherz
b45209c872 Normalize line endings in ppsspp.rc 2012-11-10 12:17:07 +01:00
Henrik Rydgard
387552f564 Misc fixes (accept .prx, work on power callbacks, bugs) 2012-11-10 10:15:11 +01:00
Henrik Rydgard
ac910d7e75 Fix Windows and Android builds. 2012-11-05 15:42:21 +01:00
Arthur Blot
5b5618d32d Added ~PSP decryption system using kirk-engine 2012-11-05 14:59:38 +01:00
Henrik Rydgård
c39d9a8397 Merge pull request #10 from xsacha/master
Blackberry 10 port (WIP)
2012-11-05 05:35:02 -08:00
Sacha
41f5abab31 PPSSPP ported to Blackberry10
Now builds on Playbook and Dev Alpha
Make emulator more compatible with other OS (case sensitivity, defines, includes)
Uses Android's code paths and backend
2012-11-05 23:09:49 +10:00
Henrik Rydgard
b963990449 Fix cancelled-boot crash on Windows 2012-11-05 13:42:33 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
907e2e2765 Add a missing file that gitignore caught 2012-11-04 21:06:39 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00