mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 11:49:05 +02:00
D3D11: Implement basic screen rotation (90 degree is the only one fully implemented)
This commit is contained in:
1 parent
c02060594d
commit
4a98bd904e
6 files changed
+95
-61
No files matched your search
@@ -13,7 +13,6 @@ using namespace Windows::Storage::Streams;
|
||||
std::mutex initMutex;
|
||||
|
||||
StorageFileLoader::StorageFileLoader(Windows::Storage::StorageFile ^file) {
|
||||
initMutex.lock();
|
||||
file_ = file;
|
||||
path_ = FromPlatformString(file_->Path);
|
||||
thread_.reset(new std::thread([this]() { this->threadfunc(); }));
|
||||
@@ -61,13 +60,11 @@ void StorageFileLoader::threadfunc() {
|
||||
}
|
||||
catch (Platform::COMException ^e) {
|
||||
std::string what = FromPlatformString(e->ToString());
|
||||
ILOG("%s", what);
|
||||
ILOG("%s", what.c_str());
|
||||
}
|
||||
|
||||
initMutex.unlock();
|
||||
|
||||
initMutex.unlock();
|
||||
|
||||
std::unique_lock<std::mutex> lock(mutex_);
|
||||
while (active_) {
|
||||
if (!operationRequested_) {
|
||||
|
||||
Reference in new issue
Block a user